99 "at %"PRId64
".\n", pkt->
pts);
123 .fragment_name =
"access unit",
124 .unit_name =
"NAL unit",
142 .
name =
"h264_redundant_pps",
static int h264_redundant_pps_update_fragment(AVBSFContext *bsf, AVPacket *pkt, CodedBitstreamFragment *au)
static int h264_redundant_pps_init(AVBSFContext *bsf)
int nb_units
Number of units in this fragment.
static void flush(AVCodecContext *avctx)
Memory handling functions.
static av_cold int init(AVCodecContext *avctx)
CodedBitstreamUnitType type
Codec-specific type of this unit.
The bitstream filter state.
static const CBSBSFType h264_redundant_pps_type
void * priv_data
Opaque filter-specific private data.
const AVBitStreamFilter ff_h264_redundant_pps_bsf
int ff_cbs_bsf_generic_init(AVBSFContext *bsf, const CBSBSFType *type)
Initialise generic CBS BSF setup.
uint8_t weighted_pred_flag
static int h264_redundant_pps_fixup_slice(H264RedundantPPSContext *ctx, H264RawSliceHeader *slice)
#define AV_LOG_VERBOSE
Detailed information.
Coded bitstream unit structure.
void * content
Pointer to the decomposed form of this unit.
CodedBitstreamUnit * units
Pointer to an array of units of length nb_units_allocated.
H.264 common definitions.
AVCodecID
Identify the syntax and semantics of the bitstream.
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
static int h264_redundant_pps_fixup_pps(H264RedundantPPSContext *ctx, CodedBitstreamUnit *unit)
void ff_cbs_bsf_generic_close(AVBSFContext *bsf)
Close a generic CBS BSF instance.
int ff_cbs_bsf_generic_filter(AVBSFContext *bsf, AVPacket *pkt)
Filter operation for CBS BSF.
static void h264_redundant_pps_flush(AVBSFContext *bsf)
Coded bitstream fragment structure, combining one or more units.
static int FUNC() pps(CodedBitstreamContext *ctx, RWContext *rw, H264RawPPS *current)
void ff_cbs_delete_unit(CodedBitstreamFragment *frag, int position)
Delete a unit from a fragment and free all memory it uses.
common internal and external API header
static enum AVCodecID codec_ids[]
static enum AVCodecID h264_redundant_pps_codec_ids[]
H264RawSliceHeader header
int extradata_pic_init_qp
int8_t pic_init_qp_minus26
CodedBitstreamContext * input
This structure stores compressed data.
int64_t pts
Presentation timestamp in AVStream->time_base units; the time at which the decompressed packet will b...
int ff_cbs_make_unit_writable(CodedBitstreamContext *ctx, CodedBitstreamUnit *unit)
Make the content of a unit writable so that internal fields can be modified.