Go to the documentation of this file.
30 case AV_ERR_NO_MEMORY:
32 case AV_ERR_OPERATE_NOT_PERMIT:
34 case AV_ERR_INVALID_VAL:
42 case AV_ERR_SERVICE_DIED:
44 case AV_ERR_INVALID_STATE:
46 case AV_ERR_UNSUPPORT:
AVPixelFormat
Pixel format.
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining all references to the list are updated That means that if a filter requires that its input and output have the same format amongst a supported all it has to do is use a reference to the same list of formats query_formats can leave some formats unset and return AVERROR(EAGAIN) to cause the negotiation mechanism toagain later. That can be used by filters with complex requirements to use the format negotiated on one link to set the formats supported on another. Frame references ownership and permissions
#define AVERROR_UNKNOWN
Unknown error, typically from an external library.
static const struct @221 oh_pix_map[]
int ff_oh_err_to_ff_err(OH_AVErrCode err)
#define FF_ARRAY_ELEMS(a)
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define AVERROR_EXTERNAL
Generic error in an external library.
#define i(width, name, range_min, range_max)
@ AV_PIX_FMT_NV21
as above, but U and V bytes are swapped
@ AV_PIX_FMT_NV12
planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 plane for the UV components, which are interleaved (firs...
enum AVPixelFormat ff_oh_pix_to_ff_pix(OH_AVPixelFormat oh_pix)
int ff_oh_pix_from_ff_pix(enum AVPixelFormat pix)