codec_component
_if.h
|
int32_t (*GetComponentVersion)(struct CodecComponentType *self, struct CompVerInfo *verInfo);
|
Obtains the version of a codec component
|
int32_t (*SendCommand)(struct CodecComponentType *self, enum OMX_COMMANDTYPE cmd, uint32_t param, int8_t *cmdData, uint32_t cmdDataLen);
|
Sends a command to a component
|
int32_t (*GetParameter)(struct CodecComponentType *self, uint32_t paramIndex, int8_t *paramStruct, uint32_t paramStructLen);
|
Obtains parameter settings of a component
|
int32_t (*SetParameter)(struct CodecComponentType *self, uint32_t index, int8_t *paramStruct, uint32_t paramStructLen);
|
Sets parameters for a component
|
int32_t (*GetConfig)(struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen);
|
Obtains the configuration of a component
|
int32_t (*SetConfig)(struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen);
|
Sets the component parameters
|
int32_t (*GetExtensionIndex)(struct CodecComponentType *self, const char *paramName, uint32_t *indexType);
|
Obtains the extended index of a component based on a given string
|
int32_t (*GetState)(struct CodecComponentType *self, enum OMX_STATETYPE *state);
|
Obtains component status
|
int32_t (*ComponentTunnelRequest)(struct CodecComponentType *self, uint32_t port, int32_t tunneledComp, uint32_t tunneledPort, struct OMX_TUNNELSETUPTYPE *tunnelSetup);
|
Sets tunnel communication for a component
|
int32_t (*UseBuffer)(struct CodecComponentType *self, uint32_t portIndex, struct OmxCodecBuffer *buffer);
|
Specify the buffer of the component port
|
int32_t (*AllocateBuffer)(struct CodecComponentType *self, uint32_t portIndex, struct OmxCodecBuffer *buffer);
|
Requests a port buffer from the component
|
int32_t (*FreeBuffer)(struct CodecComponentType *self, uint32_t portIndex, const struct OmxCodecBuffer *buffer);
|
Releases a buffer
|
int32_t (*EmptyThisBuffer)(struct CodecComponentType *self, const struct OmxCodecBuffer *buffer);
|
Specify the buffer to be emptied by a component
|
int32_t (*FillThisBuffer)(struct CodecComponentType *self, const struct OmxCodecBuffer *buffer);
|
Specify the buffer to be filled with the encoding and decoding output by a component
|
int32_t (*SetCallbacks)(struct CodecComponentType *self, struct CodecCallbackType *callback, int64_t appData);
|
Set a callback for the codec component
|
int32_t (*ComponentDeInit)(struct CodecComponentType *self);
|
Deinitializes a component
|
int32_t (*UseEglImage)(struct CodecComponentType *self, struct OmxCodecBuffer *buffer, uint32_t portIndex, int8_t *eglImage, uint32_t eglImageLen);
|
Uses the space allocated by EGL
|
int32_t (*ComponentRoleEnum)(struct CodecComponentType *self, uint8_t *role, uint32_t roleLen, uint32_t index);
|
Obtains the component roles
|