am 589e2e74
: Merge "Add a way to configure an OMX encoder to emit SPS/PPS before IDR frames." into jb-mr1-dev
* commit '589e2e74e429f2116f18463aeda9a0954cfd70ca': Add a way to configure an OMX encoder to emit SPS/PPS before IDR frames.
This commit is contained in:
commit
916ce16ed4
@ -105,6 +105,16 @@ struct GetAndroidNativeBufferUsageParams {
|
|||||||
// colorformat will be relayed by the GRalloc Buffers.
|
// colorformat will be relayed by the GRalloc Buffers.
|
||||||
// OMX_COLOR_FormatAndroidOpaque = 0x7F000001,
|
// OMX_COLOR_FormatAndroidOpaque = 0x7F000001,
|
||||||
|
|
||||||
|
// A pointer to this struct is passed to OMX_SetParameter when the extension
|
||||||
|
// index for the 'OMX.google.android.index.prependSPSPPSToIDRFrames' extension
|
||||||
|
// is given.
|
||||||
|
// A successful result indicates that future IDR frames will be prefixed by
|
||||||
|
// SPS/PPS.
|
||||||
|
struct PrependSPSPPSToIDRFramesParams {
|
||||||
|
OMX_U32 nSize;
|
||||||
|
OMX_VERSIONTYPE nVersion;
|
||||||
|
OMX_BOOL bEnable;
|
||||||
|
};
|
||||||
|
|
||||||
} // namespace android
|
} // namespace android
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user