DVBCore  22.11.0
Open Source DVB Engine
stbhwav.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2004 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
24 // pre-processor mechanism so multiple inclusions don't cause compilation error
25 
26 #ifndef _STBHWAV_H
27 #define _STBHWAV_H
28 
29 #include "techtype.h"
30 #include "stbhwc.h"
31 #include "osdtype.h"
32 
33 //---Constant and macro definitions for public use-----------------------------
34 
35 //---Enumerations for public use-----------------------------------------------
36 
37 typedef enum e_stb_av_audio_mode
38 {
39  AV_AUDIO_STEREO = 0,
40  AV_AUDIO_LEFT = 1,
41  AV_AUDIO_RIGHT = 2,
42  AV_AUDIO_MONO = 3,
43  AV_AUDIO_MULTICHANNEL = 4
44 } E_STB_AV_AUDIO_MODE;
45 
46 typedef enum e_stb_av_decode_source
47 {
48  AV_DEMUX = 0,
49  AV_MEMORY = 1
50 } E_STB_AV_DECODE_SOURCE;
51 
52 typedef enum e_stb_av_video_codec
53 {
54  AV_VIDEO_CODEC_AUTO = 0,
55  AV_VIDEO_CODEC_MPEG1 = 1,
56  AV_VIDEO_CODEC_MPEG2 = 2,
57  AV_VIDEO_CODEC_H264 = 3,
58  AV_VIDEO_CODEC_H265 = 4,
59  AV_VIDEO_CODEC_AVS = 5,
60 } E_STB_AV_VIDEO_CODEC;
61 
62 typedef enum e_stb_av_audio_codec
63 {
64  AV_AUDIO_CODEC_AUTO = 0,
65  AV_AUDIO_CODEC_MP2 = 1,
66  AV_AUDIO_CODEC_MP3 = 2,
67  AV_AUDIO_CODEC_AC3 = 3,
68  AV_AUDIO_CODEC_EAC3 = 4,
69  AV_AUDIO_CODEC_AAC = 5,
70  AV_AUDIO_CODEC_HEAAC = 6,
71  AV_AUDIO_CODEC_AAC_ADTS = 7,
72  AV_AUDIO_CODEC_HEAAC_V2 = 8
73 } E_STB_AV_AUDIO_CODEC;
74 
75 typedef E_ASPECT_RATIO E_STB_AV_ASPECT_RATIO;
76 
77 typedef enum e_stb_av_video_format
78 {
79  VIDEO_FORMAT_UNDEFINED = 255,
80  VIDEO_FORMAT_AUTO = 0,
81  VIDEO_FORMAT_ORIGINAL,
82  VIDEO_FORMAT_PALBGH,
83  VIDEO_FORMAT_PALDKL,
84  VIDEO_FORMAT_PALI,
85  VIDEO_FORMAT_PALM,
86  VIDEO_FORMAT_PALN,
87  VIDEO_FORMAT_NTSC,
88  VIDEO_FORMAT_SECAMBGH,
89  VIDEO_FORMAT_SECAMDKL,
90  VIDEO_FORMAT_576IHD,
91  VIDEO_FORMAT_576PHD,
92  VIDEO_FORMAT_720HD, /* HD Format, 1280x720 progressive, 50 fps */
93  VIDEO_FORMAT_720P50HD = VIDEO_FORMAT_720HD,
94  VIDEO_FORMAT_720P60HD,
95  VIDEO_FORMAT_1080IHD, /* HD Format, 1920x1080 interlaced, 25 fps */
96  VIDEO_FORMAT_1080P25HD, /* HD Format, 1920x1080 progressive, 25 fps */
97  VIDEO_FORMAT_1080P30HD, /* HD Format, 1920x1080 progressive, 30 fps */
98  VIDEO_FORMAT_1080I50HD, /* HD Format, 1920x1080 interlaced, 50 fps */
99  VIDEO_FORMAT_1080P50HD, /* HD Format, 1920x1080 progressive, 50 fps */
100  VIDEO_FORMAT_1080P60HD, /* HD Format, 1920x1080 progressive, 60 fps */
101  VIDEO_FORMAT_2160P24UHD,
102  VIDEO_FORMAT_2160P25UHD,
103  VIDEO_FORMAT_2160P30UHD,
104  VIDEO_FORMAT_2160P50UHD,
105  VIDEO_FORMAT_2160P60UHD,
106 } E_STB_AV_VIDEO_FORMAT;
107 
108 typedef enum e_stb_av_outputs
109 {
110  AV_OUTPUT_TV_SCART = 0,
111  AV_OUTPUT_VCR_SCART = 1,
112  AV_OUTPUT_AUX_SCART = 2,
113  AV_OUTPUT_HDMI = 3
114 } E_STB_AV_OUTPUTS;
115 
116 typedef enum e_stb_av_sources
117 {
118  AV_SOURCE_ENCODER_SVIDEO = 0,
119  AV_SOURCE_ENCODER_RGB = 1,
120  AV_SOURCE_ENCODER_COMPOSITE = 2,
121  AV_SOURCE_VCR_SVIDEO = 3,
122  AV_SOURCE_VCR_RGB = 4,
123  AV_SOURCE_VCR_COMPOSITE = 5,
124  AV_SOURCE_AUX_SVIDEO = 6,
125  AV_SOURCE_AUX_RGB = 7,
126  AV_SOURCE_AUX_COMPOSITE = 8,
127  AV_SOURCE_DVD_SVIDEO = 9,
128  AV_SOURCE_DVD_RGB = 10,
129  AV_SOURCE_DVD_COMPOSITE = 11,
130  AV_SOURCE_ANALOG_TUNER = 12,
131  AV_SOURCE_ANALOG_TUNER_WITH_OSD = 13,
132  AV_SOURCE_HDMI = 14,
133  AV_SOURCE_CVBS = 15,
134  AV_SOURCE_TUNER = 16,
135  AV_SOURCE_NONE = 255
136 } E_STB_AV_SOURCES;
137 
138 typedef enum e_stb_av_srm_reply
139 {
140  SRM_OK = 0,
141  SRM_BUSY = 1,
142  SRM_NOT_REQUIRED = 2
143 } E_STB_AV_SRM_REPLY;
144 
145 typedef enum
146 {
147  VIDEO_INFO_VIDEO_RESOLUTION = 0x01,
148  VIDEO_INFO_SCREEN_RESOLUTION = 0x02,
149  VIDEO_INFO_VIDEO_ASPECT_RATIO = 0x04,
150  VIDEO_INFO_DISPLAY_ASPECT_RATIO = 0x08,
151  VIDEO_INFO_ASPECT_MODE = 0x10,
152  VIDEO_INFO_AFD = 0x20,
153  VIDEO_INFO_DECODER_STATUS = 0x40
154 } E_STB_AV_VIDEO_INFO_TYPE;
155 
156 typedef enum
157 {
158  DECODER_STATUS_NONE,
159  DECODER_STATUS_VIDEO,
160  DECODER_STATUS_IFRAME
161 } E_STB_AV_DECODER_STATUS;
162 
163 typedef enum
164 {
165  DIGITAL_AUDIO_PCM,
166  DIGITAL_AUDIO_COMPRESSED,
167  DIGITAL_AUDIO_AUTO
168 } E_STB_DIGITAL_AUDIO_TYPE;
169 
170 typedef enum e_stb_av_audio_route
171 {
172  SPEAKER_TV_N_AD_HEADPHONE_TV_N_AD,
173  SPEAKER_TV_ONLY_HEADPHONE_AD_ONLY,
174  SPEAKER_TV_N_AD_HEADPHONE_AD_ONLY,
175  SPEAKER_TV_ONLY_HEADPHONE_TV_N_AD,
176  AUTO_ROUTE_UNKNOWN,
177 } E_STB_AV_AUDIO_ROUTE;
178 
179 
180 //---Global type defs for public use-------------------------------------------
181 
182 typedef struct
183 {
184  BOOLEAN macrovision_set;
185  U8BIT macrovision;
186 
187  BOOLEAN aps_set;
188  U8BIT aps;
189 
190  BOOLEAN cgms_a_set;
191  U8BIT cgms_a;
192 
193  BOOLEAN ict_set;
194  U8BIT ict;
195 
196  BOOLEAN hdcp_set;
197  BOOLEAN hdcp;
198 
199  BOOLEAN scms_set;
200  U8BIT scms;
201 
202  BOOLEAN dot_set;
203  U8BIT dot;
205 
206 typedef struct
207 {
208  E_STB_AV_VIDEO_INFO_TYPE flags;
209  U16BIT video_width;
210  U16BIT video_height;
211  U16BIT screen_width;
212  U16BIT screen_height;
213  E_STB_AV_ASPECT_RATIO video_aspect_ratio;
214  E_STB_AV_ASPECT_RATIO display_aspect_ratio;
215  U8BIT afd;
216  E_STB_AV_DECODER_STATUS status;
218 
229 typedef void (*CC_DATA_CALLBACK)(U8BIT path, void *context, U8BIT *data, U16BIT data_len);
230 
231 
232 //---Global Function prototypes for public use---------------------------------
233 
239 void STB_AVInitialise(U8BIT audio_paths, U8BIT video_paths);
240 
246 void STB_AVBlankVideo(U8BIT path, BOOLEAN blank);
247 
254 void STB_AVSetVideoSource(U8BIT path, E_STB_AV_DECODE_SOURCE source, U32BIT param);
255 
262 BOOLEAN STB_AVSetVideoCodec(U8BIT path, E_STB_AV_VIDEO_CODEC codec);
263 
270 E_STB_AV_VIDEO_CODEC STB_AVGetVideoCodec(U8BIT path);
271 
276 void STB_AVStartVideoDecoding(U8BIT path);
277 
283 void STB_AVPauseVideoDecoding(U8BIT path);
284 
290 void STB_AVResumeVideoDecoding(U8BIT path);
291 
297 void STB_AVStopVideoDecoding(U8BIT decoder);
298 
305 void STB_AVSetAudioSource(U8BIT path, E_STB_AV_DECODE_SOURCE source, U32BIT param);
306 
313 BOOLEAN STB_AVSetAudioCodec(U8BIT path, E_STB_AV_AUDIO_CODEC codec);
314 
321 E_STB_AV_AUDIO_CODEC STB_AVGetAudioCodec(U8BIT path);
322 
329 void STB_AVChangeAudioMode(U8BIT path, E_STB_AV_AUDIO_MODE mode);
330 
335 void STB_AVStartAudioDecoding(U8BIT decoder);
336 
341 void STB_AVStopAudioDecoding(U8BIT decoder);
342 
348 void STB_AVSetAudioVolume(U8BIT path, U8BIT vol);
349 
355 U8BIT STB_AVGetAudioVolume(U8BIT path);
356 
362 void STB_AVSetAudioMute(U8BIT path, BOOLEAN mute);
363 
369 BOOLEAN STB_AVGetAudioMute(U8BIT path);
370 
378 void STB_AVSetADSource(U8BIT path, E_STB_AV_DECODE_SOURCE source, U32BIT param);
379 
387 BOOLEAN STB_AVSetADCodec(U8BIT path, E_STB_AV_AUDIO_CODEC codec);
388 
395 E_STB_AV_AUDIO_CODEC STB_AVGetADCodec(U8BIT path);
396 
403 void STB_AVChangeADMode(U8BIT path, E_STB_AV_AUDIO_MODE mode);
404 
409 void STB_AVStartADDecoding(U8BIT decoder);
410 
415 void STB_AVStopADDecoding(U8BIT decoder);
416 
422 void STB_AVSetADVolume(U8BIT path, U8BIT vol);
423 
429 U8BIT STB_AVGetADVolume(U8BIT path);
430 
440 void STB_AVGetSTC(U8BIT path, U8BIT stc[5]);
441 
448 void STB_AVSetTVType(U8BIT path, E_STB_AV_ASPECT_RATIO ratio, E_STB_AV_VIDEO_FORMAT format);
449 
456 void STB_AVGetScreenSize(U8BIT path, U16BIT *width, U16BIT *height);
457 
464 void STB_AVSetAVOutputSource(E_STB_AV_OUTPUTS output, E_STB_AV_SOURCES source, U32BIT param);
465 
470 void STB_AVSetAVOutput(BOOLEAN av_on);
471 
476 void STB_AVSetHDMIStandby(BOOLEAN standby);
477 
483 U8BIT STB_AVGetHDMISupportedModes(E_STB_AV_VIDEO_FORMAT **modes);
484 
491 void STB_AVGetHDMINativeResolution(U16BIT *width, U16BIT *height);
492 
496 void STB_AVEnableHDMIDecoding(void);
497 
501 void STB_AVDisableHDMIDecoding(void);
502 
507 BOOLEAN STB_AVIsHDCPAuthenticated(void);
508 
515 BOOLEAN STB_AVSetIFrameCodec(U8BIT path, E_STB_AV_VIDEO_CODEC codec);
516 
523 void STB_AVLoadIFrame(U8BIT path, U8BIT *data, U32BIT size);
524 
529 void STB_AVShowIFrame(U8BIT path);
530 
535 void STB_AVHideIFrame(U8BIT path);
536 
543 E_HW_STATUS STB_AVPlayAudioSample(U8BIT path, U32BIT loop_count);
544 
552 E_HW_STATUS STB_AVLoadAudioSample(U8BIT path, U8BIT *data, U32BIT size);
553 
559 E_HW_STATUS STB_AVPauseAudioSample(U8BIT path);
560 
566 E_HW_STATUS STB_AVResumeAudioSample(U8BIT path);
567 
572 void STB_AVStopAudioSample(U8BIT path);
573 
579 void STB_AVSetSpdifMode(U8BIT path, E_STB_DIGITAL_AUDIO_TYPE audio_type);
580 
586 void STB_AVSetHDMIAudioMode(U8BIT path, E_STB_DIGITAL_AUDIO_TYPE audio_type);
587 
593 void STB_AVSetAudioDelay(U8BIT path, U16BIT millisecond);
594 
601 void STB_AVSetVideoCallback(U8BIT path, void (*callback)(S_STB_AV_VIDEO_INFO *, void *), void *user_data);
602 
609 void STB_AVApplyVideoTransformation(U8BIT path, S_RECTANGLE *input, S_RECTANGLE *output);
610 
616 S16BIT STB_AVGetMinPlaySpeed(U8BIT video_decoder);
617 
623 S16BIT STB_AVGetMaxPlaySpeed(U8BIT video_decoder);
624 
634 S16BIT STB_AVGetNextPlaySpeed(U8BIT video_decoder, S16BIT speed, S16BIT inc,
635  BOOLEAN include_slow_speeds);
636 
642 
647 void STB_AVSetUhfModulatorChannel(U8BIT chan);
648 
653 U8BIT STB_AVGetUhfModulatorChannel(void);
654 
660 U8BIT STB_AVGetVideoFrameRate(U8BIT path);
661 
669 E_STB_AV_SRM_REPLY STB_AVApplySRM(U8BIT path, U8BIT *data, U32BIT len);
670 
671 void STB_AVCECOneTouchPlay(void);
672 E_STB_AV_VIDEO_FORMAT STB_AVGetHDMINativeFormat(void);
673 void STB_AVPlayMp3(U8BIT path, U8BIT *buffer, U32BIT buffer_size);
674 void STB_AVStopMp3(U8BIT path);
675 
686 void STB_AVRegisterCcCallback(U8BIT path, void *context, CC_DATA_CALLBACK callback);
687 
688 #endif // _STBHWAV_H
U8BIT STB_AVGetVideoFrameRate(U8BIT path)
Returns the frame rate of the video being decoded.
Header file - Function prototypes for A/V control.
void STB_AVGetScreenSize(U8BIT path, U16BIT *width, U16BIT *height)
Returns the current size of the screen in pixels.
U8BIT STB_AVGetUhfModulatorChannel(void)
Gets the current RF modulator channel.
void STB_AVChangeADMode(U8BIT path, E_STB_AV_AUDIO_MODE mode)
Configures the audio description channel mode (stereo/left/right) in the case where dual-mono audio i...
void STB_AVEnableHDMIDecoding(void)
Enables AV output to HDMI.
BOOLEAN STB_AVIsHDCPAuthenticated(void)
Returns whether HDCP has authenticated.
Function prototypes for HW control.
S16BIT STB_AVGetMaxPlaySpeed(U8BIT video_decoder)
Returns maximum video play speed as a percentage.
E_STB_AV_AUDIO_CODEC STB_AVGetADCodec(U8BIT path)
Returns the codec previously set for audio description on the given audio path. This function is curr...
void STB_AVSetSpdifMode(U8BIT path, E_STB_DIGITAL_AUDIO_TYPE audio_type)
Sets the SPDIF output mode, PCM or compressed audio.
S16BIT STB_AVGetMinPlaySpeed(U8BIT video_decoder)
Returns minimum video play speed as a percentage.
void STB_AVHideIFrame(U8BIT path)
Hides the i-frame currently being displayed.
E_HW_STATUS STB_AVPlayAudioSample(U8BIT path, U32BIT loop_count)
Plays back a previously loaded audio sample.
void(* CC_DATA_CALLBACK)(U8BIT path, void *context, U8BIT *data, U16BIT data_len)
Callback function used to notify new closed caption data.
Definition: stbhwav.h:229
void STB_AVLoadIFrame(U8BIT path, U8BIT *data, U32BIT size)
Provides the video data for an i-frame for subsequent decode and display.
void STB_AVGetHDMINativeResolution(U16BIT *width, U16BIT *height)
Returns the native resolution, i.e. the resolution that is set with a call to STB_AVSetTVType(path, ratio, VIDEO_FORMAT_AUTO);.
void STB_AVStopAudioDecoding(U8BIT decoder)
Stops audio decoding on the given audio path.
BOOLEAN STB_AVSetIFrameCodec(U8BIT path, E_STB_AV_VIDEO_CODEC codec)
Sets the codec to be used when decoding the next i-frame from memory.
void STB_AVSetHDMIAudioMode(U8BIT path, E_STB_DIGITAL_AUDIO_TYPE audio_type)
Sets the HDMI audio output mode, PCM or compressed.
void STB_AVStopADDecoding(U8BIT decoder)
Stops decoding audio description on the given audio path.
void STB_AVGetSTC(U8BIT path, U8BIT stc[5])
Returns the current 33-bit System Time Clock from the PCR PES. On some systems, this information may ...
Definition: osdtype.h:56
void STB_AVSetHDMIStandby(BOOLEAN standby)
Sets the standby state of the HDMI output.
void STB_AVSetAudioSource(U8BIT path, E_STB_AV_DECODE_SOURCE source, U32BIT param)
Sets the source of the input for the main audio on the given audio decoder path.
U8BIT STB_AVGetAudioVolume(U8BIT path)
Returns the current volume of the main audio output.
E_HW_STATUS STB_AVLoadAudioSample(U8BIT path, U8BIT *data, U32BIT size)
Loads an audio sample for subsequent playback.
void STB_AVSetVideoCallback(U8BIT path, void(*callback)(S_STB_AV_VIDEO_INFO *, void *), void *user_data)
Register callback for updated video information.
E_STB_AV_SRM_REPLY STB_AVApplySRM(U8BIT path, U8BIT *data, U32BIT len)
Apply System Renewability Message (SRM) to HDCP function.
U8BIT STB_AVGetADVolume(U8BIT path)
Returns the current volume of the audio description output.
void STB_AVShowIFrame(U8BIT path)
Decodes and displays the previously loaded i-frame data.
BOOLEAN STB_AVSetAudioCodec(U8BIT path, E_STB_AV_AUDIO_CODEC codec)
Sets the audio codec to be used when decoding audio with the given audio decoder path.
E_HW_STATUS STB_AVPauseAudioSample(U8BIT path)
Pauses playback of an audio sample.
S16BIT STB_AVGetNextPlaySpeed(U8BIT video_decoder, S16BIT speed, S16BIT inc, BOOLEAN include_slow_speeds)
Returns the next valid speed that is +/- inc above or below the given speed. Slow motion speeds (>-10...
BOOLEAN STB_AVSetVideoCodec(U8BIT path, E_STB_AV_VIDEO_CODEC codec)
Sets the video codec to be used when decoding video with the given video decoder path.
void STB_AVSetUhfModulatorChannel(U8BIT chan)
Sets the output channel of the RF Modulator.
void STB_AVSetVideoSource(U8BIT path, E_STB_AV_DECODE_SOURCE source, U32BIT param)
Sets the source of the input to the given video decoder path.
void STB_AVPauseVideoDecoding(U8BIT path)
Pauses video decoding on the given video path. The video should not be blanked.
void STB_AVSetAudioVolume(U8BIT path, U8BIT vol)
Sets the volume of the main audio output.
void STB_AVStartVideoDecoding(U8BIT path)
Starts video decoding on the given video path.
void STB_AVStopVideoDecoding(U8BIT decoder)
Stops video decoding on the given video path. The video is not expected to be blanked.
Definition: stbhwav.h:182
void STB_AVSetAudioMute(U8BIT path, BOOLEAN mute)
Mute or unmute the audio output on the given audio decoder path.
void STB_AVSetAVOutput(BOOLEAN av_on)
Turns on/off all AV outputs (e.g. for standby mode)
E_HW_STATUS STB_AVResumeAudioSample(U8BIT path)
Resumes playback of an audio sample.
void STB_AVStartADDecoding(U8BIT decoder)
Starts decoding audio description on the given audio path.
void STB_AVRegisterCcCallback(U8BIT path, void *context, CC_DATA_CALLBACK callback)
Registers CC callback function.
System Wide Global Technical Data Type Definitions.
BOOLEAN STB_AVSetADCodec(U8BIT path, E_STB_AV_AUDIO_CODEC codec)
Sets the codec to be used for audio description when decoding audio with the given audio decoder path...
void STB_AVApplyVideoTransformation(U8BIT path, S_RECTANGLE *input, S_RECTANGLE *output)
Apply video transformation.
void STB_AVInitialise(U8BIT audio_paths, U8BIT video_paths)
Initialises the AV components.
void STB_AVStartAudioDecoding(U8BIT decoder)
Starts audio decoding on the given audio path.
void STB_AVDisableHDMIDecoding(void)
Disables AV output to HDMI.
void STB_AVChangeAudioMode(U8BIT path, E_STB_AV_AUDIO_MODE mode)
Configures the main audio channel mode (stereo/left/right) in the case where dual-mono audio is used...
void STB_AVSetAVOutputSource(E_STB_AV_OUTPUTS output, E_STB_AV_SOURCES source, U32BIT param)
Routes a specified AV source to a specified AV output.
U8BIT STB_AVGetHDMISupportedModes(E_STB_AV_VIDEO_FORMAT **modes)
Returns the resolutions supported by the HDMI.
void STB_AVSetADVolume(U8BIT path, U8BIT vol)
Sets the volume of the audio description output.
BOOLEAN STB_AVGetAudioMute(U8BIT path)
Returns the current mute setting of the audio output on the given path.
void STB_AVSetADSource(U8BIT path, E_STB_AV_DECODE_SOURCE source, U32BIT param)
Sets the source of the input for the audio description audio on the given audio decoder path...
E_STB_AV_AUDIO_CODEC STB_AVGetAudioCodec(U8BIT path)
Returns the audio codec previously set for the given audio path. This function is currently unused wi...
void STB_AVStopAudioSample(U8BIT path)
Stops playback of an audio sample.
void STB_AVSetTVType(U8BIT path, E_STB_AV_ASPECT_RATIO ratio, E_STB_AV_VIDEO_FORMAT format)
Sets the aspect ratio and signal format for the connected television.
void STB_AVBlankVideo(U8BIT path, BOOLEAN blank)
Blanks or unblanks the video display.
void STB_AVResumeVideoDecoding(U8BIT path)
Resumes video decoding on the given video path that has previously been paused The video should not b...
E_STB_AV_VIDEO_CODEC STB_AVGetVideoCodec(U8BIT path)
Returns the video codec previously set for the given video path. This function is currently unused wi...
Definition: stbhwav.h:206
void STB_AVSetAudioDelay(U8BIT path, U16BIT millisecond)
Sets the audio delay on the given path.
void STB_AVSetCopyProtection(S_STB_AV_COPY_PROTECTION *copy_protection)
Apply the specified copy protection. This function is used for CI+.