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.
CodedBitstreamUnitType type
Codec-specific type of this unit.
filter_frame For filters that do not use the this method is called when a frame is pushed to the filter s input It can be called at any time except in a reentrant way If the input frame is enough to produce then the filter should push the output frames on the output link immediately As an exception to the previous rule if the input frame is enough to produce several output frames then the filter needs output only at least one per link The additional frames can be left buffered in the filter
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)
static int FUNC() pps(CodedBitstreamContext *ctx, RWContext *rw, H264RawPPS *current)
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.