OMX_BUFFERHEADERTYPE Struct Reference
[Buffer Management]

#include <OMX_Core.h>


Data Fields

OMX_U32 nSize
OMX_VERSIONTYPE nVersion
OMX_U8pBuffer
OMX_U32 nAllocLen
OMX_U32 nFilledLen
OMX_U32 nOffset
OMX_PTR pAppPrivate
OMX_PTR pPlatformPrivate
OMX_PTR pInputPortPrivate
OMX_PTR pOutputPortPrivate
OMX_HANDLETYPE hMarkTargetComponent
OMX_PTR pMarkData
OMX_U32 nTickCount
OMX_TICKS nTimeStamp
OMX_U32 nFlags
OMX_U32 nOutputPortIndex
OMX_U32 nInputPortIndex


Detailed Description

Definition at line 372 of file OMX_Core.h.


Field Documentation

OMX_U32 OMX_BUFFERHEADERTYPE::nSize

size of the structure in bytes

Definition at line 374 of file OMX_Core.h.

OMX_VERSIONTYPE OMX_BUFFERHEADERTYPE::nVersion

OMX specification version information

Definition at line 375 of file OMX_Core.h.

OMX_U8* OMX_BUFFERHEADERTYPE::pBuffer

Pointer to actual block of memory that is acting as the buffer

Definition at line 376 of file OMX_Core.h.

Referenced by alsasinkEmptyBufferDone(), audiodecEmptyBufferDone(), audiodecEventHandler(), audiodecFillBufferDone(), audiomixerFillBufferDone(), audiosinkEmptyBufferDone(), audiosrcFillBufferDone(), base_port_AllocateBuffer(), base_port_FreeBuffer(), base_port_FreeTunnelBuffer(), base_port_SendBufferFunction(), base_port_UseBuffer(), colorconvEmptyBufferDone(), colorconvFillBufferDone(), fb_sinkEmptyBufferDone(), filereaderFillBufferDone(), main(), omx_alsasink_component_BufferMgmtCallback(), omx_alsasrc_component_BufferMgmtCallback(), omx_audio_mixer_component_BufferMgmtCallback(), omx_audiodec_component_BufferMgmtCallback(), omx_fbdev_sink_component_BufferMgmtCallback(), omx_ffmpeg_colorconv_component_BufferMgmtCallback(), omx_filereader_component_BufferMgmtCallback(), omx_maddec_component_BufferMgmtCallback(), omx_parser3gp_component_BufferMgmtCallback(), omx_symbianoutputstreamsink_component_BufferMgmtCallback(), omx_videodec_component_BufferMgmtCallback(), omx_videoenc_component_BufferMgmtCallback(), omx_videosrc_component_BufferMgmtCallback(), omx_volume_component_BufferMgmtCallback(), omx_vorbisdec_component_BufferMgmtCallbackVorbis(), parser3gpFillBufferDone(), videodecEmptyBufferDone(), videodecEventHandler(), videodecFillBufferDone(), videoencEmptyBufferDone(), videosrc_port_AllocateBuffer(), videosrc_port_FreeBuffer(), videosrc_port_FreeTunnelBuffer(), videosrcFillBufferDone(), volumeEmptyBufferDone(), and volumeFillBufferDone().

OMX_U32 OMX_BUFFERHEADERTYPE::nAllocLen

size of the buffer allocated, in bytes

Definition at line 378 of file OMX_Core.h.

Referenced by base_port_AllocateBuffer(), base_port_UseBuffer(), omx_alsasrc_component_BufferMgmtCallback(), omx_parser3gp_component_BufferMgmtCallback(), omx_videodec_component_BufferMgmtCallback(), omx_videoenc_component_BufferMgmtCallback(), omx_vorbisdec_component_BufferMgmtCallbackVorbis(), and videosrc_port_AllocateBuffer().

OMX_U32 OMX_BUFFERHEADERTYPE::nFilledLen

number of bytes currently in the buffer

Definition at line 379 of file OMX_Core.h.

Referenced by alsasinkEmptyBufferDone(), audiodecEmptyBufferDone(), audiodecFillBufferDone(), audiomixerFillBufferDone(), audiosinkEmptyBufferDone(), audiosrcFillBufferDone(), colorconvEmptyBufferDone(), colorconvFillBufferDone(), fb_sinkEmptyBufferDone(), filereaderFillBufferDone(), main(), omx_alsasink_component_BufferMgmtCallback(), omx_alsasrc_component_BufferMgmtCallback(), omx_audio_mixer_component_BufferMgmtCallback(), omx_audiodec_component_BufferMgmtCallback(), omx_base_filter_BufferMgmtFunction(), omx_base_source_twoport_BufferMgmtFunction(), omx_fbdev_sink_component_BufferMgmtCallback(), omx_ffmpeg_colorconv_component_BufferMgmtCallback(), omx_filereader_component_BufferMgmtCallback(), omx_maddec_component_BufferMgmtCallback(), omx_parser3gp_component_BufferMgmtCallback(), omx_symbianoutputstreamsink_component_BufferMgmtCallback(), omx_videodec_component_BufferMgmtCallback(), omx_videoenc_component_BufferMgmtCallback(), omx_videosrc_component_BufferMgmtCallback(), omx_volume_component_BufferMgmtCallback(), omx_vorbisdec_component_BufferMgmtCallbackVorbis(), parser3gpFillBufferDone(), videodecEmptyBufferDone(), videodecFillBufferDone(), videosrcFillBufferDone(), volumeEmptyBufferDone(), and volumeFillBufferDone().

OMX_U32 OMX_BUFFERHEADERTYPE::nOffset

start offset of valid data in bytes from the start of the buffer

Definition at line 381 of file OMX_Core.h.

Referenced by main(), omx_audiodec_component_BufferMgmtCallback(), omx_filereader_component_BufferMgmtCallback(), omx_maddec_component_BufferMgmtCallback(), omx_parser3gp_component_BufferMgmtCallback(), omx_videodec_component_BufferMgmtCallback(), omx_videoenc_component_BufferMgmtCallback(), omx_videosrc_component_BufferMgmtCallback(), and omx_vorbisdec_component_BufferMgmtCallbackVorbis().

OMX_PTR OMX_BUFFERHEADERTYPE::pAppPrivate

pointer to any data the application wants to associate with this buffer

Definition at line 383 of file OMX_Core.h.

Referenced by base_port_AllocateBuffer(), base_port_UseBuffer(), and videosrc_port_AllocateBuffer().

OMX_PTR OMX_BUFFERHEADERTYPE::pPlatformPrivate

pointer to any data the platform wants to associate with this buffer

Definition at line 385 of file OMX_Core.h.

Referenced by base_port_AllocateBuffer(), base_port_UseBuffer(), and videosrc_port_AllocateBuffer().

OMX_PTR OMX_BUFFERHEADERTYPE::pInputPortPrivate

pointer to any data the input port wants to associate with this buffer

Definition at line 387 of file OMX_Core.h.

OMX_PTR OMX_BUFFERHEADERTYPE::pOutputPortPrivate

pointer to any data the output port wants to associate with this buffer

Definition at line 389 of file OMX_Core.h.

OMX_HANDLETYPE OMX_BUFFERHEADERTYPE::hMarkTargetComponent

The component that will generate a mark event upon processing this buffer.

Definition at line 391 of file OMX_Core.h.

Referenced by omx_base_filter_BufferMgmtFunction(), and omx_base_source_twoport_BufferMgmtFunction().

OMX_PTR OMX_BUFFERHEADERTYPE::pMarkData

Application specific data associated with the mark sent on a mark event to disambiguate this mark from others.

Definition at line 393 of file OMX_Core.h.

Referenced by omx_base_filter_BufferMgmtFunction(), and omx_base_source_twoport_BufferMgmtFunction().

OMX_U32 OMX_BUFFERHEADERTYPE::nTickCount

Optional entry that the component and application can update with a tick count when they access the component. This value should be in microseconds. Since this is a value relative to an arbitrary starting point, this value cannot be used to determine absolute time. This is an optional entry and not all components will update it.

Definition at line 396 of file OMX_Core.h.

OMX_TICKS OMX_BUFFERHEADERTYPE::nTimeStamp

Timestamp corresponding to the sample starting at the first logical sample boundary in the buffer. Timestamps of successive samples within the buffer may be inferred by adding the duration of the of the preceding buffer to the timestamp of the preceding buffer.

Definition at line 405 of file OMX_Core.h.

Referenced by omx_base_filter_BufferMgmtFunction(), and omx_filereader_component_BufferMgmtCallback().

OMX_U32 OMX_BUFFERHEADERTYPE::nFlags

buffer specific flags

Definition at line 412 of file OMX_Core.h.

Referenced by omx_base_filter_BufferMgmtFunction(), omx_base_source_twoport_BufferMgmtFunction(), omx_filereader_component_BufferMgmtCallback(), and omx_parser3gp_component_BufferMgmtCallback().

OMX_U32 OMX_BUFFERHEADERTYPE::nOutputPortIndex

The index of the output port (if any) using this buffer

Definition at line 413 of file OMX_Core.h.

Referenced by base_port_AllocateBuffer(), base_port_ReturnBufferFunction(), base_port_SendBufferFunction(), base_port_UseBuffer(), omx_parser3gp_component_BufferMgmtCallback(), and videosrc_port_AllocateBuffer().

OMX_U32 OMX_BUFFERHEADERTYPE::nInputPortIndex

The index of the input port (if any) using this buffer

Definition at line 415 of file OMX_Core.h.

Referenced by base_port_AllocateBuffer(), base_port_ReturnBufferFunction(), base_port_SendBufferFunction(), base_port_UseBuffer(), main(), omx_audio_mixer_component_BufferMgmtCallback(), and videosrc_port_AllocateBuffer().


The documentation for this struct was generated from the following file:
Generated for OpenMAX Bellagio rel. 0.3.5-svn by  doxygen 1.5.1
SourceForge.net Logo