#include "libavutil/avstring.h"
#include "libavutil/display.h"
#include "libavutil/common.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "cbs.h"
#include "cbs_bsf.h"
#include "cbs_h264.h"
#include "cbs_sei.h"
#include "h264.h"
#include "h264_levels.h"
#include "h2645data.h"
#include "sei.h"
Go to the source code of this file.
◆ SET_VUI_FIELD
#define SET_VUI_FIELD |
( |
|
field | ) |
|
Value: do { \
sps->vui.field =
ctx->field; \
need_vui = 1; \
} \
} while (0)
◆ CROP
#define CROP |
( |
|
border, |
|
|
|
unit |
|
) |
| |
Value: do { \
if (
ctx->crop_ ## border >= 0) { \
if (
ctx->crop_ ## border % unit != 0) { \
"must be a multiple of %d.\n", #border, unit); \
} \
sps->frame_crop_ ## border ## _offset = \
ctx->crop_ ## border / unit; \
sps->frame_cropping_flag = 1; \
} \
} while (0)
◆ OFFSET
◆ FLAGS
◆ LEVEL
◆ anonymous enum
Enumerator |
---|
FLIP_HORIZONTAL | |
FLIP_VERTICAL | |
Definition at line 36 of file h264_metadata.c.
◆ anonymous enum
◆ h264_metadata_insert_aud()
◆ h264_metadata_update_sps()
◆ h264_metadata_handle_display_orientation()
◆ h264_metadata_update_fragment()
◆ h264_metadata_init()
◆ h264_metadata_type
◆ h264_metadata_options
◆ h264_metadata_class
Initial value:= {
.class_name = "h264_metadata_bsf",
}
Definition at line 705 of file h264_metadata.c.
◆ h264_metadata_codec_ids
◆ ff_h264_metadata_bsf
Initial value:= {
.p.name = "h264_metadata",
}
Definition at line 716 of file h264_metadata.c.
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option name
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
void(* filter)(uint8_t *src, int stride, int qscale)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
int(* init)(AVBSFContext *ctx)
void ff_cbs_bsf_generic_close(AVBSFContext *bsf)
Close a generic CBS BSF instance.
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default value
int ff_cbs_bsf_generic_filter(AVBSFContext *bsf, AVPacket *pkt)
Filter operation for CBS BSF.
static void close(AVCodecParserContext *s)
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.