#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <pthread.h>
#include <unistd.h>
#include <sys/stat.h>
#include <OMX_Core.h>
#include <OMX_Component.h>
#include <OMX_Types.h>
#include <OMX_Audio.h>
#include <tsemaphore.h>
#include <user_debug_levels.h>
Go to the source code of this file.
Data Structures | |
struct | appPrivateType |
Defines | |
#define | VERSIONMAJOR 1 |
#define | VERSIONMINOR 1 |
#define | VERSIONREVISION 0 |
#define | VERSIONSTEP 0 |
#define | BUFFER_IN_SIZE 2*8192 |
Functions | |
OMX_ERRORTYPE | volcEventHandler (OMX_OUT OMX_HANDLETYPE hComponent, OMX_OUT OMX_PTR pAppData, OMX_OUT OMX_EVENTTYPE eEvent, OMX_OUT OMX_U32 Data1, OMX_OUT OMX_U32 Data2, OMX_IN OMX_PTR pEventData) |
OMX_ERRORTYPE | volcEmptyBufferDone (OMX_OUT OMX_HANDLETYPE hComponent, OMX_OUT OMX_PTR pAppData, OMX_OUT OMX_BUFFERHEADERTYPE *pBuffer) |
OMX_ERRORTYPE | volcFillBufferDone (OMX_OUT OMX_HANDLETYPE hComponent, OMX_OUT OMX_PTR pAppData, OMX_OUT OMX_BUFFERHEADERTYPE *pBuffer) |
#define BUFFER_IN_SIZE 2*8192 |
Definition at line 66 of file omxvolcontroltest.h.
#define VERSIONMAJOR 1 |
Specification version
Definition at line 50 of file omxvolcontroltest.h.
#define VERSIONMINOR 1 |
Definition at line 51 of file omxvolcontroltest.h.
#define VERSIONREVISION 0 |
Definition at line 52 of file omxvolcontroltest.h.
#define VERSIONSTEP 0 |
Definition at line 53 of file omxvolcontroltest.h.
OMX_ERRORTYPE volcEmptyBufferDone | ( | OMX_OUT OMX_HANDLETYPE | hComponent, | |
OMX_OUT OMX_PTR | pAppData, | |||
OMX_OUT OMX_BUFFERHEADERTYPE * | pBuffer | |||
) |
Definition at line 362 of file omxvolcontroltest.c.
References BUFFER_IN_SIZE, DEB_LEV_FULL_SEQ, DEB_LEV_SIMPLE_SEQ, DEBUG, appPrivateType::eofSem, err, fd, filesize, OMX_BUFFERFLAG_EOS, OMX_EmptyThisBuffer, OMX_ErrorNone, OMX_TRUE, and tsem_up().
OMX_ERRORTYPE volcEventHandler | ( | OMX_OUT OMX_HANDLETYPE | hComponent, | |
OMX_OUT OMX_PTR | pAppData, | |||
OMX_OUT OMX_EVENTTYPE | eEvent, | |||
OMX_OUT OMX_U32 | Data1, | |||
OMX_OUT OMX_U32 | Data2, | |||
OMX_IN OMX_PTR | pEventData | |||
) |
Definition at line 312 of file omxvolcontroltest.c.
References DEB_LEV_SIMPLE_SEQ, DEBUG, appPrivateType::eofSem, appPrivateType::eventSem, OMX_BUFFERFLAG_EOS, OMX_CommandPortDisable, OMX_CommandPortEnable, OMX_CommandStateSet, OMX_ErrorNone, OMX_EventBufferFlag, OMX_EventCmdComplete, OMX_StateExecuting, OMX_StateIdle, OMX_StateInvalid, OMX_StateLoaded, OMX_StatePause, OMX_StateWaitForResources, and tsem_up().
OMX_ERRORTYPE volcFillBufferDone | ( | OMX_OUT OMX_HANDLETYPE | hComponent, | |
OMX_OUT OMX_PTR | pAppData, | |||
OMX_OUT OMX_BUFFERHEADERTYPE * | pBuffer | |||
) |
Definition at line 398 of file omxvolcontroltest.c.
References DEB_LEV_ERR, DEB_LEV_FULL_SEQ, DEBUG, err, OMX_ErrorNone, and OMX_FillThisBuffer.