OpenMAX Bellagio 0.9.3
omxprioritytest.c File Reference
#include "omxprioritytest.h"
#include <string.h>
#include <bellagio/extension_struct.h>

Go to the source code of this file.

Macros

#define MAX_COMPONENTS   5
#define TIMEOUT   500

Functions

int convertStr2Int (char *str)
void display_help ()
int main (int argc, char **argv)
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

OMX_HANDLETYPEhandle
OMX_CALLBACKTYPE callbacks
int max_value

Macro Definition Documentation

◆ MAX_COMPONENTS

#define MAX_COMPONENTS   5

test/components/resource_manager/omxprioritytest.c

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) 2010 STMicroelectronics

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

Definition at line 31 of file omxprioritytest.c.

Referenced by main().

◆ TIMEOUT

#define TIMEOUT   500

Definition at line 32 of file omxprioritytest.c.

Referenced by main().

Function Documentation

◆ convertStr2Int()

int convertStr2Int ( char * str)

Definition at line 53 of file omxprioritytest.c.

Referenced by main().

◆ display_help()

void display_help ( )

Definition at line 67 of file omxprioritytest.c.

Referenced by main().

◆ main()

◆ rmEmptyBufferDone()

OMX_ERRORTYPE rmEmptyBufferDone ( OMX_HANDLETYPE hComponent,
OMX_PTR pAppData,
OMX_BUFFERHEADERTYPE * pBuffer )

Definition at line 322 of file omxprioritytest.c.

References OMX_ErrorNone.

◆ rmEventHandler()

◆ rmFillBufferDone()

OMX_ERRORTYPE rmFillBufferDone ( OMX_HANDLETYPE hComponent,
OMX_PTR pAppData,
OMX_BUFFERHEADERTYPE * pBuffer )

Definition at line 330 of file omxprioritytest.c.

References OMX_ErrorNone.

Variable Documentation

◆ callbacks

OMX_CALLBACKTYPE callbacks
Initial value:
= { .EventHandler = rmEventHandler,
.EmptyBufferDone = rmEmptyBufferDone,
.FillBufferDone = rmFillBufferDone,
}
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)

Definition at line 38 of file omxprioritytest.c.

◆ handle

OMX_HANDLETYPE* handle

Definition at line 36 of file omxprioritytest.c.

◆ max_value

int max_value

Definition at line 74 of file omxprioritytest.c.

Referenced by main().


Generated for OpenMAX Bellagio rel. 0.9.3 by  doxygen 1.5.1
SourceForge.net Logo