⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loader.h

📁 TI DM6446板卡上调用decode engine进行解码的例子程序
💻 H
字号:
/* * loader.h * * ============================================================================ * Copyright (c) Texas Instruments Inc 2005 * * Use of this software is controlled by the terms and conditions found in the * license agreement under which this software has been supplied or provided. * ============================================================================ */#ifndef _LOADER_H#define _LOADER_Htypedef struct LoaderState {    int inputFd;            // INPUT - The file descriptor of the input file    int loop;               // INPUT - true if clip is to start over    char *readBuffer;       // INPUT - A large CMEM allocated buffer    int readBufSize;        // INPUT - Total size of the readBuffer    int readSize;           // INPUT - Size of the 'window'    int doneMask;           // INPUT - VIDEO_DONE or SOUND_DONE    int firstFrame;         // OUTPUT - True if first frame of a clip    int endClip;            // OUTPUT - True if time to start clip over    char *curPtr;           // INTERNAL - Points to current frame    char *readPtr;          // INTERNAL - Points to the end of current 'window'} LoaderState;extern int loaderPrime(LoaderState *state, char **framePtr);extern int loaderGetFrame(LoaderState *state, int frameSize, char **framePtr);#endif /* _LOADER_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -