OpenMAXBellagio
0.9.3
|
#include <stdio.h>
#include <stdlib.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.
Macros | |
#define | VERSIONMAJOR 1 |
#define | VERSIONMINOR 1 |
#define | VERSIONREVISION 0 |
#define | VERSIONSTEP 0 |
Functions | |
OMX_ERRORTYPE | rmEventHandler (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_EVENTTYPE eEvent, OMX_U32 Data1, OMX_U32 Data2, OMX_PTR pEventData) |
OMX_ERRORTYPE | rmEmptyBufferDone (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_BUFFERHEADERTYPE *pBuffer) |
OMX_ERRORTYPE | rmFillBufferDone (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_BUFFERHEADERTYPE *pBuffer) |
Variables | |
tsem_t * | eventSem |
OMX_BOOL | bResourceErrorReceived |
#define VERSIONMAJOR 1 |
test/components/resource_manager/omxrmtest.h
This simple test application tests the functionalities of the simple resource manager provided with Bellagio components that implements the basic support defined in OpenMAX for resource management.
Copyright (C) 2007-2009 STMicroelectronics Copyright (C) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Specification version
Definition at line 44 of file omxrmtest.h.
#define VERSIONMINOR 1 |
Definition at line 45 of file omxrmtest.h.
#define VERSIONREVISION 0 |
Definition at line 46 of file omxrmtest.h.
#define VERSIONSTEP 0 |
Definition at line 47 of file omxrmtest.h.
OMX_ERRORTYPE rmEmptyBufferDone | ( | OMX_HANDLETYPE | hComponent, |
OMX_PTR | pAppData, | ||
OMX_BUFFERHEADERTYPE * | pBuffer | ||
) |
Definition at line 322 of file omxprioritytest.c.
References OMX_ErrorNone.
OMX_ERRORTYPE rmEventHandler | ( | OMX_HANDLETYPE | hComponent, |
OMX_PTR | pAppData, | ||
OMX_EVENTTYPE | eEvent, | ||
OMX_U32 | Data1, | ||
OMX_U32 | Data2, | ||
OMX_PTR | pEventData | ||
) |
Definition at line 266 of file omxprioritytest.c.
References bResourceErrorReceived, DEB_LEV_SIMPLE_SEQ, DEBUG, DEFAULT_MESSAGES, eventSem, OMX_CommandPortDisable, OMX_CommandStateSet, OMX_ErrorInsufficientResources, OMX_ErrorNone, OMX_ErrorResourcesLost, OMX_ErrorResourcesPreempted, OMX_EventCmdComplete, OMX_EventError, OMX_EventResourcesAcquired, OMX_StateExecuting, OMX_StateIdle, OMX_StateInvalid, OMX_StateLoaded, OMX_StatePause, OMX_StateWaitForResources, OMX_TRUE, and tsem_up().
OMX_ERRORTYPE rmFillBufferDone | ( | OMX_HANDLETYPE | hComponent, |
OMX_PTR | pAppData, | ||
OMX_BUFFERHEADERTYPE * | pBuffer | ||
) |
Definition at line 330 of file omxprioritytest.c.
References OMX_ErrorNone.
OMX_BOOL bResourceErrorReceived |
Definition at line 49 of file omxrmtest.h.
tsem_t* eventSem |
Definition at line 48 of file omxrmtest.h.