Go to the documentation of this file.
30 #define NEW_GLOBAL_PIC_INIT_QP 26
57 pps->weighted_pred_flag = 1;
96 "at %"PRId64
".\n",
pkt->
pts);
114 .fragment_name =
"access unit",
115 .unit_name =
"NAL unit",
129 .
name =
"h264_redundant_pps",
const AVBitStreamFilter ff_h264_redundant_pps_bsf
int ff_cbs_bsf_generic_init(AVBSFContext *bsf, const CBSBSFType *type)
Initialise generic CBS BSF setup.
static int h264_redundant_pps_update_fragment(AVBSFContext *bsf, AVPacket *pkt, CodedBitstreamFragment *au)
static int h264_redundant_pps_fixup_slice(H264RedundantPPSContext *ctx, H264RawSliceHeader *slice)
static const CBSBSFType h264_redundant_pps_type
void * content
Pointer to the decomposed form of this unit.
H264RawPPS * pps[H264_MAX_PPS_COUNT]
#define AV_LOG_VERBOSE
Detailed information.
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.
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 int h264_redundant_pps_fixup_pps(H264RedundantPPSContext *ctx, CodedBitstreamUnit *unit)
AVCodecID
Identify the syntax and semantics of the bitstream.
static int FUNC() pps(CodedBitstreamContext *ctx, RWContext *rw, H264RawPPS *current)
void ff_cbs_bsf_generic_close(AVBSFContext *bsf)
Close a generic CBS BSF instance.
H264RawSliceHeader header
#define i(width, name, range_min, range_max)
int64_t pts
Presentation timestamp in AVStream->time_base units; the time at which the decompressed packet will b...
#define NEW_GLOBAL_PIC_INIT_QP
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)
static enum AVCodecID codec_ids[]
This structure stores compressed data.
static enum AVCodecID h264_redundant_pps_codec_ids[]
void * priv_data
Format private data.
int nb_units
Number of units in this fragment.
void ff_cbs_delete_unit(CodedBitstreamFragment *frag, int position)
Delete a unit from a fragment and free all memory it uses.