Device Settings HAL 0.2.0
 
Loading...
Searching...
No Matches
dsTypes.h
Go to the documentation of this file.
1/*
2 * If not stated otherwise in this file or this component's LICENSE file the
3 * following copyright and licenses apply:
4 *
5 * Copyright 2016 RDK Management
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18*/
19
20
21/**
22 * @addtogroup HPK Hardware Porting Kit
23 * @{
24 * @par The Hardware Porting Kit
25 * HPK is the next evolution of the well-defined Hardware Abstraction Layer
26 * (HAL), but augmented with more comprehensive documentation and test suites
27 * that OEM or SOC vendors can use to self-certify their ports before taking
28 * them to RDKM for validation or to an operator for final integration and
29 * deployment. The Hardware Porting Kit effectively enables an OEM and/or SOC
30 * vendor to self-certify their own Video Accelerator devices, with minimal RDKM
31 * assistance.
32 *
33 */
34
35/**
36 * @addtogroup Device_Settings Device Settings Module
37 * @{
38 */
39
40/**
41 * @addtogroup Device_Settings_HAL Device Settings HAL
42 * @{
43 */
44
45/**
46* @defgroup DSHAL_TYPES_H DS Types Header
47 * @{
48 *
49 */
50
51/**
52 * @file dsTypes.h
53 *
54 * @brief HAL types.
55 *
56 * @brief This API defines common types used by the HAL.
57 *
58 * @par Document
59 * Document reference.
60 *
61 * @par Open Issues (in no particular order)
62 * -# None
63 *
64 * @par Assumptions
65 * -# None
66 *
67 * @par Abbreviations
68 * - BE: Big-Endian.
69 * - cb: Callback function (suffix).
70 * - DS: Device Settings.
71 * - FPD: Front-Panel Display.
72 * - HAL: Hardware Abstraction Layer.
73 * - LE: Little-Endian.
74 * - LS: Least Significant.
75 * - MBZ: Must be zero.
76 * - MS: Most Significant.
77 * - RDK: Reference Design Kit.
78 * - _t: Type (suffix).
79 *
80 * @par Implementation Notes
81 * -# None
82 *
83 */
84
85#ifndef _DS_TYPES_H_
86#define _DS_TYPES_H_
87
88#include <sys/types.h>
89#include <stdint.h>
90#include <stdbool.h>
91
92#define dsAUDIOPORT_TYPE_NUM_MAX 4 /**< Maximum number of audio output port types. */
93#define dsAudioPORT_NUM_MAX 4 /**< Maximum number of audio output ports. */
94
95/**
96 * @brief This enumeration defines the audio port types.
97 * @see dsAudioType_isValid
98 */
99typedef enum _dsAudioPortType_t{
100 dsAUDIOPORT_TYPE_ID_LR, ///< RCA audio output
101 dsAUDIOPORT_TYPE_HDMI, ///< HDMI audio output
102 dsAUDIOPORT_TYPE_SPDIF, ///< SPDIF audio output
103 dsAUDIOPORT_TYPE_SPEAKER, ///< SPEAKER audio output
104 dsAUDIOPORT_TYPE_HDMI_ARC, ///< HDMI ARC/EARC audio output
105 dsAUDIOPORT_TYPE_HEADPHONE, ///< Headphone jack
106 dsAUDIOPORT_TYPE_MAX ///< Out of range
108
109/**
110 * @brief Audio output port type validation check.
111 * @see dsAudioPortType_t
112 */
113#define dsAudioType_isValid(t) (((t) >= dsAUDIOPORT_TYPE_ID_LR ) && ((t) < dsAUDIOPORT_TYPE_MAX))
114
115/**
116 * @brief This enumeration defines the audio encoding types
117 * @see dsAudioEncoding_isValid
118 */
120 dsAUDIO_ENC_NONE = 0, ///< No digital audio output
121 dsAUDIO_ENC_DISPLAY, ///< Platform-selected digital audio encoding format
122 dsAUDIO_ENC_PCM, ///< PCM digital audio encoding format
123 dsAUDIO_ENC_AC3, ///< AC-3 digital audio encoding format
124 dsAUDIO_ENC_EAC3, ///< DD+/E-AC-3 digital audio encoding format
125 dsAUDIO_ENC_MAX ///< Out of range
127
128/**
129 * @brief Audio encoding type validation check.
130 * @see dsAudioEncoding_t
131 */
132#define dsAudioEncoding_isValid(t) (((t) >= dsAUDIO_ENC_NONE ) && ((t) < dsAUDIO_ENC_MAX))
133
134/**
135 * @brief This enumeration defines the type of audio compression.
136 * @see dsAudioCompression_isValid
137 */
139 dsAUDIO_CMP_NONE, ///< No audio compression.
140 dsAUDIO_CMP_LIGHT, ///< Light audio level compression.
141 dsAUDIO_CMP_MEDIUM, ///< Medium audio level compression.
142 dsAUDIO_CMP_HEAVY, ///< Heavy audio level compression.
143 dsAUDIO_CMP_MAX ///< Out of range
145
146/**
147 * @brief This enumeration defines the type of audio format
148 */
149typedef enum _dsAudioFormat_t {
150 dsAUDIO_FORMAT_NONE, ///< No audio format
151 dsAUDIO_FORMAT_PCM, ///< Pulse-code Modulation audio format
152 dsAUDIO_FORMAT_DOLBY_AC3, ///< Audio Compression 3 audio format
153 dsAUDIO_FORMAT_DOLBY_EAC3, ///< Enhance Audio Compression 3 audio format
154 dsAUDIO_FORMAT_DOLBY_AC4, ///< Audio Compression 4 audio format
155 dsAUDIO_FORMAT_DOLBY_MAT, ///< Metadata-enhanced Audio Transmission audio format
156 dsAUDIO_FORMAT_DOLBY_TRUEHD, ///< Dolby TrueHD audio format
157 dsAUDIO_FORMAT_DOLBY_EAC3_ATMOS, ///< Audio Compression 3 Dolby Atmos audio format
158 dsAUDIO_FORMAT_DOLBY_TRUEHD_ATMOS, ///< Dolby TrueHD Dolby Atmos audio format
159 dsAUDIO_FORMAT_DOLBY_MAT_ATMOS, ///< Metadata-enhanced Audio Transmission Dolby Atmos audio format
160 dsAUDIO_FORMAT_DOLBY_AC4_ATMOS, ///< Audio Compression 4 Dolby Atmos audio format
161 dsAUDIO_FORMAT_AAC, ///< Advanced Audio Coding
162 dsAUDIO_FORMAT_VORBIS, ///< Vorbis sound audio format
163 dsAUDIO_FORMAT_WMA, ///< Windows Media audio format
164 dsAUDIO_FORMAT_UNKNOWN, ///< Unknown audio format
165 dsAUDIO_FORMAT_MAX ///< Out of range
167
168/**
169 * @brief This enumeration defines the type of audio ducking action.
170 */
175
176/**
177 * @brief This enumeration defines the type of audio ducking type.
178 */
180 dsAUDIO_DUCKINGTYPE_ABSOLUTE, ///< Audio ducking absolute
181 dsAUDIO_DUCKINGTYPE_RELATIVE, ///< Audio ducking relative
183
184/**
185 * @brief This defines the type of audio compression that can be used.
186 */
188
189/**
190 * @brief This defines the type of dialog enhancer level that can be used.
191 */
193
194/**
195 * @brief This defines the type of dialog enhancer level that can be used.
196 */
198
199
200/**
201 * @brief Enumeration defines all of the supported Audio types.
202 * Each bit of uint32_t represent a standard.
203 * If a device supports multiple standards, the capability is the bitwise OR
204 * of the standards.
205 */
207 dsAUDIOSUPPORT_NONE = 0x0, ///< None
208 dsAUDIOSUPPORT_ATMOS = 0x01, ///< Dolby Atmos
209 dsAUDIOSUPPORT_DD = 0x02, ///< Dolby Digitial
210 dsAUDIOSUPPORT_DDPLUS = 0x04, ///< Dolby Digital Plus
211 dsAUDIOSUPPORT_DAD = 0x08, ///< Digital Audio Delivery
212 dsAUDIOSUPPORT_DAPv2 = 0x10, ///< Digital Audio Processing version 2
213 dsAUDIOSUPPORT_MS12 = 0x20, ///< Multi Stream 12
214 dsAUDIOSUPPORT_MS12V2 = 0x40, ///< Multi Stream Version 2
215 dsAUDIOSUPPORT_Invalid = 0x80, ///< Invalid
217
218/**
219 * @brief Enumeration defines all of the supported Arc types.
220 * Each bit of uint32_t represent an ARC support type.
221 * If a device multiple ARC types support, it's represented as bitwise OR
222 * of the types.
223 */
224typedef enum _dsAudioARCTypes_t {
225 dsAUDIOARCSUPPORT_NONE = 0x0, ///< None
226 dsAUDIOARCSUPPORT_ARC = 0x01, ///< Audio Return Channel
227 dsAUDIOARCSUPPORT_eARC = 0x02, ///< Enhanced Audio Return Channel
229
230/**
231 * @brief Max values for SADs.
232 */
233#define MAX_SAD 15
234
235/**
236 * @brief Structure that holds Short Audio Descriptors retrieved from
237 * connected ARC device
238 */
239typedef struct _dsAudioSADList_t {
240 int sad[MAX_SAD]; ///< Array of SADs
241 int count; ///< Amount of items in SAD array
243
244/**
245 * @brief Structure that holds ARC status for the HDMI ARC/EARC port.
246 */
247typedef struct _dsAudioARCStatus_t {
248 dsAudioARCTypes_t type; ///< ARC type
249 bool status; ///< Enabled ARC status for the port
251
252/**
253 * @brief Enumeration defines all of the supported MS12 types.
254 * Each bit of uint32_t represent a standard.
255 * If a device supports multiple standards, the capability is the bitwise OR
256 * of the standards.
257 */
259 dsMS12SUPPORT_NONE = 0x0, ///< MS12 Supported None
260 dsMS12SUPPORT_DolbyVolume = 0x01, ///< MS12 supported Dolby Volume
261 dsMS12SUPPORT_InteligentEqualizer = 0x02, ///< MS12 supported Intelligent Equalizer
262 dsMS12SUPPORT_DialogueEnhancer = 0x04, ///< MS12 Dialogue Enhancer supported
263 dsMS12SUPPORT_Invalid = 0x80 ///< Invalid / Out of range
265
266/**
267 * This defines the type of audio compression that can be used.
268 */
269typedef int dsAudioCompressionValue_t;
270
271/**
272 * @brief Structure that captures MS12 Audio Profile list
273 */
274#define MAX_PROFILE_LIST_BUFFER_LEN 1024
276 char audioProfileList[MAX_PROFILE_LIST_BUFFER_LEN]; ///< buffer containing the list of comma separated audio profile names for menu list
277 ///< (e.g: "Music,Movie,Voice,Night")
278 int audioProfileCount; ///< Total number of profiles
280
281/**
282 * This defines the type of dialog enhancer level that can be used.
283 */
284typedef int dsDialogEnhancer_t;
285
286/**
287 * This defines the type of dialog enhancer level that can be used.
288 */
290
291/**
292 * @brief This defines the type of volume leveller mode.
293 */
294typedef struct _dsVolumeLeveller_t {
295 int mode; ///< 0 = off, 1 = on, 2 = auto
296 int level; ///< Value for the volume leveller. From 0 to 10
298
299/**
300 * @brief This defines the type of surround virtualizer mode.
301 */
303 int mode; ///< 0 = off, 1 = on, 2 = auto
304 int boost; ///< Value for the boost level. From 0 to 96
306
307/**
308 * @brief Audio compression type validation check.
309 * @see dsAudioCompression_t
310 */
311#define dsAudioCompression_isValid(t) (((t) >= dsAUDIO_CMP_NONE ) && ((t) < dsAUDIO_CMP_MAX))
312
313/**
314 * @brief This enumeration defines the type of audio stereo mode.
315 * @see dsAudioStereoMode_isValid
316 */
317typedef enum StereoMode{
318 dsAUDIO_STEREO_UNKNOWN, ///< Stereo mode none
319 dsAUDIO_STEREO_MONO = 1, ///< Mono mode
320 dsAUDIO_STEREO_STEREO, ///< Normal stereo mode (L+R)
321 dsAUDIO_STEREO_SURROUND, ///< Surround mode
322 dsAUDIO_STEREO_PASSTHRU, ///< Passthrough mode
323 dsAUDIO_STEREO_DD, ///< Dolby Digital
324 dsAUDIO_STEREO_DDPLUS, ///< Dolby Digital Plus
325 dsAUDIO_STEREO_MAX ///< Out of range
327
328/**
329 * @brief This enumeration defines ATMOS protocol version types
330 */
332 dsAUDIO_ATMOS_NOTSUPPORTED= 0, ///< ATMOS audio not supported
333 dsAUDIO_ATMOS_DDPLUSSTREAM, ///< can handle dd plus stream which is only way to pass ATMOS metadata
334 dsAUDIO_ATMOS_ATMOSMETADATA, ///< capable of parsing ATMOS metadata
336
337/**
338 * @brief Audio stereo mode type validation check.
339 * @see dsAudioStereoMode_t
340 */
341#define dsAudioStereoMode_isValid(t) (((t) >= dsAUDIO_STEREO_UNKNOWN ) && ((t) < dsAUDIO_STEREO_MAX))
342
343/**
344 * @brief This enumeration defines HDCP protocol version types
345 */
347 dsHDCP_VERSION_1X = 0, ///< HDCP Protocol version 1.x
348 dsHDCP_VERSION_2X, ///< HDCP Protocol version 2.x
349 dsHDCP_VERSION_MAX ///< Out of range
351
352/**
353 * @brief This enumeration defines all HDCP Authentication Status
354 * @see dsHdcpStatus_isValid
355 */
356typedef enum _dsHdcpStatus_t {
357 dsHDCP_STATUS_UNPOWERED = 0, ///< Connected Sink Device does not support HDCP
358 dsHDCP_STATUS_UNAUTHENTICATED, ///< HDCP Authentication Process is not initiated
359 dsHDCP_STATUS_AUTHENTICATED, ///< HDCP Authentication Process is initiated and Passed
360 dsHDCP_STATUS_AUTHENTICATIONFAILURE, ///< HDCP Authentication Failure or Link Integroty Failure
361 dsHDCP_STATUS_INPROGRESS, ///< HDCP Authentication in Progress
362 dsHDCP_STATUS_PORTDISABLED, ///< HDMI output port disabled
363 dsHDCP_STATUS_MAX ///< Out of range
365
366/**
367 * @brief HDCP status validation check.
368 * @see dsHdcpStatus_t
369 */
370#define dsHdcpStatus_isValid(t) (((t) >= dsHDCP_STATUS_UNPOWERED ) && ((t) < dsHDCP_STATUS_MAX))
371
372/**
373 * @brief This enumeration defines all of the standard type of Video ports.
374 *
375 * @see dsVideoPortType_isValid
376 * @note also used in @link dsDisplay.h @endlink
377 */
378typedef enum _dsVideoPortType_t {
379 dsVIDEOPORT_TYPE_RF = 0, ///< RF modulator (channel 3/4) video output
380 dsVIDEOPORT_TYPE_BB, ///< Baseband (composite, RCA) video output
381 dsVIDEOPORT_TYPE_SVIDEO, ///< S-Video video output
382 dsVIDEOPORT_TYPE_1394, ///< IEEE 1394 (Firewire) video output
383 dsVIDEOPORT_TYPE_DVI, ///< DVI (Panel-Link, HDCP) video output
384 dsVIDEOPORT_TYPE_COMPONENT, ///< Component video output
385 dsVIDEOPORT_TYPE_HDMI, ///< HDMI video output
386 dsVIDEOPORT_TYPE_HDMI_INPUT, ///< HDMI video input
387 dsVIDEOPORT_TYPE_INTERNAL, ///< Internal (integrated/internal display) video output
388 dsVIDEOPORT_TYPE_SCART, ///< SCART video output.
389 dsVIDEOPORT_TYPE_MAX ///< Out of range
391
392/**
393 * @brief Video output port type validation check.
394 * @see dsVideoPortType_t
395 */
396#define dsVideoPortType_isValid(t) (((t) >= dsVIDEOPORT_TYPE_RF ) && ((t) < dsVIDEOPORT_TYPE_MAX))
397
398/**
399 * @brief This enumeration defines all of the standard video port resolutions.
400 * @see dsVideoPortPixelResolution_isValid
401 */
403 dsVIDEO_PIXELRES_720x480, ///< 720x480 Resolution
404 dsVIDEO_PIXELRES_720x576, ///< 720x576 Resolution
405 dsVIDEO_PIXELRES_1280x720, ///< 1280x720 Resolution
406 dsVIDEO_PIXELRES_1920x1080, ///< 1920x1080 Resolution
407 dsVIDEO_PIXELRES_3840x2160, ///< 3840x2160 Resolution
408 dsVIDEO_PIXELRES_4096x2160, ///< 3840x2160 Resolution
409 dsVIDEO_PIXELRES_MAX ///< Out of range
411
412/**
413 * @brief This enumeration defines all of the standard TV
414 * supported resolution with interlace information.
415 */
416typedef enum _dsTVResolution_t{
417 dsTV_RESOLUTION_480i = 0x00001, ///< 480i Resolution
418 dsTV_RESOLUTION_480p = 0x00002, ///< 480p Resolution
419 dsTV_RESOLUTION_576i = 0x00004, ///< 576i Resolution
420 dsTV_RESOLUTION_576p = 0x00008, ///< 576p Resolution
421 dsTV_RESOLUTION_576p50 = 0x00010, ///< 576p50 Resolution
422 dsTV_RESOLUTION_720p = 0x00020, ///< 720p Resolution
423 dsTV_RESOLUTION_720p50 = 0x00040, ///< 720p50 Resolution
424 dsTV_RESOLUTION_1080i = 0x00080, ///< 1080i Resolution
425 dsTV_RESOLUTION_1080p = 0x00100, ///< 1080p Resolution
426 dsTV_RESOLUTION_1080p24 = 0x00200, ///< 1080p24 Resolution
427 dsTV_RESOLUTION_1080i25 = 0x00400, ///< 1080i25 Resolution
428 dsTV_RESOLUTION_1080p30 = 0x00800, ///< 1080p30 Resolution
429 dsTV_RESOLUTION_1080i50 = 0x01000, ///< 1080i50 Resolution
430 dsTV_RESOLUTION_1080p50 = 0x02000, ///< 1080p50 Resolution
431 dsTV_RESOLUTION_1080p60 = 0x04000, ///< 1080p60 Resolution
432 dsTV_RESOLUTION_2160p30 = 0x08000, ///< 2160p30 Resolution
433 dsTV_RESOLUTION_2160p50 = 0x10000, ///< 2160p50 Resolution
434 dsTV_RESOLUTION_2160p60 = 0x20000, ///< 2160p60 Resolution
436
437/**
438 * @brief Video output resolutions type validation check.
439 * @see dsVideoResolution_t
440 */
441#define dsVideoPortPixelResolution_isValid(t) (((t) >= dsVIDEO_PIXELRES_720x480 ) && ((t) < dsVIDEO_PIXELRES_MAX))
442
443/**
444 * @brief This enumeration defines all of the standard frame rates at which video may be played out of the video port.
445 * @see dsVideoPortFrameRate_isValid
446 * @note Also used in @link dsVideoDevice.h @endlink
447 */
449 dsVIDEO_FRAMERATE_UNKNOWN, ///< Unknown frame rate
450 dsVIDEO_FRAMERATE_24, ///< Played at 24 frames per second
451 dsVIDEO_FRAMERATE_25, ///< Played at 25 frames per second
452 dsVIDEO_FRAMERATE_30, ///< Played at 30 frames per second
453 dsVIDEO_FRAMERATE_60, ///< Played at 60 frames per second
454 dsVIDEO_FRAMERATE_23dot98, ///< Played at 23.98 frames per second
455 dsVIDEO_FRAMERATE_29dot97, ///< Played at 29.97 frames per second
456 dsVIDEO_FRAMERATE_50, ///< Played at 50 frames per second
457 dsVIDEO_FRAMERATE_59dot94, ///< Played at 59.94 frames per second
458 dsVIDEO_FRAMERATE_MAX ///< Out of range
460
461/**
462 * @brief Video output framerate validation check.
463 * @see dsVideoFrameRate_t
464 */
465#define dsVideoPortFrameRate_isValid(t) (((t) >= dsVIDEO_FRAMERATE_UNKNOWN ) && ((t) < dsVIDEO_FRAMERATE_MAX))
466
467/**
468 * @brief This enumeration defines all of the standard video port scan modes.
469 * @see dsVideoPortScanMode_isValid
470 */
472 dsVIDEO_SCANMODE_INTERLACED, ///< Interlaced video
473 dsVIDEO_SCANMODE_PROGRESSIVE, ///< Progressive video
474 dsVIDEO_SCANMODE_MAX ///< Out of range
476
477/**
478 * @brief This enumeration defines background color for video port.
479 */
481 dsVIDEO_BGCOLOR_BLUE, ///< Background color BLUE
482 dsVIDEO_BGCOLOR_BLACK, ///< Background color BLACK
483 dsVIDEO_BGCOLOR_NONE, ///< Background color NONE
484 dsVIDEO_BGCOLOR_MAX ///< Out of range
486
487/**
488 * @brief Video scan mode type validation check.
489 * @see dsVideoScanMode_t
490 */
491#define dsVideoPortScanMode_isValid(t) (((t) >= dsVIDEO_SCANMODE_INTERLACED ) && ((t) < dsVIDEO_SCANMODE_MAX))
492
493/**
494 * @brief This enumeration defines all of the standard video aspect ratios.
495 * @see dsVideoPortAspectRatio_isValid
496 * @note also used in @link dsDisplay.h @endlink
497 */
499 dsVIDEO_ASPECT_RATIO_4x3, ///< 4:3 aspect ratio
500 dsVIDEO_ASPECT_RATIO_16x9, ///< 16:9 aspect ratio
501 dsVIDEO_ASPECT_RATIO_MAX ///< Out of range
503
504/**
505 * @brief Video aspect ratio type validation check.
506 * @see dsVideoAspectRatio_t
507 */
508#define dsVideoPortAspectRatio_isValid(t) (((t) >= dsVIDEO_ASPECT_RATIO_4x3 ) && ((t) < dsVIDEO_ASPECT_RATIO_MAX))
509
510/**
511 * @brief This enumeration defines all of the standard video Stereo Scopic modes.
512 * @see dsVideoPortStereoScopicMode_isValid
513 */
515 dsVIDEO_SSMODE_UNKNOWN = 0, ///< Unknown mode
516 dsVIDEO_SSMODE_2D, ///< 2D mode
517 dsVIDEO_SSMODE_3D_SIDE_BY_SIDE, ///< 3D side by side (L/R) stereo mode
518 dsVIDEO_SSMODE_3D_TOP_AND_BOTTOM, ///< 3D top & bottom stereo mode
519 dsVIDEO_SSMODE_MAX ///< Out of range
521
522/**
523 * @brief Video Stereo Scopic modes type validation check.
524 * @see dsVideoStereoScopicMode_t
525 */
526#define dsVideoPortStereoScopicMode_isValid(t) (((t) >= dsVIDEO_SSMODE_UNKNOWN ) && ((t) < dsVIDEO_SSMODE_MAX))
527
528/**
529 * @brief This enumeration defines all of the standard screen zoom (format conversion) modes.
530 * @note also used @link dsHdmiIn.h @endlink
531 */
532typedef enum _dsVideoZoom_t {
533 dsVIDEO_ZOOM_UNKNOWN = -1, /*!< Unknown mode */
534 dsVIDEO_ZOOM_NONE = 0, /*!< Decoder format conversion is inactive */
535 dsVIDEO_ZOOM_FULL, /*!< Full screen (16:9 video is streched to fit 4:3 frame) */
536 dsVIDEO_ZOOM_LB_16_9, /*!< 16:9 Letterbox (16:9 video is placed in a 4:3 frame with a full letterbox effect) */
537 dsVIDEO_ZOOM_LB_14_9, /*!< 14:9 Letterbox (16:9 video is transferred into a 4:3 frame with 14:9 */
538 /*!< letterbox effect) */
539 dsVIDEO_ZOOM_CCO, /*!< Center Cut-out (16:9 video is cut to fill 4:3 frame with its center part) */
540 dsVIDEO_ZOOM_PAN_SCAN, /*!< Pan & Scan (16:9 is cut and panned to fille 4:3 frame, following MPEG pan & scan vectors) */
541 dsVIDEO_ZOOM_LB_2_21_1_ON_4_3, /*!< 2.21:1 Letterbox on 4:3 (video is transferred into 4:3 frame with a 2.21:1 letterbox effect) */
542 dsVIDEO_ZOOM_LB_2_21_1_ON_16_9, /*!< 2.21:1 Letterbox on 16:9 (video is transferred into 16:9 frame with a 2.21:1 letterbox effect) */
543 dsVIDEO_ZOOM_PLATFORM, /*!< Control over the decoder format conversions is managed by the platform */
544 dsVIDEO_ZOOM_16_9_ZOOM, /*!< 16:9 Zoom (4:3 video is zoomed to fill 16:9 frame) */
545 dsVIDEO_ZOOM_PILLARBOX_4_3, /*!< Pillarbox 4:3 (4:3 video is placed in a 16:9 frame with a pillarbox effect) */
546 dsVIDEO_ZOOM_WIDE_4_3, /*!< Wide 4:3 (4:3 video is stretched to fill 16:9 frame) */
547 dsVIDEO_ZOOM_MAX /*!< Out of range */
549
550/**
551 * @brief Video screen zoom validation check
552 */
553#define dsVideoPortDFC_isValid(t) (((t) >= dsVIDEO_ZOOM_NONE ) && ((t) < dsVIDEO_ZOOM_MAX))
554
555/**
556 * @brief Structure that defines video device configuration for the output
557 */
558typedef struct _dsVideoConfig_t {
559 size_t numSupportedDFCs; /*!< Number of zoom modes supported */
560 const dsVideoZoom_t *supportedDFCs; /*!< List of zoom modes supported */
561 dsVideoZoom_t defaultDFC; /*!< The default zoom mode */
563
564/**
565 * @brief Structure that defines audio output device configuration.
566 */
567typedef struct _dsAudioTypeConfig_t {
568 int32_t typeId; ///< The audio output type
569 const char *name; ///< Name of the audio output device
570 size_t numSupportedCompressions; ///< Number of supported audio compression methods
571 const dsAudioCompression_t *compressions; ///< List of audio compression methods supported
572 size_t numSupportedEncodings; ///< Number of supported audio encodings
573 const dsAudioEncoding_t *encodings; ///< List of audio encodings supported
574 size_t numSupportedStereoModes; ///< Number of supported stereo modes
575 const dsAudioStereoMode_t *stereoModes; ///< List of stereo modes supported
577
578/**
579 * @brief Structure that defines video port resolution settings of output video device.
580 * @note also used in @link dsHdmiIn.h @endlink
581 */
583 char name[32]; ///< Name the resolution
584 dsVideoResolution_t pixelResolution; ///< The resolution associated with the name
585 dsVideoAspectRatio_t aspectRatio; ///< The associated aspect ratio
586 dsVideoStereoScopicMode_t stereoScopicMode; ///< The associated stereoscopic mode
587 dsVideoFrameRate_t frameRate; ///< The associated frame rate
588 bool interlaced; ///< The associated scan mode( @a true if interlaced, @a false if progressive )
590
591/**
592 * @brief Structure that defines the audio port type and associated ID.
593 */
594typedef struct _dsAudioPortId_t {
595 dsAudioPortType_t type; ///< Audio port type
596 int32_t index; ///< Port ID/number
598
599/**
600 * @brief Structure that defines port id associated with video port.
601 */
602typedef struct _dsVideoPortPortId_t {
603 dsVideoPortType_t type; ///< Video port type
604 int32_t index; ///< Port ID/number
606
607/**
608 * @brief Structure that defines the video output port configuration.
609 */
611 dsVideoPortType_t typeId; ///< The video output type
612 const char *name; ///< Name of the video output port
613 bool dtcpSupported; ///< Is DTCP supported?
614 bool hdcpSupported; ///< Is HDCP supported?
615 int32_t restrictedResollution; ///< Any restricted resolution; -1 if no.
616 size_t numSupportedResolutions; ///< Number of supported resolutions
617 dsVideoPortResolution_t *supportedResolutions; ///< List of supported resolutions
619
620/**
621 * @brief Max Key size.
622 */
623#define HDCP_KEY_MAX_SIZE (4*1024)
624
625/**
626 * @brief defines the maximum size of buffer to hold ms12 config type details
627 * Ex: CONFIG_Z, CONFIG_X, CONFIG_Y etc.
628 */
629#define MS12_CONFIG_BUF_SIZE 16
630
631/**
632 * @brief Enumeration defines all of the standard HDR types.
633 * Each bit of uint32_t represent a standard.
634 * If a device supports multiple standards, the capability is the bitwise OR
635 * of the standards.
636 * @note Also used in @link dsVideoDevice.h @endlink
637 */
638typedef enum _dsHDRStandard_t {
639 dsHDRSTANDARD_NONE = 0x0, ///< When No video format is decoded
640 dsHDRSTANDARD_HDR10 = 0x01, ///< Video Format HDR
641 dsHDRSTANDARD_HLG = 0x02, ///< Video Format HLG
642 dsHDRSTANDARD_DolbyVision = 0x04, ///< Video Format Dolby Vision
643 dsHDRSTANDARD_TechnicolorPrime = 0x08, ///< Video Format Techinicolor Prime
644 dsHDRSTANDARD_HDR10PLUS = 0x10, ///< Video Format HDRPlus
645 dsHDRSTANDARD_SDR= 0x20, ///< Video Format SDR
646 dsHDRSTANDARD_Invalid = 0x80, ///< When invalid value observed
648
649/**
650 * @brief Enumeration defines surround mode.
651 * Each bit of uint32_t represent supported surround mode.
652 */
653typedef enum _dsSURROUNDMode_t {
654 dsSURROUNDMODE_NONE = 0x0, ///< No surround mode
655 dsSURROUNDMODE_DD = 0x1, ///< Surround mode Dolby Digital
656 dsSURROUNDMODE_DDPLUS = 0x2, ///< Surround mode Dolby Digital Plus
658
659/**
660 * @brief Enumeration defines MS12 feature.
661 */
662typedef enum _dsMS12FEATURE_t {
663 dsMS12FEATURE_DAPV2 = 0x0, ///< Dolby Audio Processing Version 2
664 dsMS12FEATURE_DE = 0x1, ///< Dialogue Enhancement
665 dsMS12FEATURE_MAX = 0x2, ///< Out of range
667
668/**
669 * @brief Structure that defines audio port configuration.
670 */
671typedef struct _dsAudioPortConfig_t {
672 dsAudioPortId_t id; ///< Port ID
673 const dsVideoPortPortId_t *connectedVOPs; ///< Connected video port
675
676/**
677 * @brief Max length of Language Code String.
678 */
679#define MAX_LANGUAGE_LEN 10
680
681/**
682 * @brief Structure that defines video port configuration settings.
683 */
686 dsAudioPortId_t connectedAOP; ///< Connected audio port
687 const char *defaultResolution; ///< Default resolution's name
689
690/**
691 * @brief dsFPDColor_t is an 4-byte integer that is composed of RGB32 value in the
692 * following pattern:
693 *
694 * Combines the RGB Color values into a single Hex value.
695 *
696 * FPD_COLOR = (((R8)<<16) | ((G8)<< 8) | ((B8) << 0))
697 *
698 * The Most Significant 8 bit is reserved.
699 *
700 * @see dsFPDColor_isValid
701 */
702typedef uint32_t dsFPDColor_t;
703
704/**
705 * @brief Defines the color values in RGB format.
706*/
707#define dsFPDColor_Make(R8,G8,B8) (((R8)<<16) | ((G8)<< 8) | ((B8) )) ///< combine Red Green Blue value to a single Hex value
708#define dsFPDColor_R(RGB32) (((RGB32) >> 16) & 0xFF) ///< Extract Red value form RGB value
709#define dsFPDColor_G(RGB32) (((RGB32) >> 8) & 0xFF) ///< Extract Green value form RGB value
710#define dsFPDColor_B(RGB32) (((RGB32) ) & 0xFF) ///< Extract Blue value form RGB value
711
712/**
713 * @brief Define a set of common colors, for backward compatibility .
714 */
715#define dsFPD_COLOR_BLUE dsFPDColor_Make(0, 0, 0xFF) ///< Blue color LED
716#define dsFPD_COLOR_GREEN dsFPDColor_Make(0, 0xFF, 0) ///< Green color LED
717#define dsFPD_COLOR_RED dsFPDColor_Make(0xFF, 0, 0x0) ///< Red color LED
718#define dsFPD_COLOR_YELLOW dsFPDColor_Make(0xFF, 0xFF, 0xE0) ///< Yellow color LED
719#define dsFPD_COLOR_ORANGE dsFPDColor_Make(0xFF, 0x8C, 0x00) ///< Orange color LED
720#define dsFPD_COLOR_WHITE dsFPDColor_Make(0xFF, 0xFF, 0xFF) ///< White color LED
721#define dsFPD_COLOR_MAX 6 ///< Out of range
722
723/**
724 * @brief Front panel LED colors validation check.
725 * @see dsFPDColor_t
726 */
727#define dsFPDColor_isValid(t) (((t) & 0xFF000000) == 0)
728
729/**
730 * @brief dsFPDIndicator_t is an ID number that uniquely identifies a hardware
731 * LED entity on the front panel. Each MFR implementation is free
732 * to assign any number to its LEDs. The mapping of LED ID to its
733 * display name (such as "Record LED") is done outside MFR library.
734 */
735typedef int32_t dsFPDIndicator_t;
736
737/**
738 * @brief This enumeration pre-defines common front panel indicators.
739 * Implementation may not have to use these enumerators.
740 */
741#define dsFPD_INDICATOR_MESSAGE 0 ///< Message/Mail LED
742#define dsFPD_INDICATOR_POWER 1 ///< Power LED
743#define dsFPD_INDICATOR_RECORD 2 ///< Record LED
744#define dsFPD_INDICATOR_REMOTE 3 ///< Remote LED
745#define dsFPD_INDICATOR_RFBYPASS 4 ///< RF Bypass LED
746#define dsFPD_INDICATOR_MAX 5 ///< Out of range
747
748/**
749 * @brief Front panel LED indicator type validation check.
750 */
751#define dsFPDIndicator_isValid(t) (true)
752
753/**
754 * @brief This enumeration defines the FPD text display types
755 * @see dsFPDTextDisplay_isValid
756 */
758{
759 dsFPD_TEXTDISP_TEXT, ///< 7-segment LED display
760 dsFPD_TEXTDISP_MAX ///< Out of range
762
763/**
764 * @brief FPD text display type validation check.
765 * @see dsFPDTextDisplay_t
766 */
767#define dsFPDTextDisplay_isValid(t) (((t) >= dsFPD_TEXTDISP_TEXT ) && ((t) < dsFPD_TEXTDISP_MAX))
768
769/**
770 * @brief This enumeration defines the front panel display state
771 */
772typedef enum __dsFPDState_t
773{
774 dsFPD_STATE_OFF=0, ///< FPD State Disable
775 dsFPD_STATE_ON, ///< FPD State Enable
777
778/**
779 * @brief This enumeration defines the front panel display state
780 *
781 * The HAL shall define the responsibility of LED behavior during each of the below states
782 */
784{
785 dsFPD_LED_DEVICE_NONE = 0, ///< Default state
786 dsFPD_LED_DEVICE_ACTIVE = 1, ///< Device is active
787 dsFPD_LED_DEVICE_STANDBY = 2, ///< Device is in standby mode
788 dsFPD_LED_DEVICE_WPS_CONNECTING = 3, ///< Device connecting to WPS
789 dsFPD_LED_DEVICE_WPS_CONNECTED = 4, ///< Device connected to WPS
790 dsFPD_LED_DEVICE_WPS_ERROR = 5, ///< Error when trying to connect to WPS
791 dsFPD_LED_DEVICE_FACTORY_RESET = 6, ///< Reset Device to factory base
792 dsFPD_LED_DEVICE_USB_UPGRADE = 7, ///< Updating from USB drive
793 dsFPD_LED_DEVICE_SOFTWARE_DOWNLOAD_ERROR = 8, ///< Error in downloading new software update
794 dsFPD_LED_DEVICE_MAX ///< Out of range
796
797/**
798 * @brief This enumeration defines the time formats to be used in the front panel text display.
799 */
801{
802 dsFPD_TIME_12_HOUR, ///< 12 hour time format
803 dsFPD_TIME_24_HOUR, ///< 24 hour time format
804 dsFPD_TIME_STRING ///< Text string.
806
807/**
808 * @brief Maximum Value of FPD Led Brightness.
809 */
810#define dsFPD_BRIGHTNESS_MAX 100 ///< Maximum Value of FPD LED brightness
811
812/**
813 * @brief Type definition for the brightness setting of a front panel indicator LED.
814 */
815typedef uint32_t dsFPDBrightness_t;
816
817/**
818 * @brief This enumeration defines the front panel display mode.
819 */
820typedef enum __dsFPDMode_t{
821 dsFPD_MODE_ANY = 0, ///< All modes (text/clock)
822 dsFPD_MODE_TEXT, ///< Text mode
823 dsFPD_MODE_CLOCK, ///< Clock mode
825
826/**
827 * @brief Maximum Value video modes are described in CEA specifictaion
828 */
829#define dsEEDID_MAX_VIDEO_CODE 64 ///< Maximum Value EEDID Video Code
830
831/**
832 * @brief Maximum length for for Connected Display Monitor names.
833 */
834#define dsEEDID_MAX_MON_NAME_LENGTH 14 ///< Maximum Length of Connected Display Monitor Name
835
836/**
837 * @brief Maximum length for EDID data.
838 */
839#define MAX_EDID_BYTES_LEN (1024) ///< Maximum Byte length of EDID data
840
841/**
842 * @brief Structure for the EDID display
843 */
844typedef struct _dsDisplayEDID_t {
845 int32_t productCode; ///< Product code of the display device
846 int32_t serialNumber; ///< Serial number of the display device
847 int32_t manufactureYear; ///< Year of manufacture of the display device
848 int32_t manufactureWeek; ///< Week of manufacture of the display device
849 bool hdmiDeviceType; ///< Device type ( @a true if HDMI, @a false if DVI )
850 bool isRepeater; ///< Receiver is a repeater ( @a true if Repeater, @a false if connected Receiver is not a repeater)
851 uint8_t physicalAddressA; ///< Physical Address for HDMI node A
852 uint8_t physicalAddressB; ///< Physical Address for HDMI node B
853 uint8_t physicalAddressC; ///< Physical Address for HDMI node C
854 uint8_t physicalAddressD; ///< Physical Address for HDMI node D
855 int32_t numOfSupportedResolution; ///< Number of Supported Resolution
857 char monitorName[dsEEDID_MAX_MON_NAME_LENGTH]; ///< Connected Display Monitor Name
859
860/**
861 * This enumeration defines the type of sleep modes that can be used.
862 */
863typedef enum _dsSleepMode_t{
864 dsHOST_SLEEP_MODE_LIGHT, /**< Light sleep mode. */
865 dsHOST_SLEEP_MODE_DEEP, /**< Deep sleep mode. */
866 dsHOST_SLEEP_MODE_MAX, /**< Maximum index for sleep modes */
868
869/**
870 * @brief This enumeration defines the types of powerstate
871 */
872typedef enum _dsPowerState_t{
873 dsPOWER_ON =1, ///< Host Power-on state
874 dsPOWER_STANDBY, ///< Host Standby state
875 dsPOWER_OFF, ///< Host Power-off state
877
878/**
879 * @brief This enumeration defines the type of Matrix coefficients.
880 * @note Used in @link dsVideoPort.h @endlink
881 */
883{
884 dsDISPLAY_MATRIXCOEFFICIENT_UNKNOWN = 0, ///< Unknown Matrix Coefficient
885 dsDISPLAY_MATRIXCOEFFICIENT_BT_709, ///< ITU BT 709 Matrix Coefficient
886 dsDISPLAY_MATRIXCOEFFICIENT_BT_470_2_BG, ///< ITU BT 470_2_BG Matrix Coefficient
887 dsDISPLAY_MATRIXCOEFFICIENT_SMPTE_170M , ///< SMPTE 170M Matrix Coefficient
888 dsDISPLAY_MATRIXCOEFFICIENT_XvYCC_709, ///< XvYCC_709 Matrix Coefficient
889 dsDISPLAY_MATRIXCOEFFICIENT_eXvYCC_601, ///< XvYCC_601 Matrix Coefficient
890 dsDISPLAY_MATRIXCOEFFICIENT_BT_2020_NCL, ///< ITU BT 2020 non constant luminance Matrix Coefficient
891 dsDISPLAY_MATRIXCOEFFICIENT_BT_2020_CL, ///< ITU BT 2020 constant luminance Matrix Coefficient
892 dsDISPLAY_MATRIXCOEFFICIENT_eDVI_FR_RGB, ///< eDVI Full Range RGB Matrix Coefficient
893 dsDISPLAY_MATRIXCOEFFICIENT_eHDMI_RGB, ///< eHDMI RGB Matrix Coefficient
894 dsDISPLAY_MATRIXCOEFFICIENT_eFCC, ///< eFCC Matrix Coefficient
895 dsDISPLAY_MATRIXCOEFFICIENT_eSMPTE_240M, ///< eSMPTE 240M Matrix Coefficient
896 dsDISPLAY_MATRIXCOEFFICIENT_eHDMI_FR_YCbCr ///< eHDMI Full Range YcbCr Matrix Coefficient
898
899/**
900 * @brief This enumeration defines the information of colorimetry.
901 */
903{
904 dsDISPLAY_COLORIMETRY_INFO_UNKNOWN = 0, /* Unknown Colorimetry */
905 dsDISPLAY_COLORIMETRY_INFO_XVYCC601 = 0x01, /* Standard Definition Colorimetry based on IEC 61966-2-4 */
906 dsDISPLAY_COLORIMETRY_INFO_XVYCC709 = 0x02, /* High Definition Colorimetry based on IEC 61966-2-4 */
907 dsDISPLAY_COLORIMETRY_INFO_SYCC601 = 0x04, /* Colorimetry based on IEC 61966-2-1/Amendment 1 */
908 dsDISPLAY_COLORIMETRY_INFO_ADOBEYCC601 = 0x08, /* Colorimetry based on IEC 61966-2-5 [32], Annex A */
909 dsDISPLAY_COLORIMETRY_INFO_ADOBERGB = 0x10, /* Colorimetry based on IEC 61966-2-5 */
910 dsDISPLAY_COLORIMETRY_INFO_BT2020CL = 0x20, /* Colorimetry based on ITU-R BT.2020 [39] Y’cC’BCC’RC */
911 dsDISPLAY_COLORIMETRY_INFO_BT2020NCL = 0x40, /* Colorimetry based on ITU-R BT.2020 [39] Y’C’BC’R */
912 dsDISPLAY_COLORIMETRY_INFO_BT2020RGB = 0x80, /* Colorimetry based on ITU-R BT.2020 [39] R’G’B’ */
913 dsDISPLAY_COLORIMETRY_INFO_DCI_P3 = 0x100 /* Colorimetry based on DCI-P3 */
915
916/**
917 * @brief This enumeration defines the type of display color spaces supported
918 * @note Used in @link dsVideoPort.h @endlink
919 */
921{
922 dsDISPLAY_COLORSPACE_UNKNOWN = 0, ///< Unknown color space
923 dsDISPLAY_COLORSPACE_RGB = 1, ///< RGB color space
924 dsDISPLAY_COLORSPACE_YCbCr422 = 2, ///< YCbCr4.2.2 color space
925 dsDISPLAY_COLORSPACE_YCbCr444 = 3, ///< YCbCr4.4.4 color space
926 dsDISPLAY_COLORSPACE_YCbCr420 = 4, ///< YCbCr4.2.0 color space
927 dsDISPLAY_COLORSPACE_AUTO = 5 ///< Automatic color space
929
930/**
931 * @brief This enumeration defines the type of display quantization ranges
932 * @note Used in @link dsVideoPort.h @endlink
933 */
935{
936 dsDISPLAY_QUANTIZATIONRANGE_UNKNOWN = 0, ///< Unknown quantization range
937 dsDISPLAY_QUANTIZATIONRANGE_LIMITED = 1, ///< Limited quantization range
938 dsDISPLAY_QUANTIZATIONRANGE_FULL = 2 ///< Full quantization range
940
941/**
942 * @brief This enumeration defines the type of display Color depth.
943 * @note Used in @link dsVideoPort.h @endlink
944 */
946{
947 dsDISPLAY_COLORDEPTH_UNKNOWN = 0x0, ///< Unknown color depth
948 dsDISPLAY_COLORDEPTH_8BIT = 0x01, ///< 8 bit color depth
949 dsDISPLAY_COLORDEPTH_10BIT = 0x02, ///< 10 bit color depth
950 dsDISPLAY_COLORDEPTH_12BIT = 0x04, ///< 12 bit color depth
951 dsDISPLAY_COLORDEPTH_AUTO = 0x08 ///< Automatic color depth
953
954/**
955 * @brief Sleep mode validation check.
956 */
957#define dsSleepMode_isValid(t) (((t) >= dsHOST_SLEEP_MODE_LIGHT) && ((t) < dsHOST_SLEEP_MODE_MAX))
958
959/**
960 * @brief This enumeration defines the type of HDMI ports.
961 */
962typedef enum _dsHdmiInPort_t
963{
964 dsHDMI_IN_PORT_NONE = -1, /*!< HDMI input port index for NONE */
965 dsHDMI_IN_PORT_0, /*!< HDMI input port index for PORT 0 */
966 dsHDMI_IN_PORT_1, /*!< HDMI input port index for PORT 1 */
967 dsHDMI_IN_PORT_2, /*!< HDMI input port index for PORT 2 */
968 dsHDMI_IN_PORT_MAX /*!< Out of range */
970
971/**
972 * @brief This enumeration defines the type of HDMI signal status.
973 */
975{
976 dsHDMI_IN_SIGNAL_STATUS_NONE = -1, /*!< HDMI input signal status NONE. Default state upon start up */
977 dsHDMI_IN_SIGNAL_STATUS_NOSIGNAL, /*!< HDMI input No signal signal status. No device connected */
978 dsHDMI_IN_SIGNAL_STATUS_UNSTABLE, /*!< HDMI input unstable signal status. This is normally a transitional state, */
979 /*!< but can remain here due to some faults on HDMI Source / Cable */
980 dsHDMI_IN_SIGNAL_STATUS_NOTSUPPORTED, /*!< HDMI input not supported signal status */
981 /*!< e.g. The sink device does not support the incoming HDMI In signal from source */
982 dsHDMI_IN_SIGNAL_STATUS_STABLE, /*!< HDMI input Stable signal status are presented on plane */
983 dsHDMI_IN_SIGNAL_STATUS_MAX /*!< Out of range */
985
986/**
987 * @brief Structure type for HDMI input status.
988 */
989typedef struct _dsHdmiInStatus_t
990{
991 bool isPresented; /*!< Boolean flag indicating HDMI input is presenting for the activePort */
992 bool isPortConnected[dsHDMI_IN_PORT_MAX]; /*!< Boolean flag indicating HDMI source connected to this HDMI input port */
993 dsHdmiInPort_t activePort; /*!< HDMI input Port selected as the currently active port (to the set-top) */
994 /** @note that only one HDMI input port can be active at a time */
996
997/**
998 * @brief Structure type for HDMI input ARC Capability.
999 */
1000typedef struct _dsHdmiInCap_t
1001{
1002 bool isPortArcCapable[dsHDMI_IN_PORT_MAX]; /*!< Boolean flag indicating HDMI source is ARC capable */
1004
1005/**
1006 * @brief This enumeration defines the type composite signal status.
1007 */
1009{
1010 dsCOMP_IN_SIGNAL_STATUS_NONE = -1, ///< Composite input signal status NONE
1011 dsCOMP_IN_SIGNAL_STATUS_NOSIGNAL, ///< Composite input No Signal status
1012 dsCOMP_IN_SIGNAL_STATUS_UNSTABLE, ///< Composite input Unstable signal status
1013 dsCOMP_IN_SIGNAL_STATUS_NOTSUPPORTED, ///< Composite input Not supported signal status
1014 dsCOMP_IN_SIGNAL_STATUS_STABLE, ///< Composite input Stable signal status
1015 dsCOMP_IN_SIGNAL_STATUS_MAX ///< Out of range
1017
1018/**
1019 * @brief This enumeration defines the type of composite ports.
1020 */
1022{
1023 dsCOMPOSITE_IN_PORT_NONE = -1, ///< No composite port.
1024 dsCOMPOSITE_IN_PORT_0, ///< Composite port index 0.
1025 dsCOMPOSITE_IN_PORT_1, ///< Composite port index 1.
1026 dsCOMPOSITE_IN_PORT_MAX ///< Out of range
1028
1029/**
1030 * @brief Structure type for Composite input status.
1031 */
1033{
1034 bool isPresented; ///< Boolean flag indicating Composite input is enabled for presentation by client
1035 bool isPortConnected[dsCOMPOSITE_IN_PORT_MAX]; ///< Boolean flag indicating Composite source connected to this Composite input port
1036 dsCompositeInPort_t activePort; ///< Composite input Port selected as the currently active port
1037 ///< - note that only one COMPOSITE input port can be active at a time
1039
1040/**
1041 * @brief List of video compression formats that may be supported by the decoder
1042 */
1043typedef enum
1044{
1045 dsVIDEO_CODEC_MPEGHPART2 = (0x01 << 0), /*!< Also known HEVC, H.265 */
1046 dsVIDEO_CODEC_MPEG4PART10 = (0x01 << 1), /*!< Also known as H.264, MPEG4 AVC */
1047 dsVIDEO_CODEC_MPEG2 = (0x01 << 2), /*!< Also known as H.222/H.262 */
1049
1050/**
1051 * @brief List of HEVC Profiles
1052 * @note HEVC version 1 profiles are listed. More may be added to it as the support becomes available
1053 */
1054typedef enum
1055{
1056 dsVIDEO_CODEC_HEVC_PROFILE_MAIN = (0x01 << 0), /*!< 8-bit HEVC video profile. */
1057 dsVIDEO_CODEC_HEVC_PROFILE_MAIN10 = (0x01 << 1), /*!< 10-bit HEVC video profile. */
1058 dsVIDEO_CODEC_HEVC_PROFILE_MAINSTILLPICTURE = (0x01 << 2), /*!< HECV Main Still Picture profile */
1060
1061/**
1062 * @brief Structure type for HEVC profiles
1063 */
1064typedef struct
1065{
1066 dsVideoCodecHevcProfiles_t profile; /*!< HEVC Profiles. See dsVideoCodecHevcProfiles_t */
1067 float level; /*!< level for the specieis HEVC profile */
1069
1070/**
1071 * @brief Structure type for Video codec info
1072 */
1073typedef struct
1074{
1075 unsigned int num_entries; /*!< Number of entries */
1076 dsVideoCodecProfileSupport_t entries[10]; /*!< Contains a list of the supported Codex profiles */
1078
1079/**
1080 * @brief Structure type for spd info frame.
1081 */
1083 uint8_t pkttype; /*!< Package type */
1084 uint8_t version; /*!< Version */
1085 uint8_t length; /*!< max length 25, min length 0 */
1086 uint8_t rsd; /*!< Repetition of static data */
1087 uint8_t checksum; /*!< Checksum for spd info frame */
1088 uint8_t vendor_name[8]; /*!< Vendor Name string. Min length 0 */
1089 uint8_t product_des[16]; /*!< Product Description string. Min length 0 */
1090 uint8_t source_info; /*!< Source info of the frame */
1091} ;
1092
1093/**
1094 * @brief Enum for EDID version.
1095 */
1097 HDMI_EDID_VER_14 = 0, /*!< EDID version 1.4 */
1098 HDMI_EDID_VER_20, /*!< EDID version 2.0 */
1099 HDMI_EDID_VER_MAX /*!< Out of bounds */
1101
1102/**
1103 * @brief Max buffer length for the feature list
1104 */
1105#define MAX_FEATURE_LIST_BUFFER_LEN 1024
1106
1107/**
1108 * @brief Structure that captures Supported Game Features list
1109 */
1111 char gameFeatureList[MAX_FEATURE_LIST_BUFFER_LEN]; /*!< buffer containing the list of comma separated supported game features (e.g: "allm") */
1112 int gameFeatureCount; /*!< Total number of supported game features */
1114
1115/**
1116 * @brief This enumeration defines the Audio port state
1117 */
1123
1124/**
1125 * @brief This enumeration defines the AVI Content Types
1126 */
1127typedef enum dsAviContentType {
1128 dsAVICONTENT_TYPE_GRAPHICS, /*!< Content type Graphics. */
1129 dsAVICONTENT_TYPE_PHOTO, /*!< Content type Photo */
1130 dsAVICONTENT_TYPE_CINEMA, /*!< Content type Cinema */
1131 dsAVICONTENT_TYPE_GAME, /*!< Content type Game */
1132 dsAVICONTENT_TYPE_INVALID /*!< Content type Invalid */
1134
1135/**
1136 * @brief HAL version number.
1137*/
1138#define dsHAL_APIVER(major, minor) (uint32_t)((major << 16) | (minor & 0xFFFF))
1139 ///< Return 4 Bytes version value
1140
1141/**
1142 * @brief HAL Major version number.
1143*/
1144#define dsHAL_APIVER_MAJOR(x) ((x) >> 16) & (0x7FFF)
1145 ///< Return the two Most Significant Byte value
1146
1147/**
1148 * @brief HAL Minor version number.
1149*/
1150#define dsHAL_APIVER_MINOR(x) (x & 0xFFFF) ///< Return the two Least Significant Byte value
1151
1153#endif /* _DS_TYPES_H_ */
1154
1155/** @} */ // End of DSHAL_TYPES_H
1156/** @} */ // End of Device Settings HAL
1157/** @} */ // End of Device Settings Module
1158/** @} */ // End of HPK
#define dsEEDID_MAX_VIDEO_CODE
Maximum Value video modes are described in CEA specifictaion.
Definition dsTypes.h:829
_dsTVResolution_t
This enumeration defines all of the standard TV supported resolution with interlace information.
Definition dsTypes.h:416
enum _dsAudioDuckingAction_t dsAudioDuckingAction_t
This enumeration defines the type of audio ducking action.
enum _dsVideoAspectRatio_t dsVideoAspectRatio_t
This enumeration defines all of the standard video aspect ratios.
#define MAX_SAD
Max values for SADs.
Definition dsTypes.h:233
enum _dsAudioDuckingType_t dsAudioDuckingType_t
This enumeration defines the type of audio ducking type.
_dsMS12FEATURE_t
Enumeration defines MS12 feature.
Definition dsTypes.h:662
_dsVideoFrameRate_t
This enumeration defines all of the standard frame rates at which video may be played out of the vide...
Definition dsTypes.h:448
struct _dsVideoPortPortConfig_t dsVideoPortPortConfig_t
Structure that defines video port configuration settings.
enum _dsVideoResolution_t dsVideoResolution_t
This enumeration defines all of the standard video port resolutions.
_dsAudioARCTypes_t
Enumeration defines all of the supported Arc types. Each bit of uint32_t represent an ARC support typ...
Definition dsTypes.h:224
enum _dsVideoBackgroundColor_t dsVideoBackgroundColor_t
This enumeration defines background color for video port.
enum __dsFPDMode_t dsFPDMode_t
This enumeration defines the front panel display mode.
struct _dsVideoConfig_t dsVideoConfig_t
Structure that defines video device configuration for the output.
_dsATMOSCapability_t
This enumeration defines ATMOS protocol version types.
Definition dsTypes.h:331
struct _dsMS12AudioProfileList_t dsMS12AudioProfileList_t
_dsVideoResolution_t
This enumeration defines all of the standard video port resolutions.
Definition dsTypes.h:402
_dsVideoZoom_t
This enumeration defines all of the standard screen zoom (format conversion) modes.
Definition dsTypes.h:532
_dsAudioPortType_t
This enumeration defines the audio port types.
Definition dsTypes.h:99
_dsAudioDuckingType_t
This enumeration defines the type of audio ducking type.
Definition dsTypes.h:179
enum _dsDisplayColorDepth_t dsDisplayColorDepth_t
This enumeration defines the type of display Color depth.
#define MAX_PROFILE_LIST_BUFFER_LEN
Structure that captures MS12 Audio Profile list.
Definition dsTypes.h:274
StereoMode
This enumeration defines the type of audio stereo mode.
Definition dsTypes.h:317
_dsCompositeInPort_t
This enumeration defines the type of composite ports.
Definition dsTypes.h:1022
_dsVideoPortType_t
This enumeration defines all of the standard type of Video ports.
Definition dsTypes.h:378
struct _dsAudioSADList_t dsAudioSADList_t
Structure that holds Short Audio Descriptors retrieved from connected ARC device.
_dsDisplayColorDepth_t
This enumeration defines the type of display Color depth.
Definition dsTypes.h:946
enum _dsAudioPortType_t dsAudioPortType_t
This enumeration defines the audio port types.
int dsDialogEnhancer_t
This defines the type of dialog enhancer level that can be used.
Definition dsTypes.h:192
enum _dsATMOSCapability_t dsATMOSCapability_t
This enumeration defines ATMOS protocol version types.
enum _dsMS12FEATURE_t dsMS12FEATURE_t
Enumeration defines MS12 feature.
struct _dsVideoPortResolution_t dsVideoPortResolution_t
Structure that defines video port resolution settings of output video device.
_dsAudioCompression_t
This enumeration defines the type of audio compression.
Definition dsTypes.h:138
enum _dsVideoScanMode_t dsVideoScanMode_t
This enumeration defines all of the standard video port scan modes.
struct _dsVideoPortPortId_t dsVideoPortPortId_t
Structure that defines port id associated with video port.
_dsAudioDuckingAction_t
This enumeration defines the type of audio ducking action.
Definition dsTypes.h:171
_dsDisplayQuantizationRange_t
This enumeration defines the type of display quantization ranges.
Definition dsTypes.h:935
struct _dsAudioARCStatus_t dsAudioARCStatus_t
Structure that holds ARC status for the HDMI ARC/EARC port.
enum _dsDisplayColorSpace_t dsDisplayColorSpace_t
This enumeration defines the type of display color spaces supported.
#define MAX_FEATURE_LIST_BUFFER_LEN
Max buffer length for the feature list.
Definition dsTypes.h:1105
_dsAudioCapabilities_t
Enumeration defines all of the supported Audio types. Each bit of uint32_t represent a standard....
Definition dsTypes.h:206
_dsDisplayColorSpace_t
This enumeration defines the type of display color spaces supported.
Definition dsTypes.h:921
struct _dsSupportedGameFeatureList_t dsSupportedGameFeatureList_t
Structure that captures Supported Game Features list.
struct _dsCompositeInStatus_t dsCompositeInStatus_t
Structure type for Composite input status.
enum _dsAudioCapabilities_t dsAudioCapabilities_t
Enumeration defines all of the supported Audio types. Each bit of uint32_t represent a standard....
enum _dsMS12Capabilities_t dsMS12Capabilities_t
Enumeration defines all of the supported MS12 types. Each bit of uint32_t represent a standard....
_dsHdmiInPort_t
This enumeration defines the type of HDMI ports.
Definition dsTypes.h:963
_dsHdcpStatus_t
This enumeration defines all HDCP Authentication Status.
Definition dsTypes.h:356
enum tv_hdmi_edid_version_e tv_hdmi_edid_version_t
Enum for EDID version.
__dsFPDMode_t
This enumeration defines the front panel display mode.
Definition dsTypes.h:820
uint32_t dsFPDColor_t
dsFPDColor_t is an 4-byte integer that is composed of RGB32 value in the following pattern:
Definition dsTypes.h:702
_dsAudioEncoding_t
This enumeration defines the audio encoding types.
Definition dsTypes.h:119
enum _dsVideoFrameRate_t dsVideoFrameRate_t
This enumeration defines all of the standard frame rates at which video may be played out of the vide...
struct _dsSurroundVirtualizer_t dsSurroundVirtualizer_t
This defines the type of surround virtualizer mode.
enum dsAviContentType dsAviContentType_t
This enumeration defines the AVI Content Types.
enum _dsDisplayQuantizationRange_t dsDisplayQuantizationRange_t
This enumeration defines the type of display quantization ranges.
enum _dsDisplayMatrixCoefficients_t dsDisplayMatrixCoefficients_t
This enumeration defines the type of Matrix coefficients.
struct _dsVolumeLeveller_t dsVolumeLeveller_t
This defines the type of volume leveller mode.
_dsVideoStereoScopicMode_t
This enumeration defines all of the standard video Stereo Scopic modes.
Definition dsTypes.h:514
tv_hdmi_edid_version_e
Enum for EDID version.
Definition dsTypes.h:1096
enum _dsSleepMode_t dsSleepMode_t
struct _dsAudioPortId_t dsAudioPortId_t
Structure that defines the audio port type and associated ID.
enum _dsHdcpStatus_t dsHdcpStatus_t
This enumeration defines all HDCP Authentication Status.
enum __dsFPDTimeFormat_t dsFPDTimeFormat_t
This enumeration defines the time formats to be used in the front panel text display.
enum _dsHdcpProtocolVersion_t dsHdcpProtocolVersion_t
This enumeration defines HDCP protocol version types.
_dsVideoScanMode_t
This enumeration defines all of the standard video port scan modes.
Definition dsTypes.h:471
struct _dsHdmiInCap_t dsHdmiInCap_t
Structure type for HDMI input ARC Capability.
enum _dsVideoPortType_t dsVideoPortType_t
This enumeration defines all of the standard type of Video ports.
enum _dsSURROUNDMode_t dsSURROUNDMode_t
Enumeration defines surround mode. Each bit of uint32_t represent supported surround mode.
enum __dsFPDState_t dsFPDState_t
This enumeration defines the front panel display state.
struct _dsHdmiInStatus_t dsHdmiInStatus_t
Structure type for HDMI input status.
_dsPowerState_t
This enumeration defines the types of powerstate.
Definition dsTypes.h:872
enum _dsAudioPortState dsAudioPortState_t
This enumeration defines the Audio port state.
struct _dsVideoPortTypeConfig_t dsVideoPortTypeConfig_t
Structure that defines the video output port configuration.
dsAviContentType
This enumeration defines the AVI Content Types.
Definition dsTypes.h:1127
_dsCompInSignalStatus_t
This enumeration defines the type composite signal status.
Definition dsTypes.h:1009
_dsAudioFormat_t
This enumeration defines the type of audio format.
Definition dsTypes.h:149
enum StereoMode dsAudioStereoMode_t
This enumeration defines the type of audio stereo mode.
_dsSleepMode_t
Definition dsTypes.h:863
_dsAudioPortState
This enumeration defines the Audio port state.
Definition dsTypes.h:1118
enum _dsHdmiInSignalStatus_t dsHdmiInSignalStatus_t
This enumeration defines the type of HDMI signal status.
struct _dsDisplayEDID_t dsDisplayEDID_t
Structure for the EDID display.
_dsVideoAspectRatio_t
This enumeration defines all of the standard video aspect ratios.
Definition dsTypes.h:498
_dsDisplayMatrixCoefficients_t
This enumeration defines the type of Matrix coefficients.
Definition dsTypes.h:883
enum _dsCompositeInPort_t dsCompositeInPort_t
This enumeration defines the type of composite ports.
__dsFPDTextDisplay_t
This enumeration defines the FPD text display types.
Definition dsTypes.h:758
_dsDisplayColorimetryInfo_t
This enumeration defines the information of colorimetry.
Definition dsTypes.h:903
enum _dsTVResolution_t dsTVResolution_t
This enumeration defines all of the standard TV supported resolution with interlace information.
int32_t dsFPDIndicator_t
dsFPDIndicator_t is an ID number that uniquely identifies a hardware LED entity on the front panel....
Definition dsTypes.h:735
_dsHdmiInSignalStatus_t
This enumeration defines the type of HDMI signal status.
Definition dsTypes.h:975
enum _dsPowerState_t dsPowerState_t
This enumeration defines the types of powerstate.
enum __dsFPDLedState_t dsFPDLedState_t
This enumeration defines the front panel display state.
__dsFPDState_t
This enumeration defines the front panel display state.
Definition dsTypes.h:773
_dsHDRStandard_t
Enumeration defines all of the standard HDR types. Each bit of uint32_t represent a standard....
Definition dsTypes.h:638
int dsAudioCompressionValue_t
This defines the type of audio compression that can be used.
Definition dsTypes.h:187
enum _dsVideoStereoScopicMode_t dsVideoStereoScopicMode_t
This enumeration defines all of the standard video Stereo Scopic modes.
dsVideoCodecHevcProfiles_t
List of HEVC Profiles.
Definition dsTypes.h:1055
uint32_t dsFPDBrightness_t
Type definition for the brightness setting of a front panel indicator LED.
Definition dsTypes.h:815
enum _dsAudioARCTypes_t dsAudioARCTypes_t
Enumeration defines all of the supported Arc types. Each bit of uint32_t represent an ARC support typ...
_dsHdcpProtocolVersion_t
This enumeration defines HDCP protocol version types.
Definition dsTypes.h:346
struct _dsAudioPortConfig_t dsAudioPortConfig_t
Structure that defines audio port configuration.
enum _dsDisplayColorimetryInfo_t dsDisplayColorimetryInfo_t
This enumeration defines the information of colorimetry.
enum _dsAudioEncoding_t dsAudioEncoding_t
This enumeration defines the audio encoding types.
enum _dsHdmiInPort_t dsHdmiInPort_t
This enumeration defines the type of HDMI ports.
_dsSURROUNDMode_t
Enumeration defines surround mode. Each bit of uint32_t represent supported surround mode.
Definition dsTypes.h:653
enum _dsCompInSignalStatus_t dsCompInSignalStatus_t
This enumeration defines the type composite signal status.
__dsFPDTimeFormat_t
This enumeration defines the time formats to be used in the front panel text display.
Definition dsTypes.h:801
int dsIntelligentEqualizerMode_t
This defines the type of dialog enhancer level that can be used.
Definition dsTypes.h:197
dsVideoCodingFormat_t
List of video compression formats that may be supported by the decoder.
Definition dsTypes.h:1044
_dsMS12Capabilities_t
Enumeration defines all of the supported MS12 types. Each bit of uint32_t represent a standard....
Definition dsTypes.h:258
_dsVideoBackgroundColor_t
This enumeration defines background color for video port.
Definition dsTypes.h:480
__dsFPDLedState_t
This enumeration defines the front panel display state.
Definition dsTypes.h:784
enum _dsVideoZoom_t dsVideoZoom_t
This enumeration defines all of the standard screen zoom (format conversion) modes.
enum _dsAudioFormat_t dsAudioFormat_t
This enumeration defines the type of audio format.
enum _dsHDRStandard_t dsHDRStandard_t
Enumeration defines all of the standard HDR types. Each bit of uint32_t represent a standard....
enum __dsFPDTextDisplay_t dsFPDTextDisplay_t
This enumeration defines the FPD text display types.
#define dsEEDID_MAX_MON_NAME_LENGTH
Maximum length for for Connected Display Monitor names.
Definition dsTypes.h:834
enum _dsAudioCompression_t dsAudioCompression_t
This enumeration defines the type of audio compression.
struct _dsAudioTypeConfig_t dsAudioTypeConfig_t
Structure that defines audio output device configuration.
@ dsTV_RESOLUTION_2160p30
2160p30 Resolution
Definition dsTypes.h:432
@ dsTV_RESOLUTION_576p50
576p50 Resolution
Definition dsTypes.h:421
@ dsTV_RESOLUTION_480i
480i Resolution
Definition dsTypes.h:417
@ dsTV_RESOLUTION_2160p60
2160p60 Resolution
Definition dsTypes.h:434
@ dsTV_RESOLUTION_576p
576p Resolution
Definition dsTypes.h:420
@ dsTV_RESOLUTION_2160p50
2160p50 Resolution
Definition dsTypes.h:433
@ dsTV_RESOLUTION_1080p50
1080p50 Resolution
Definition dsTypes.h:430
@ dsTV_RESOLUTION_1080i
1080i Resolution
Definition dsTypes.h:424
@ dsTV_RESOLUTION_480p
480p Resolution
Definition dsTypes.h:418
@ dsTV_RESOLUTION_1080p30
1080p30 Resolution
Definition dsTypes.h:428
@ dsTV_RESOLUTION_1080p60
1080p60 Resolution
Definition dsTypes.h:431
@ dsTV_RESOLUTION_720p
720p Resolution
Definition dsTypes.h:422
@ dsTV_RESOLUTION_1080i25
1080i25 Resolution
Definition dsTypes.h:427
@ dsTV_RESOLUTION_576i
576i Resolution
Definition dsTypes.h:419
@ dsTV_RESOLUTION_1080p
1080p Resolution
Definition dsTypes.h:425
@ dsTV_RESOLUTION_1080p24
1080p24 Resolution
Definition dsTypes.h:426
@ dsTV_RESOLUTION_1080i50
1080i50 Resolution
Definition dsTypes.h:429
@ dsTV_RESOLUTION_720p50
720p50 Resolution
Definition dsTypes.h:423
@ dsMS12FEATURE_DE
Dialogue Enhancement.
Definition dsTypes.h:664
@ dsMS12FEATURE_MAX
Out of range.
Definition dsTypes.h:665
@ dsMS12FEATURE_DAPV2
Dolby Audio Processing Version 2.
Definition dsTypes.h:663
@ dsVIDEO_FRAMERATE_30
Played at 30 frames per second.
Definition dsTypes.h:452
@ dsVIDEO_FRAMERATE_24
Played at 24 frames per second.
Definition dsTypes.h:450
@ dsVIDEO_FRAMERATE_50
Played at 50 frames per second.
Definition dsTypes.h:456
@ dsVIDEO_FRAMERATE_23dot98
Played at 23.98 frames per second.
Definition dsTypes.h:454
@ dsVIDEO_FRAMERATE_29dot97
Played at 29.97 frames per second.
Definition dsTypes.h:455
@ dsVIDEO_FRAMERATE_60
Played at 60 frames per second.
Definition dsTypes.h:453
@ dsVIDEO_FRAMERATE_MAX
Out of range.
Definition dsTypes.h:458
@ dsVIDEO_FRAMERATE_UNKNOWN
Unknown frame rate.
Definition dsTypes.h:449
@ dsVIDEO_FRAMERATE_59dot94
Played at 59.94 frames per second.
Definition dsTypes.h:457
@ dsVIDEO_FRAMERATE_25
Played at 25 frames per second.
Definition dsTypes.h:451
@ dsAUDIOARCSUPPORT_eARC
Enhanced Audio Return Channel.
Definition dsTypes.h:227
@ dsAUDIOARCSUPPORT_ARC
Audio Return Channel.
Definition dsTypes.h:226
@ dsAUDIOARCSUPPORT_NONE
None.
Definition dsTypes.h:225
@ dsAUDIO_ATMOS_NOTSUPPORTED
ATMOS audio not supported.
Definition dsTypes.h:332
@ dsAUDIO_ATMOS_ATMOSMETADATA
capable of parsing ATMOS metadata
Definition dsTypes.h:334
@ dsAUDIO_ATMOS_DDPLUSSTREAM
can handle dd plus stream which is only way to pass ATMOS metadata
Definition dsTypes.h:333
@ dsVIDEO_PIXELRES_1280x720
1280x720 Resolution
Definition dsTypes.h:405
@ dsVIDEO_PIXELRES_1920x1080
1920x1080 Resolution
Definition dsTypes.h:406
@ dsVIDEO_PIXELRES_3840x2160
3840x2160 Resolution
Definition dsTypes.h:407
@ dsVIDEO_PIXELRES_MAX
Out of range.
Definition dsTypes.h:409
@ dsVIDEO_PIXELRES_4096x2160
3840x2160 Resolution
Definition dsTypes.h:408
@ dsVIDEO_PIXELRES_720x576
720x576 Resolution
Definition dsTypes.h:404
@ dsVIDEO_PIXELRES_720x480
720x480 Resolution
Definition dsTypes.h:403
@ dsVIDEO_ZOOM_LB_2_21_1_ON_16_9
Definition dsTypes.h:542
@ dsVIDEO_ZOOM_CCO
Definition dsTypes.h:539
@ dsVIDEO_ZOOM_WIDE_4_3
Definition dsTypes.h:546
@ dsVIDEO_ZOOM_UNKNOWN
Definition dsTypes.h:533
@ dsVIDEO_ZOOM_LB_2_21_1_ON_4_3
Definition dsTypes.h:541
@ dsVIDEO_ZOOM_FULL
Definition dsTypes.h:535
@ dsVIDEO_ZOOM_LB_14_9
Definition dsTypes.h:537
@ dsVIDEO_ZOOM_MAX
Definition dsTypes.h:547
@ dsVIDEO_ZOOM_16_9_ZOOM
Definition dsTypes.h:544
@ dsVIDEO_ZOOM_PLATFORM
Definition dsTypes.h:543
@ dsVIDEO_ZOOM_NONE
Definition dsTypes.h:534
@ dsVIDEO_ZOOM_PAN_SCAN
Definition dsTypes.h:540
@ dsVIDEO_ZOOM_LB_16_9
Definition dsTypes.h:536
@ dsVIDEO_ZOOM_PILLARBOX_4_3
Definition dsTypes.h:545
@ dsAUDIOPORT_TYPE_SPDIF
SPDIF audio output
Definition dsTypes.h:102
@ dsAUDIOPORT_TYPE_HDMI_ARC
HDMI ARC/EARC audio output
Definition dsTypes.h:104
@ dsAUDIOPORT_TYPE_HDMI
HDMI audio output
Definition dsTypes.h:101
@ dsAUDIOPORT_TYPE_HEADPHONE
Headphone jack.
Definition dsTypes.h:105
@ dsAUDIOPORT_TYPE_SPEAKER
SPEAKER audio output
Definition dsTypes.h:103
@ dsAUDIOPORT_TYPE_ID_LR
RCA audio output
Definition dsTypes.h:100
@ dsAUDIOPORT_TYPE_MAX
Out of range.
Definition dsTypes.h:106
@ dsAUDIO_DUCKINGTYPE_RELATIVE
Audio ducking relative.
Definition dsTypes.h:181
@ dsAUDIO_DUCKINGTYPE_ABSOLUTE
Audio ducking absolute.
Definition dsTypes.h:180
@ dsAUDIO_STEREO_PASSTHRU
Passthrough mode.
Definition dsTypes.h:322
@ dsAUDIO_STEREO_DDPLUS
Dolby Digital Plus.
Definition dsTypes.h:324
@ dsAUDIO_STEREO_MAX
Out of range.
Definition dsTypes.h:325
@ dsAUDIO_STEREO_MONO
Mono mode.
Definition dsTypes.h:319
@ dsAUDIO_STEREO_DD
Dolby Digital.
Definition dsTypes.h:323
@ dsAUDIO_STEREO_SURROUND
Surround mode.
Definition dsTypes.h:321
@ dsAUDIO_STEREO_STEREO
Normal stereo mode (L+R)
Definition dsTypes.h:320
@ dsAUDIO_STEREO_UNKNOWN
Stereo mode none.
Definition dsTypes.h:318
@ dsCOMPOSITE_IN_PORT_0
Composite port index 0.
Definition dsTypes.h:1024
@ dsCOMPOSITE_IN_PORT_MAX
Out of range.
Definition dsTypes.h:1026
@ dsCOMPOSITE_IN_PORT_1
Composite port index 1.
Definition dsTypes.h:1025
@ dsCOMPOSITE_IN_PORT_NONE
No composite port.
Definition dsTypes.h:1023
@ dsVIDEOPORT_TYPE_SCART
SCART video output.
Definition dsTypes.h:388
@ dsVIDEOPORT_TYPE_DVI
DVI (Panel-Link, HDCP) video output.
Definition dsTypes.h:383
@ dsVIDEOPORT_TYPE_RF
RF modulator (channel 3/4) video output
Definition dsTypes.h:379
@ dsVIDEOPORT_TYPE_HDMI
HDMI video output.
Definition dsTypes.h:385
@ dsVIDEOPORT_TYPE_HDMI_INPUT
HDMI video input.
Definition dsTypes.h:386
@ dsVIDEOPORT_TYPE_COMPONENT
Component video output.
Definition dsTypes.h:384
@ dsVIDEOPORT_TYPE_MAX
Out of range
Definition dsTypes.h:389
@ dsVIDEOPORT_TYPE_SVIDEO
S-Video video output
Definition dsTypes.h:381
@ dsVIDEOPORT_TYPE_BB
Baseband (composite, RCA) video output
Definition dsTypes.h:380
@ dsVIDEOPORT_TYPE_INTERNAL
Internal (integrated/internal display) video output.
Definition dsTypes.h:387
@ dsVIDEOPORT_TYPE_1394
IEEE 1394 (Firewire) video output.
Definition dsTypes.h:382
@ dsDISPLAY_COLORDEPTH_12BIT
12 bit color depth
Definition dsTypes.h:950
@ dsDISPLAY_COLORDEPTH_10BIT
10 bit color depth
Definition dsTypes.h:949
@ dsDISPLAY_COLORDEPTH_8BIT
8 bit color depth
Definition dsTypes.h:948
@ dsDISPLAY_COLORDEPTH_UNKNOWN
Unknown color depth.
Definition dsTypes.h:947
@ dsDISPLAY_COLORDEPTH_AUTO
Automatic color depth.
Definition dsTypes.h:951
@ dsAUDIO_CMP_LIGHT
Light audio level compression.
Definition dsTypes.h:140
@ dsAUDIO_CMP_MAX
Out of range.
Definition dsTypes.h:143
@ dsAUDIO_CMP_HEAVY
Heavy audio level compression.
Definition dsTypes.h:142
@ dsAUDIO_CMP_NONE
No audio compression.
Definition dsTypes.h:139
@ dsAUDIO_CMP_MEDIUM
Medium audio level compression.
Definition dsTypes.h:141
@ dsAUDIO_DUCKINGACTION_STOP
Audio ducking stop.
Definition dsTypes.h:173
@ dsAUDIO_DUCKINGACTION_START
Audio ducking start.
Definition dsTypes.h:172
@ dsDISPLAY_QUANTIZATIONRANGE_LIMITED
Limited quantization range.
Definition dsTypes.h:937
@ dsDISPLAY_QUANTIZATIONRANGE_FULL
Full quantization range.
Definition dsTypes.h:938
@ dsDISPLAY_QUANTIZATIONRANGE_UNKNOWN
Unknown quantization range.
Definition dsTypes.h:936
@ dsAUDIOSUPPORT_MS12
Multi Stream 12.
Definition dsTypes.h:213
@ dsAUDIOSUPPORT_NONE
None.
Definition dsTypes.h:207
@ dsAUDIOSUPPORT_DAD
Digital Audio Delivery.
Definition dsTypes.h:211
@ dsAUDIOSUPPORT_Invalid
Invalid.
Definition dsTypes.h:215
@ dsAUDIOSUPPORT_ATMOS
Dolby Atmos.
Definition dsTypes.h:208
@ dsAUDIOSUPPORT_DAPv2
Digital Audio Processing version 2.
Definition dsTypes.h:212
@ dsAUDIOSUPPORT_DDPLUS
Dolby Digital Plus.
Definition dsTypes.h:210
@ dsAUDIOSUPPORT_MS12V2
Multi Stream Version 2.
Definition dsTypes.h:214
@ dsAUDIOSUPPORT_DD
Dolby Digitial.
Definition dsTypes.h:209
@ dsDISPLAY_COLORSPACE_AUTO
Automatic color space.
Definition dsTypes.h:927
@ dsDISPLAY_COLORSPACE_YCbCr422
YCbCr4.2.2 color space.
Definition dsTypes.h:924
@ dsDISPLAY_COLORSPACE_RGB
RGB color space.
Definition dsTypes.h:923
@ dsDISPLAY_COLORSPACE_UNKNOWN
Unknown color space.
Definition dsTypes.h:922
@ dsDISPLAY_COLORSPACE_YCbCr420
YCbCr4.2.0 color space.
Definition dsTypes.h:926
@ dsDISPLAY_COLORSPACE_YCbCr444
YCbCr4.4.4 color space.
Definition dsTypes.h:925
@ dsHDMI_IN_PORT_2
Definition dsTypes.h:967
@ dsHDMI_IN_PORT_1
Definition dsTypes.h:966
@ dsHDMI_IN_PORT_0
Definition dsTypes.h:965
@ dsHDMI_IN_PORT_MAX
Definition dsTypes.h:968
@ dsHDMI_IN_PORT_NONE
Definition dsTypes.h:964
@ dsHDCP_STATUS_UNPOWERED
Connected Sink Device does not support HDCP.
Definition dsTypes.h:357
@ dsHDCP_STATUS_MAX
Out of range.
Definition dsTypes.h:363
@ dsHDCP_STATUS_AUTHENTICATED
HDCP Authentication Process is initiated and Passed.
Definition dsTypes.h:359
@ dsHDCP_STATUS_AUTHENTICATIONFAILURE
HDCP Authentication Failure or Link Integroty Failure.
Definition dsTypes.h:360
@ dsHDCP_STATUS_INPROGRESS
HDCP Authentication in Progress.
Definition dsTypes.h:361
@ dsHDCP_STATUS_UNAUTHENTICATED
HDCP Authentication Process is not initiated.
Definition dsTypes.h:358
@ dsHDCP_STATUS_PORTDISABLED
HDMI output port disabled.
Definition dsTypes.h:362
@ dsFPD_MODE_ANY
All modes (text/clock)
Definition dsTypes.h:821
@ dsFPD_MODE_TEXT
Text mode.
Definition dsTypes.h:822
@ dsFPD_MODE_CLOCK
Clock mode.
Definition dsTypes.h:823
@ dsAUDIO_ENC_NONE
No digital audio output
Definition dsTypes.h:120
@ dsAUDIO_ENC_AC3
AC-3 digital audio encoding format
Definition dsTypes.h:123
@ dsAUDIO_ENC_DISPLAY
Platform-selected digital audio encoding format.
Definition dsTypes.h:121
@ dsAUDIO_ENC_MAX
Out of range
Definition dsTypes.h:125
@ dsAUDIO_ENC_EAC3
DD+/E-AC-3 digital audio encoding format.
Definition dsTypes.h:124
@ dsAUDIO_ENC_PCM
PCM digital audio encoding format.
Definition dsTypes.h:122
@ dsVIDEO_SSMODE_3D_TOP_AND_BOTTOM
3D top & bottom stereo mode
Definition dsTypes.h:518
@ dsVIDEO_SSMODE_MAX
Out of range.
Definition dsTypes.h:519
@ dsVIDEO_SSMODE_3D_SIDE_BY_SIDE
3D side by side (L/R) stereo mode
Definition dsTypes.h:517
@ dsVIDEO_SSMODE_UNKNOWN
Unknown mode.
Definition dsTypes.h:515
@ dsVIDEO_SSMODE_2D
2D mode
Definition dsTypes.h:516
@ HDMI_EDID_VER_14
Definition dsTypes.h:1097
@ HDMI_EDID_VER_MAX
Definition dsTypes.h:1099
@ HDMI_EDID_VER_20
Definition dsTypes.h:1098
@ dsVIDEO_SCANMODE_PROGRESSIVE
Progressive video.
Definition dsTypes.h:473
@ dsVIDEO_SCANMODE_INTERLACED
Interlaced video.
Definition dsTypes.h:472
@ dsVIDEO_SCANMODE_MAX
Out of range.
Definition dsTypes.h:474
@ dsPOWER_ON
Host Power-on state.
Definition dsTypes.h:873
@ dsPOWER_STANDBY
Host Standby state.
Definition dsTypes.h:874
@ dsPOWER_OFF
Host Power-off state.
Definition dsTypes.h:875
@ dsAVICONTENT_TYPE_GRAPHICS
Definition dsTypes.h:1128
@ dsAVICONTENT_TYPE_GAME
Definition dsTypes.h:1131
@ dsAVICONTENT_TYPE_INVALID
Definition dsTypes.h:1132
@ dsAVICONTENT_TYPE_CINEMA
Definition dsTypes.h:1130
@ dsAVICONTENT_TYPE_PHOTO
Definition dsTypes.h:1129
@ dsCOMP_IN_SIGNAL_STATUS_STABLE
Composite input Stable signal status.
Definition dsTypes.h:1014
@ dsCOMP_IN_SIGNAL_STATUS_MAX
Out of range.
Definition dsTypes.h:1015
@ dsCOMP_IN_SIGNAL_STATUS_UNSTABLE
Composite input Unstable signal status.
Definition dsTypes.h:1012
@ dsCOMP_IN_SIGNAL_STATUS_NONE
Composite input signal status NONE.
Definition dsTypes.h:1010
@ dsCOMP_IN_SIGNAL_STATUS_NOTSUPPORTED
Composite input Not supported signal status.
Definition dsTypes.h:1013
@ dsCOMP_IN_SIGNAL_STATUS_NOSIGNAL
Composite input No Signal status.
Definition dsTypes.h:1011
@ dsAUDIO_FORMAT_DOLBY_EAC3
Enhance Audio Compression 3 audio format.
Definition dsTypes.h:153
@ dsAUDIO_FORMAT_AAC
Advanced Audio Coding.
Definition dsTypes.h:161
@ dsAUDIO_FORMAT_DOLBY_MAT_ATMOS
Metadata-enhanced Audio Transmission Dolby Atmos audio format.
Definition dsTypes.h:159
@ dsAUDIO_FORMAT_DOLBY_AC4_ATMOS
Audio Compression 4 Dolby Atmos audio format.
Definition dsTypes.h:160
@ dsAUDIO_FORMAT_DOLBY_EAC3_ATMOS
Audio Compression 3 Dolby Atmos audio format.
Definition dsTypes.h:157
@ dsAUDIO_FORMAT_PCM
Pulse-code Modulation audio format.
Definition dsTypes.h:151
@ dsAUDIO_FORMAT_MAX
Out of range.
Definition dsTypes.h:165
@ dsAUDIO_FORMAT_WMA
Windows Media audio format.
Definition dsTypes.h:163
@ dsAUDIO_FORMAT_DOLBY_MAT
Metadata-enhanced Audio Transmission audio format.
Definition dsTypes.h:155
@ dsAUDIO_FORMAT_VORBIS
Vorbis sound audio format.
Definition dsTypes.h:162
@ dsAUDIO_FORMAT_DOLBY_TRUEHD_ATMOS
Dolby TrueHD Dolby Atmos audio format.
Definition dsTypes.h:158
@ dsAUDIO_FORMAT_DOLBY_TRUEHD
Dolby TrueHD audio format.
Definition dsTypes.h:156
@ dsAUDIO_FORMAT_DOLBY_AC4
Audio Compression 4 audio format.
Definition dsTypes.h:154
@ dsAUDIO_FORMAT_NONE
No audio format.
Definition dsTypes.h:150
@ dsAUDIO_FORMAT_UNKNOWN
Unknown audio format.
Definition dsTypes.h:164
@ dsAUDIO_FORMAT_DOLBY_AC3
Audio Compression 3 audio format.
Definition dsTypes.h:152
@ dsHOST_SLEEP_MODE_DEEP
Definition dsTypes.h:865
@ dsHOST_SLEEP_MODE_MAX
Definition dsTypes.h:866
@ dsHOST_SLEEP_MODE_LIGHT
Definition dsTypes.h:864
@ dsAUDIOPORT_STATE_INITIALIZED
Definition dsTypes.h:1120
@ dsAUDIOPORT_STATE_MAX
Definition dsTypes.h:1121
@ dsAUDIOPORT_STATE_UNINITIALIZED
Definition dsTypes.h:1119
@ dsVIDEO_ASPECT_RATIO_MAX
Out of range.
Definition dsTypes.h:501
@ dsVIDEO_ASPECT_RATIO_16x9
16:9 aspect ratio
Definition dsTypes.h:500
@ dsVIDEO_ASPECT_RATIO_4x3
4:3 aspect ratio
Definition dsTypes.h:499
@ dsDISPLAY_MATRIXCOEFFICIENT_eHDMI_FR_YCbCr
eHDMI Full Range YcbCr Matrix Coefficient
Definition dsTypes.h:896
@ dsDISPLAY_MATRIXCOEFFICIENT_eHDMI_RGB
eHDMI RGB Matrix Coefficient
Definition dsTypes.h:893
@ dsDISPLAY_MATRIXCOEFFICIENT_UNKNOWN
Unknown Matrix Coefficient.
Definition dsTypes.h:884
@ dsDISPLAY_MATRIXCOEFFICIENT_BT_709
ITU BT 709 Matrix Coefficient.
Definition dsTypes.h:885
@ dsDISPLAY_MATRIXCOEFFICIENT_eFCC
eFCC Matrix Coefficient
Definition dsTypes.h:894
@ dsDISPLAY_MATRIXCOEFFICIENT_XvYCC_709
XvYCC_709 Matrix Coefficient.
Definition dsTypes.h:888
@ dsDISPLAY_MATRIXCOEFFICIENT_BT_470_2_BG
ITU BT 470_2_BG Matrix Coefficient.
Definition dsTypes.h:886
@ dsDISPLAY_MATRIXCOEFFICIENT_eDVI_FR_RGB
eDVI Full Range RGB Matrix Coefficient
Definition dsTypes.h:892
@ dsDISPLAY_MATRIXCOEFFICIENT_SMPTE_170M
SMPTE 170M Matrix Coefficient.
Definition dsTypes.h:887
@ dsDISPLAY_MATRIXCOEFFICIENT_BT_2020_CL
ITU BT 2020 constant luminance Matrix Coefficient.
Definition dsTypes.h:891
@ dsDISPLAY_MATRIXCOEFFICIENT_eXvYCC_601
XvYCC_601 Matrix Coefficient.
Definition dsTypes.h:889
@ dsDISPLAY_MATRIXCOEFFICIENT_BT_2020_NCL
ITU BT 2020 non constant luminance Matrix Coefficient.
Definition dsTypes.h:890
@ dsDISPLAY_MATRIXCOEFFICIENT_eSMPTE_240M
eSMPTE 240M Matrix Coefficient
Definition dsTypes.h:895
@ dsFPD_TEXTDISP_TEXT
7-segment LED display
Definition dsTypes.h:759
@ dsFPD_TEXTDISP_MAX
Out of range.
Definition dsTypes.h:760
@ dsDISPLAY_COLORIMETRY_INFO_BT2020NCL
Definition dsTypes.h:911
@ dsDISPLAY_COLORIMETRY_INFO_ADOBEYCC601
Definition dsTypes.h:908
@ dsDISPLAY_COLORIMETRY_INFO_BT2020CL
Definition dsTypes.h:910
@ dsDISPLAY_COLORIMETRY_INFO_XVYCC709
Definition dsTypes.h:906
@ dsDISPLAY_COLORIMETRY_INFO_XVYCC601
Definition dsTypes.h:905
@ dsDISPLAY_COLORIMETRY_INFO_SYCC601
Definition dsTypes.h:907
@ dsDISPLAY_COLORIMETRY_INFO_DCI_P3
Definition dsTypes.h:913
@ dsDISPLAY_COLORIMETRY_INFO_BT2020RGB
Definition dsTypes.h:912
@ dsDISPLAY_COLORIMETRY_INFO_ADOBERGB
Definition dsTypes.h:909
@ dsDISPLAY_COLORIMETRY_INFO_UNKNOWN
Definition dsTypes.h:904
@ dsHDMI_IN_SIGNAL_STATUS_NOSIGNAL
Definition dsTypes.h:977
@ dsHDMI_IN_SIGNAL_STATUS_NOTSUPPORTED
Definition dsTypes.h:980
@ dsHDMI_IN_SIGNAL_STATUS_UNSTABLE
Definition dsTypes.h:978
@ dsHDMI_IN_SIGNAL_STATUS_STABLE
Definition dsTypes.h:982
@ dsHDMI_IN_SIGNAL_STATUS_MAX
Definition dsTypes.h:983
@ dsHDMI_IN_SIGNAL_STATUS_NONE
Definition dsTypes.h:976
@ dsFPD_STATE_OFF
FPD State Disable.
Definition dsTypes.h:774
@ dsFPD_STATE_ON
FPD State Enable.
Definition dsTypes.h:775
@ dsHDRSTANDARD_DolbyVision
Video Format Dolby Vision.
Definition dsTypes.h:642
@ dsHDRSTANDARD_NONE
When No video format is decoded.
Definition dsTypes.h:639
@ dsHDRSTANDARD_Invalid
When invalid value observed.
Definition dsTypes.h:646
@ dsHDRSTANDARD_HLG
Video Format HLG.
Definition dsTypes.h:641
@ dsHDRSTANDARD_SDR
Video Format SDR.
Definition dsTypes.h:645
@ dsHDRSTANDARD_HDR10
Video Format HDR.
Definition dsTypes.h:640
@ dsHDRSTANDARD_HDR10PLUS
Video Format HDRPlus.
Definition dsTypes.h:644
@ dsHDRSTANDARD_TechnicolorPrime
Video Format Techinicolor Prime.
Definition dsTypes.h:643
@ dsVIDEO_CODEC_HEVC_PROFILE_MAIN10
Definition dsTypes.h:1057
@ dsVIDEO_CODEC_HEVC_PROFILE_MAIN
Definition dsTypes.h:1056
@ dsVIDEO_CODEC_HEVC_PROFILE_MAINSTILLPICTURE
Definition dsTypes.h:1058
@ dsHDCP_VERSION_2X
HDCP Protocol version 2.x.
Definition dsTypes.h:348
@ dsHDCP_VERSION_MAX
Out of range.
Definition dsTypes.h:349
@ dsHDCP_VERSION_1X
HDCP Protocol version 1.x.
Definition dsTypes.h:347
@ dsSURROUNDMODE_DDPLUS
Surround mode Dolby Digital Plus.
Definition dsTypes.h:656
@ dsSURROUNDMODE_NONE
No surround mode.
Definition dsTypes.h:654
@ dsSURROUNDMODE_DD
Surround mode Dolby Digital.
Definition dsTypes.h:655
@ dsFPD_TIME_STRING
Text string.
Definition dsTypes.h:804
@ dsFPD_TIME_12_HOUR
12 hour time format
Definition dsTypes.h:802
@ dsFPD_TIME_24_HOUR
24 hour time format
Definition dsTypes.h:803
@ dsVIDEO_CODEC_MPEG2
Definition dsTypes.h:1047
@ dsVIDEO_CODEC_MPEGHPART2
Definition dsTypes.h:1045
@ dsVIDEO_CODEC_MPEG4PART10
Definition dsTypes.h:1046
@ dsMS12SUPPORT_NONE
MS12 Supported None.
Definition dsTypes.h:259
@ dsMS12SUPPORT_Invalid
Invalid / Out of range.
Definition dsTypes.h:263
@ dsMS12SUPPORT_InteligentEqualizer
MS12 supported Intelligent Equalizer.
Definition dsTypes.h:261
@ dsMS12SUPPORT_DialogueEnhancer
MS12 Dialogue Enhancer supported.
Definition dsTypes.h:262
@ dsMS12SUPPORT_DolbyVolume
MS12 supported Dolby Volume.
Definition dsTypes.h:260
@ dsVIDEO_BGCOLOR_BLACK
Background color BLACK.
Definition dsTypes.h:482
@ dsVIDEO_BGCOLOR_NONE
Background color NONE.
Definition dsTypes.h:483
@ dsVIDEO_BGCOLOR_BLUE
Background color BLUE.
Definition dsTypes.h:481
@ dsVIDEO_BGCOLOR_MAX
Out of range.
Definition dsTypes.h:484
@ dsFPD_LED_DEVICE_SOFTWARE_DOWNLOAD_ERROR
Error in downloading new software update.
Definition dsTypes.h:793
@ dsFPD_LED_DEVICE_ACTIVE
Device is active.
Definition dsTypes.h:786
@ dsFPD_LED_DEVICE_WPS_ERROR
Error when trying to connect to WPS.
Definition dsTypes.h:790
@ dsFPD_LED_DEVICE_NONE
Default state.
Definition dsTypes.h:785
@ dsFPD_LED_DEVICE_MAX
Out of range.
Definition dsTypes.h:794
@ dsFPD_LED_DEVICE_STANDBY
Device is in standby mode.
Definition dsTypes.h:787
@ dsFPD_LED_DEVICE_FACTORY_RESET
Reset Device to factory base.
Definition dsTypes.h:791
@ dsFPD_LED_DEVICE_WPS_CONNECTED
Device connected to WPS.
Definition dsTypes.h:789
@ dsFPD_LED_DEVICE_USB_UPGRADE
Updating from USB drive.
Definition dsTypes.h:792
@ dsFPD_LED_DEVICE_WPS_CONNECTING
Device connecting to WPS.
Definition dsTypes.h:788
Structure that holds ARC status for the HDMI ARC/EARC port.
Definition dsTypes.h:247
dsAudioARCTypes_t type
ARC type.
Definition dsTypes.h:248
bool status
Enabled ARC status for the port.
Definition dsTypes.h:249
Structure that defines audio port configuration.
Definition dsTypes.h:671
const dsVideoPortPortId_t * connectedVOPs
Connected video port.
Definition dsTypes.h:673
dsAudioPortId_t id
Port ID.
Definition dsTypes.h:672
Structure that defines the audio port type and associated ID.
Definition dsTypes.h:594
dsAudioPortType_t type
Audio port type.
Definition dsTypes.h:595
int32_t index
Port ID/number.
Definition dsTypes.h:596
Structure that holds Short Audio Descriptors retrieved from connected ARC device.
Definition dsTypes.h:239
int sad[MAX_SAD]
Array of SADs.
Definition dsTypes.h:240
int count
Amount of items in SAD array.
Definition dsTypes.h:241
Structure that defines audio output device configuration.
Definition dsTypes.h:567
size_t numSupportedCompressions
Number of supported audio compression methods.
Definition dsTypes.h:570
const dsAudioCompression_t * compressions
List of audio compression methods supported.
Definition dsTypes.h:571
const dsAudioEncoding_t * encodings
List of audio encodings supported.
Definition dsTypes.h:573
const dsAudioStereoMode_t * stereoModes
List of stereo modes supported.
Definition dsTypes.h:575
int32_t typeId
The audio output type.
Definition dsTypes.h:568
size_t numSupportedStereoModes
Number of supported stereo modes.
Definition dsTypes.h:574
const char * name
Name of the audio output device.
Definition dsTypes.h:569
size_t numSupportedEncodings
Number of supported audio encodings.
Definition dsTypes.h:572
Structure type for Composite input status.
Definition dsTypes.h:1033
bool isPresented
Boolean flag indicating Composite input is enabled for presentation by client.
Definition dsTypes.h:1034
dsCompositeInPort_t activePort
Definition dsTypes.h:1036
bool isPortConnected[dsCOMPOSITE_IN_PORT_MAX]
Boolean flag indicating Composite source connected to this Composite input port.
Definition dsTypes.h:1035
Structure for the EDID display.
Definition dsTypes.h:844
int32_t manufactureWeek
Week of manufacture of the display device.
Definition dsTypes.h:848
int32_t numOfSupportedResolution
Number of Supported Resolution.
Definition dsTypes.h:855
uint8_t physicalAddressB
Physical Address for HDMI node B.
Definition dsTypes.h:852
dsVideoPortResolution_t suppResolutionList[dsEEDID_MAX_VIDEO_CODE *dsVIDEO_SSMODE_MAX]
EDID Supported Resoultion List.
Definition dsTypes.h:856
uint8_t physicalAddressD
Physical Address for HDMI node D.
Definition dsTypes.h:854
bool hdmiDeviceType
Device type ( true if HDMI, false if DVI )
Definition dsTypes.h:849
int32_t serialNumber
Serial number of the display device.
Definition dsTypes.h:846
int32_t productCode
Product code of the display device.
Definition dsTypes.h:845
bool isRepeater
Receiver is a repeater ( true if Repeater, false if connected Receiver is not a repeater)
Definition dsTypes.h:850
uint8_t physicalAddressC
Physical Address for HDMI node C.
Definition dsTypes.h:853
char monitorName[dsEEDID_MAX_MON_NAME_LENGTH]
Connected Display Monitor Name.
Definition dsTypes.h:857
int32_t manufactureYear
Year of manufacture of the display device.
Definition dsTypes.h:847
uint8_t physicalAddressA
Physical Address for HDMI node A.
Definition dsTypes.h:851
Structure type for HDMI input ARC Capability.
Definition dsTypes.h:1001
bool isPortArcCapable[dsHDMI_IN_PORT_MAX]
Definition dsTypes.h:1002
Structure type for HDMI input status.
Definition dsTypes.h:990
bool isPresented
Definition dsTypes.h:991
bool isPortConnected[dsHDMI_IN_PORT_MAX]
Definition dsTypes.h:992
dsHdmiInPort_t activePort
Definition dsTypes.h:993
Definition dsTypes.h:275
char audioProfileList[MAX_PROFILE_LIST_BUFFER_LEN]
Definition dsTypes.h:276
int audioProfileCount
Total number of profiles.
Definition dsTypes.h:278
Structure that captures Supported Game Features list.
Definition dsTypes.h:1110
int gameFeatureCount
Definition dsTypes.h:1112
char gameFeatureList[MAX_FEATURE_LIST_BUFFER_LEN]
Definition dsTypes.h:1111
This defines the type of surround virtualizer mode.
Definition dsTypes.h:302
int mode
0 = off, 1 = on, 2 = auto
Definition dsTypes.h:303
int boost
Value for the boost level. From 0 to 96.
Definition dsTypes.h:304
Structure that defines video device configuration for the output.
Definition dsTypes.h:558
dsVideoZoom_t defaultDFC
Definition dsTypes.h:561
const dsVideoZoom_t * supportedDFCs
Definition dsTypes.h:560
size_t numSupportedDFCs
Definition dsTypes.h:559
Structure that defines video port configuration settings.
Definition dsTypes.h:684
dsVideoPortPortId_t id
Port ID.
Definition dsTypes.h:685
const char * defaultResolution
Default resolution's name.
Definition dsTypes.h:687
dsAudioPortId_t connectedAOP
Connected audio port.
Definition dsTypes.h:686
Structure that defines port id associated with video port.
Definition dsTypes.h:602
int32_t index
Port ID/number.
Definition dsTypes.h:604
dsVideoPortType_t type
Video port type.
Definition dsTypes.h:603
Structure that defines video port resolution settings of output video device.
Definition dsTypes.h:582
dsVideoStereoScopicMode_t stereoScopicMode
The associated stereoscopic mode.
Definition dsTypes.h:586
dsVideoFrameRate_t frameRate
The associated frame rate.
Definition dsTypes.h:587
dsVideoAspectRatio_t aspectRatio
The associated aspect ratio.
Definition dsTypes.h:585
bool interlaced
The associated scan mode( true if interlaced, false if progressive )
Definition dsTypes.h:588
char name[32]
Name the resolution.
Definition dsTypes.h:583
dsVideoResolution_t pixelResolution
The resolution associated with the name.
Definition dsTypes.h:584
Structure that defines the video output port configuration.
Definition dsTypes.h:610
size_t numSupportedResolutions
Number of supported resolutions.
Definition dsTypes.h:616
bool dtcpSupported
Is DTCP supported?
Definition dsTypes.h:613
bool hdcpSupported
Is HDCP supported?
Definition dsTypes.h:614
dsVideoPortType_t typeId
The video output type.
Definition dsTypes.h:611
dsVideoPortResolution_t * supportedResolutions
List of supported resolutions.
Definition dsTypes.h:617
const char * name
Name of the video output port.
Definition dsTypes.h:612
int32_t restrictedResollution
Any restricted resolution; -1 if no.
Definition dsTypes.h:615
This defines the type of volume leveller mode.
Definition dsTypes.h:294
int mode
0 = off, 1 = on, 2 = auto
Definition dsTypes.h:295
int level
Value for the volume leveller. From 0 to 10.
Definition dsTypes.h:296
Structure type for spd info frame.
Definition dsTypes.h:1082
uint8_t source_info
Definition dsTypes.h:1090
uint8_t checksum
Definition dsTypes.h:1087
uint8_t rsd
Definition dsTypes.h:1086
uint8_t version
Definition dsTypes.h:1084
uint8_t length
Definition dsTypes.h:1085
uint8_t product_des[16]
Definition dsTypes.h:1089
uint8_t vendor_name[8]
Definition dsTypes.h:1088
uint8_t pkttype
Definition dsTypes.h:1083
Structure type for Video codec info.
Definition dsTypes.h:1074
unsigned int num_entries
Definition dsTypes.h:1075
Structure type for HEVC profiles.
Definition dsTypes.h:1065
float level
Definition dsTypes.h:1067
dsVideoCodecHevcProfiles_t profile
Definition dsTypes.h:1066