mirror of
https://github.com/raspberrypi/userland.git
synced 2025-12-06 04:49:12 +00:00
video_encode: Add option to include header bytes with frame
V4L2 wants H264 header bytes to be included alongside an encoded frame, therefore add a new option that selects this behaviour.
This commit is contained in:
committed by
popcornmix
parent
04c2643311
commit
ef41631200
@@ -105,6 +105,7 @@ enum {
|
||||
MMAL_PARAMETER_VIDEO_ENCODE_SEPARATE_NAL_BUFS, /**< Take a @ref MMAL_PARAMETER_BOOLEAN_T */
|
||||
MMAL_PARAMETER_VIDEO_DROPPABLE_PFRAME_LENGTH, /**< Take a @ref MMAL_PARAMETER_UINT32_T */
|
||||
MMAL_PARAMETER_VIDEO_STALL_THRESHOLD, /**< Take a @ref MMAL_PARAMETER_VIDEO_STALL_T */
|
||||
MMAL_PARAMETER_VIDEO_ENCODE_HEADERS_WITH_FRAME, /**< Take a @ref MMAL_PARAMETER_BOOLEAN_T */
|
||||
};
|
||||
|
||||
/** Display transformations.
|
||||
|
||||
@@ -544,6 +544,7 @@ typedef enum OMX_INDEXTYPE {
|
||||
OMX_IndexParamGreenEq, /**< reference: OMX_PARAM_GREENEQTYPE */
|
||||
OMX_IndexParamDpc, /**< reference: OMX_PARAM_DPCTYPE */
|
||||
OMX_IndexParamGamma, /**< reference: OMX_PARAM_GAMMATYPE */
|
||||
OMX_IndexParamCodecHeadersWithFrame, /**< reference: OMX_CONFIG_BOOLEANTYPE */
|
||||
OMX_IndexMax = 0x7FFFFFFF
|
||||
} OMX_INDEXTYPE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user