ds_videodecoder.h
来自「linux下实现视频播放的播放器」· C头文件 代码 · 共 37 行
H
37 行
#ifndef AVIFILE_DS_VIDEODECODER_H#define AVIFILE_DS_VIDEODECODER_H#ifdef __cplusplusextern "C" {#endiftypedef struct _DS_VideoDecoder DS_VideoDecoder;int DS_VideoDecoder_GetCapabilities(DS_VideoDecoder *);DS_VideoDecoder * DS_VideoDecoder_Open(const char* dllname, GUID* guid, BITMAPINFOHEADER * format, int flip, int maxauto);void DS_VideoDecoder_Destroy(DS_VideoDecoder *);void DS_VideoDecoder_StartInternal(DS_VideoDecoder *);void DS_VideoDecoder_StopInternal(DS_VideoDecoder *);int DS_VideoDecoder_DecodeInternal(DS_VideoDecoder *, int is_keyframe, SampleProcUserData* pUserData);/* * bits == 0 - leave unchanged */int DS_VideoDecoder_SetDestFmt(DS_VideoDecoder *, int bits, unsigned int csp, BITMAPINFOHEADER*);int DS_VideoDecoder_SetDirection(DS_VideoDecoder *, int d);int DS_VideoDecoder_GetValue(DS_VideoDecoder *, const char* name, int* value);int DS_VideoDecoder_SetValue(DS_VideoDecoder *, const char* name, int value);int DS_SetAttr_DivX(char* attribute, int value);#ifdef __cplusplus}#endif#endif /* AVIFILE_DS_VIDEODECODER_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?