vdr
2.2.0
|
#include <stdint.h>
#include <string.h>
#include <sys/ioctl.h>
#include "hdffcmd.h"
#include "hdffcmd_base.h"
#include "hdffcmd_defs.h"
Go to the source code of this file.
Functions | |
int | HdffCmdAvSetPlayMode (int OsdDevice, uint8_t PlayMode, int Realtime) |
int | HdffCmdAvSetVideoPid (int OsdDevice, uint8_t DecoderIndex, uint16_t Pid, HdffVideoStreamType_t StreamType) |
int | HdffCmdAvSetAudioPid (int OsdDevice, uint8_t DecoderIndex, uint16_t Pid, HdffAudioStreamType_t StreamType, HdffAvContainerType_t ContainerType) |
int | HdffCmdAvSetPcrPid (int OsdDevice, uint8_t DecoderIndex, uint16_t Pid) |
int | HdffCmdAvSetTeletextPid (int OsdDevice, uint8_t DecoderIndex, uint16_t Pid) |
int | HdffCmdAvSetVideoWindow (int OsdDevice, uint8_t DecoderIndex, int Enable, uint16_t X, uint16_t Y, uint16_t Width, uint16_t Height) |
int | HdffCmdAvShowStillImage (int OsdDevice, uint8_t DecoderIndex, const uint8_t *StillImage, int Size, HdffVideoStreamType_t StreamType) |
int | HdffCmdAvSetDecoderInput (int OsdDevice, uint8_t DecoderIndex, uint8_t DemultiplexerIndex) |
int | HdffCmdAvSetDemultiplexerInput (int OsdDevice, uint8_t DemultiplexerIndex, uint8_t TsInputIndex) |
int | HdffCmdAvSetVideoFormat (int OsdDevice, uint8_t DecoderIndex, const HdffVideoFormat_t *VideoFormat) |
int | HdffCmdAvSetVideoOutputMode (int OsdDevice, uint8_t DecoderIndex, HdffVideoOutputMode_t OutputMode) |
int | HdffCmdAvSetStc (int OsdDevice, uint8_t DecoderIndex, uint64_t Stc) |
int | HdffCmdAvFlushBuffer (int OsdDevice, uint8_t DecoderIndex, int FlushAudio, int FlushVideo) |
int | HdffCmdAvEnableSync (int OsdDevice, uint8_t DecoderIndex, int SyncAudio, int SyncVideo) |
int | HdffCmdAvSetVideoSpeed (int OsdDevice, uint8_t DecoderIndex, int32_t Speed) |
int | HdffCmdAvSetAudioSpeed (int OsdDevice, uint8_t DecoderIndex, int32_t Speed) |
int | HdffCmdAvEnableVideoAfterStop (int OsdDevice, uint8_t DecoderIndex, int EnableVideoAfterStop) |
int | HdffCmdAvSetAudioDelay (int OsdDevice, int16_t Delay) |
int | HdffCmdAvSetAudioDownmix (int OsdDevice, HdffAudioDownmixMode_t DownmixMode) |
int | HdffCmdAvSetAudioChannel (int OsdDevice, uint8_t AudioChannel) |
int | HdffCmdAvSetSyncShift (int OsdDevice, int16_t SyncShift) |
int | HdffCmdAvMuteAudio (int OsdDevice, uint8_t DecoderIndex, int Mute) |
int | HdffCmdAvMuteVideo (int OsdDevice, uint8_t DecoderIndex, int Mute) |
int HdffCmdAvEnableSync | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
int | SyncAudio, | ||
int | SyncVideo | ||
) |
Definition at line 325 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_ENABLE_SYNC, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvEnableSync().
int HdffCmdAvEnableVideoAfterStop | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
int | EnableVideoAfterStop | ||
) |
Definition at line 383 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_ENABLE_VIDEO_AFTER_STOP, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvEnableVideoAfterStop().
int HdffCmdAvFlushBuffer | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
int | FlushAudio, | ||
int | FlushVideo | ||
) |
Definition at line 291 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_FLUSH_BUFFER, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvFlushBuffer().
int HdffCmdAvMuteAudio | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
int | Mute | ||
) |
Definition at line 472 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_MUTE_AUDIO, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvMuteAudio().
int HdffCmdAvMuteVideo | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
int | Mute | ||
) |
Definition at line 490 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_MUTE_VIDEO, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
int HdffCmdAvSetAudioChannel | ( | int | OsdDevice, |
uint8_t | AudioChannel | ||
) |
Definition at line 436 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_AUDIO_CHANNEL, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetAudioChannel().
int HdffCmdAvSetAudioDelay | ( | int | OsdDevice, |
int16_t | Delay | ||
) |
Definition at line 402 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_AUDIO_DELAY, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetAudioDelay().
int HdffCmdAvSetAudioDownmix | ( | int | OsdDevice, |
HdffAudioDownmixMode_t | DownmixMode | ||
) |
Definition at line 419 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_AUDIO_DOWNMIX, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetAudioDownmix().
int HdffCmdAvSetAudioPid | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
uint16_t | Pid, | ||
HdffAudioStreamType_t | StreamType, | ||
HdffAvContainerType_t | ContainerType | ||
) |
Definition at line 72 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_AUDIO_PID, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetAudioPid().
int HdffCmdAvSetAudioSpeed | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
int32_t | Speed | ||
) |
Definition at line 364 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_AUDIO_SPEED, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetAudioSpeed().
int HdffCmdAvSetDecoderInput | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
uint8_t | DemultiplexerIndex | ||
) |
Definition at line 193 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_DECODER_INPUT, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetDecoderInput().
int HdffCmdAvSetDemultiplexerInput | ( | int | OsdDevice, |
uint8_t | DemultiplexerIndex, | ||
uint8_t | TsInputIndex | ||
) |
Definition at line 212 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_DEMULTIPLEXER_INPUT, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetDemultiplexerInput().
int HdffCmdAvSetPcrPid | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
uint16_t | Pid | ||
) |
Definition at line 95 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_PCR_PID, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetPcrPid().
int HdffCmdAvSetPlayMode | ( | int | OsdDevice, |
uint8_t | PlayMode, | ||
int | Realtime | ||
) |
Definition at line 33 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_PLAY_MODE, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetPlayMode().
int HdffCmdAvSetStc | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
uint64_t | Stc | ||
) |
Definition at line 271 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_STC, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetStc().
int HdffCmdAvSetSyncShift | ( | int | OsdDevice, |
int16_t | SyncShift | ||
) |
Definition at line 453 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_OPTIONS, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetSyncShift().
int HdffCmdAvSetTeletextPid | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
uint16_t | Pid | ||
) |
Definition at line 115 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_TELETEXT_PID, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetTeletextPid().
int HdffCmdAvSetVideoFormat | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
const HdffVideoFormat_t * | VideoFormat | ||
) |
Definition at line 231 of file hdffcmd_av.c.
References HdffVideoFormat_t::AfdEnabled, HdffVideoFormat_t::AutomaticEnabled, BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_VIDEO_FORMAT, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), OSD_RAW_CMD, HdffVideoFormat_t::TvFormat, and HdffVideoFormat_t::VideoConversion.
Referenced by HDFF::cHdffCmdIf::CmdAvSetVideoFormat().
int HdffCmdAvSetVideoOutputMode | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
HdffVideoOutputMode_t | OutputMode | ||
) |
Definition at line 253 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_VIDEO_OUTPUT_MODE, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetVideoOutputMode().
int HdffCmdAvSetVideoPid | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
uint16_t | Pid, | ||
HdffVideoStreamType_t | StreamType | ||
) |
Definition at line 51 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_VIDEO_PID, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetVideoPid().
int HdffCmdAvSetVideoSpeed | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
int32_t | Speed | ||
) |
Definition at line 345 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_VIDEO_SPEED, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetVideoSpeed().
int HdffCmdAvSetVideoWindow | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
int | Enable, | ||
uint16_t | X, | ||
uint16_t | Y, | ||
uint16_t | Width, | ||
uint16_t | Height | ||
) |
Definition at line 135 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, HDFF_MSG_AV_SET_VIDEO_WINDOW, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), and OSD_RAW_CMD.
Referenced by HDFF::cHdffCmdIf::CmdAvSetVideoWindow().
int HdffCmdAvShowStillImage | ( | int | OsdDevice, |
uint8_t | DecoderIndex, | ||
const uint8_t * | StillImage, | ||
int | Size, | ||
HdffVideoStreamType_t | StreamType | ||
) |
Definition at line 163 of file hdffcmd_av.c.
References BitBuffer_Init(), BitBuffer_SetBits(), osd_raw_cmd_s::cmd_data, osd_raw_cmd_s::cmd_len, osd_raw_data_s::data_buffer, osd_raw_data_s::data_handle, osd_raw_data_s::data_length, HDFF_MSG_AV_SHOW_STILL_IMAGE, HDFF_MSG_GROUP_AV_DECODER, HDFF_MSG_TYPE_COMMAND, HdffCmdBuildHeader(), HdffCmdSetLength(), OSD_RAW_CMD, and OSD_RAW_DATA.
Referenced by HDFF::cHdffCmdIf::CmdAvShowStillImage().