|
FFmpeg 8.0.1
|
V4L2 Request API frames context. More...
#include <libavutil/hwcontext_v4l2request.h>
Data Fields | |
| AVV4L2RequestFramesContextInternal * | internal |
| Internal context for the initialized V4L2 stateless decoder/encoder session. | |
| uint32_t | pixelformat |
| V4L2_PIX_FMT_* coded pixel format to set on the OUTPUT queue (decoders) or the CAPTURE queue (encoders) during initialization. | |
| uint32_t | bit_depth |
| Optional bit depth of the frame pixel format, e.g. | |
| struct v4l2_ext_control * | init_controls |
| Optional codec-specific extended controls to be set during initialization. | |
| int | nb_init_controls |
V4L2 Request API frames context.
This struct is allocated as AVHWFramesContext.hwctx
Definition at line 37 of file hwcontext_v4l2request.h.
| AVV4L2RequestFramesContextInternal* AVV4L2RequestFramesContext::internal |
Internal context for the initialized V4L2 stateless decoder/encoder session.
Definition at line 41 of file hwcontext_v4l2request.h.
| uint32_t AVV4L2RequestFramesContext::pixelformat |
V4L2_PIX_FMT_* coded pixel format to set on the OUTPUT queue (decoders) or the CAPTURE queue (encoders) during initialization.
This field must be set by caller before av_hwframe_ctx_init() is called.
Definition at line 49 of file hwcontext_v4l2request.h.
| uint32_t AVV4L2RequestFramesContext::bit_depth |
Optional bit depth of the frame pixel format, e.g.
8 or 10.
This field should be set by caller before av_hwframe_ctx_init() is called, the field will be updated to match the selected frame pixel format after successful initialization.
Definition at line 58 of file hwcontext_v4l2request.h.
| struct v4l2_ext_control* AVV4L2RequestFramesContext::init_controls |
Optional codec-specific extended controls to be set during initialization.
These fields should be set by caller before av_hwframe_ctx_init() is called, fields are reset to NULL and 0 after successful initialization.
Definition at line 66 of file hwcontext_v4l2request.h.
| int AVV4L2RequestFramesContext::nb_init_controls |
Definition at line 67 of file hwcontext_v4l2request.h.