Go to the documentation of this file.
32 #define NEW_GLOBAL_PIC_INIT_QP 26
59 pps->weighted_pred_flag = 1;
105 .fragment_name =
"access unit",
106 .unit_name =
"NAL unit",
120 .
p.
name =
"h264_redundant_pps",
int ff_cbs_bsf_generic_init(AVBSFContext *bsf, const CBSBSFType *type)
Initialise generic CBS BSF setup.
static const CBSBSFType h264_redundant_pps_type
void * content
Pointer to the decomposed form of this unit.
#define NEW_GLOBAL_PIC_INIT_QP
H264RawPPS * pps[H264_MAX_PPS_COUNT]
RefStruct references.
void(* filter)(uint8_t *src, int stride, int qscale)
CodedBitstreamUnitType type
Codec-specific type of this unit.
The bitstream filter state.
Coded bitstream unit structure.
static int h264_redundant_pps_fixup_slice(H264RedundantPPSContext *ctx, H264RawSliceHeader *slice)
static int h264_redundant_pps_update_fragment(AVBSFContext *bsf, AVPacket *pkt, CodedBitstreamFragment *au)
int ff_cbs_make_unit_writable(CodedBitstreamContext *ctx, CodedBitstreamUnit *unit)
Make the content of a unit writable so that internal fields can be modified.
CodedBitstreamUnit * units
Pointer to an array of units of length nb_units_allocated.
Coded bitstream fragment structure, combining one or more units.
static enum AVCodecID h264_redundant_pps_codec_ids[]
AVCodecID
Identify the syntax and semantics of the bitstream.
AVBitStreamFilter p
The public AVBitStreamFilter.
int(* init)(AVBSFContext *ctx)
void ff_cbs_bsf_generic_close(AVBSFContext *bsf)
Close a generic CBS BSF instance.
const FFBitStreamFilter ff_h264_redundant_pps_bsf
H264RawSliceHeader header
#define i(width, name, range_min, range_max)
static int h264_redundant_pps_fixup_pps(H264RedundantPPSContext *ctx, CodedBitstreamUnit *unit)
void * priv_data
Opaque filter-specific private data.
int ff_cbs_bsf_generic_filter(AVBSFContext *bsf, AVPacket *pkt)
Filter operation for CBS BSF.
static int h264_redundant_pps_init(AVBSFContext *bsf)
This structure stores compressed data.
void * priv_data
Format private data.
int nb_units
Number of units in this fragment.