#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "bsf.h"
#include "cbs.h"
#include "cbs_bsf.h"
#include "cbs_h265.h"
#include "hevc.h"
#include "h265_profile_level.h"
Go to the source code of this file.
◆ SET_OR_INFER
#define SET_OR_INFER |
( |
|
field, |
|
|
|
value, |
|
|
|
present_flag, |
|
|
|
infer |
|
) |
| |
Value: do { \
need_vui = 1; \
} else if (!present_flag) \
} while (0)
#define infer(name, value)
◆ 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->conf_win_ ## border ## _offset = \
ctx->crop_ ## border / unit; \
sps->conformance_window_flag = 1; \
} \
} while (0)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
◆ OFFSET
◆ FLAGS
◆ LEVEL
◆ anonymous enum
◆ h265_metadata_guess_level()
◆ h265_metadata_update_level()
◆ h265_metadata_update_vps()
◆ h265_metadata_update_sps()
◆ h265_metadata_update_fragment()
◆ h265_metadata_init()
◆ h265_metadata_type
◆ h265_metadata_options
◆ h265_metadata_class
Initial value:= {
.class_name = "h265_metadata_bsf",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
Definition at line 490 of file h265_metadata_bsf.c.
◆ h265_metadata_codec_ids
◆ ff_hevc_metadata_bsf
Initial value:= {
.name = "hevc_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 501 of file h265_metadata_bsf.c.