omx: add OMX_IndexParamConsumerUsageBits
This is used by framework to query buffer consumers (e.g. video encoders) about required usage bits. Bug: 13222807 Change-Id: I508335c9d753c7a7224bb882f2228bd2f4144031
This commit is contained in:
parent
7a1b5d5dec
commit
1017a1eaa7
@ -524,6 +524,7 @@ inline static const char *asString(OMX_INDEXEXTTYPE i, const char *def = "??") {
|
|||||||
case OMX_IndexConfigAutoFramerateConversion: return "ConfigAutoFramerateConversion";
|
case OMX_IndexConfigAutoFramerateConversion: return "ConfigAutoFramerateConversion";
|
||||||
case OMX_IndexConfigPriority: return "ConfigPriority";
|
case OMX_IndexConfigPriority: return "ConfigPriority";
|
||||||
case OMX_IndexConfigOperatingRate: return "ConfigOperatingRate";
|
case OMX_IndexConfigOperatingRate: return "ConfigOperatingRate";
|
||||||
|
case OMX_IndexParamConsumerUsageBits: return "ParamConsumerUsageBits";
|
||||||
default: return asString((OMX_INDEXTYPE)i, def);
|
default: return asString((OMX_INDEXTYPE)i, def);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -85,6 +85,7 @@ typedef enum OMX_INDEXEXTTYPE {
|
|||||||
OMX_IndexConfigAutoFramerateConversion, /**< reference: OMX_CONFIG_BOOLEANTYPE */
|
OMX_IndexConfigAutoFramerateConversion, /**< reference: OMX_CONFIG_BOOLEANTYPE */
|
||||||
OMX_IndexConfigPriority, /**< reference: OMX_PARAM_U32TYPE */
|
OMX_IndexConfigPriority, /**< reference: OMX_PARAM_U32TYPE */
|
||||||
OMX_IndexConfigOperatingRate, /**< reference: OMX_PARAM_U32TYPE in Q16 format for video and in Hz for audio */
|
OMX_IndexConfigOperatingRate, /**< reference: OMX_PARAM_U32TYPE in Q16 format for video and in Hz for audio */
|
||||||
|
OMX_IndexParamConsumerUsageBits, /**< reference: OMX_PARAM_U32TYPE */
|
||||||
|
|
||||||
/* Time configurations */
|
/* Time configurations */
|
||||||
OMX_IndexExtTimeStartUnused = OMX_IndexKhronosExtensions + 0x00900000,
|
OMX_IndexExtTimeStartUnused = OMX_IndexKhronosExtensions + 0x00900000,
|
||||||
|
Loading…
Reference in New Issue
Block a user