#include "libavutil/avstring.h"
#include "libavutil/display.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "bsf.h"
#include "cbs.h"
#include "cbs_bsf.h"
#include "cbs_h264.h"
#include "h264.h"
#include "h264_levels.h"
#include "h264_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)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
◆ OFFSET
◆ FLAGS
◆ LEVEL
◆ anonymous enum
◆ 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",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
Definition at line 691 of file h264_metadata_bsf.c.
◆ h264_metadata_codec_ids
◆ ff_h264_metadata_bsf
Initial value:= {
.name = "h264_metadata",
}
static enum AVCodecID codec_ids[]
static av_cold int init(AVCodecContext *avctx)
int ff_cbs_bsf_generic_filter(AVBSFContext *bsf, AVPacket *pkt)
Filter operation for CBS BSF.
void ff_cbs_bsf_generic_close(AVBSFContext *bsf)
Close a generic CBS BSF instance.
static av_always_inline void filter(int16_t *output, ptrdiff_t out_stride, const int16_t *low, ptrdiff_t low_stride, const int16_t *high, ptrdiff_t high_stride, int len, int clip)
Definition at line 702 of file h264_metadata_bsf.c.