DtvKit_ATSC3.0
Loading...
Searching...
No Matches
atsc_plf_av_control_template.h
Go to the documentation of this file.
1/*******************************************************************************
2 * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3 *
4 * This file is part of a DTVKit Software Component
5 * You are permitted to copy, modify or distribute this file subject to the terms
6 * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
7 *
8 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
9 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
10 * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
11 *
12 * If you or your organisation is not a member of DTVKit then you have access
13 * to this source code outside of the terms of the licence agreement
14 * and you are expected to delete this and any associated files immediately.
15 * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
16 *******************************************************************************/
17
18#include "atsc_basetype.h"
19
24void STB_AVInitialise(uint8_t audio_paths, uint8_t video_paths);
25
26void STB_AVBlankVideo(uint8_t path, bool blank);
27
28void STB_AVSetVideoSource(uint8_t path, int32_t source, uint32_t param);
29
30bool STB_AVSetVideoCodec(uint8_t path, int32_t codec);
31
32int32_t STB_AVGetVideoCodec(uint8_t path);
33
34void STB_AVStartVideoDecoding(uint8_t path);
35
36void STB_AVPauseVideoDecoding(uint8_t path);
37
38void STB_AVResumeVideoDecoding(uint8_t path);
39
40void STB_AVStopVideoDecoding(uint8_t decoder);
41
42void STB_AVSetAudioSource(uint8_t path, int32_t source, uint32_t param);
43
44bool STB_AVSetAudioCodec(uint8_t path, int32_t codec);
45
46int32_t STB_AVGetAudioCodec(uint8_t path);
47
48void STB_AVChangeAudioMode(uint8_t path, int32_t mode);
49
50void STB_AVStartAudioDecoding(uint8_t decoder);
51
52void STB_AVStopAudioDecoding(uint8_t decoder);
53
54void STB_AVSetAudioVolume(uint8_t path, uint8_t vol);
55
56uint8_t STB_AVGetAudioVolume(uint8_t path);
57
58void STB_AVSetAudioMute(uint8_t path, bool mute);
59
60bool STB_AVGetAudioMute(uint8_t path);
61
62void STB_AVGetSTC(uint8_t path, uint8_t stc[5]);
63
64void STB_AVSetTVType(uint8_t path, int32_t ratio, int32_t format);
65
66void STB_AVGetScreenSize(uint8_t path, uint16_t *width, uint16_t *height);
67
68void STB_AVSetAVOutputSource(int32_t output, int32_t source, uint32_t param);
69
70void STB_AVSetAVOutput(bool av_on);
71
72void STB_AVSetHDMIStandby(bool standby);
73
74uint8_t STB_AVGetHDMISupportedModes(int32_t **modes);
75
76void STB_AVGetHDMINativeResolution(uint16_t *width, uint16_t *height);
77
78void STB_AVEnableHDMIDecoding(void);
79
80void STB_AVDisableHDMIDecoding(void);
81
82bool STB_AVIsHDCPAuthenticated(void);
83
84int32_t STB_AVPlayAudioSample(uint8_t path, uint32_t loop_count);
85
86int32_t STB_AVLoadAudioSample(uint8_t path, uint8_t *data, uint32_t size);
87
88int32_t STB_AVPauseAudioSample(uint8_t path);
89
90int32_t STB_AVResumeAudioSample(uint8_t path);
91
92void STB_AVStopAudioSample(uint8_t path);
93
94void STB_AVSetSpdifMode(uint8_t path, int32_t audio_type);
95
96void STB_AVSetHDMIAudioMode(uint8_t path, int32_t audio_type);
97
98void STB_AVSetAudioDelay(uint8_t path, uint16_t millisecond);
99
100void STB_AVSetVideoCallback(uint8_t path, void (*callback)(int32_t *, void *), void *user_data);
101
102uint8_t STB_AVGetVideoFrameRate(uint8_t path);
103
104int32_t STB_AVGetHDMINativeFormat(void);
105
106void STB_AVRegisterCcCallback(uint8_t path, void *context, int32_t callback);