FFmpeg
Functions
bsf.h File Reference
#include "avcodec.h"

Go to the source code of this file.

Functions

int ff_bsf_get_packet (AVBSFContext *ctx, AVPacket **pkt)
 Called by the bitstream filters to get the next packet for filtering. More...
 
int ff_bsf_get_packet_ref (AVBSFContext *ctx, AVPacket *pkt)
 Called by bitstream filters to get packet for filtering. More...
 
const AVClassff_bsf_child_class_next (const AVClass *prev)
 

Function Documentation

◆ ff_bsf_get_packet()

int ff_bsf_get_packet ( AVBSFContext ctx,
AVPacket **  pkt 
)

Called by the bitstream filters to get the next packet for filtering.

The filter is responsible for either freeing the packet or passing it to the caller.

Definition at line 217 of file bsf.c.

Referenced by h264_mp4toannexb_filter(), hevc_mp4toannexb_filter(), imx_dump_header(), mjpeg2jpeg_filter(), mjpega_dump_header(), mp3_header_decompress(), mpeg4_unpack_bframes_filter(), text2movsub(), vp9_raw_reorder_filter(), and vp9_superframe_filter().

◆ ff_bsf_get_packet_ref()

int ff_bsf_get_packet_ref ( AVBSFContext ctx,
AVPacket pkt 
)

Called by bitstream filters to get packet for filtering.

The reference to packet is moved to provided packet structure.

Parameters
ctxpointer to AVBSFContext of filter
pktpointer to packet to move reference to
Returns
0>= on success, negative AVERROR in case of failure

Definition at line 239 of file bsf.c.

Referenced by aac_adtstoasc_filter(), av1_frame_split_filter(), av1_metadata_filter(), bsf_list_filter(), chomp_filter(), dca_core_filter(), dump_extradata(), eac3_core_filter(), extract_extradata_filter(), filter_units_filter(), h264_metadata_filter(), h264_redundant_pps_filter(), h265_metadata_filter(), hapqa_extract(), mov2textsub(), mpeg2_metadata_filter(), noise(), null_filter(), prores_metadata(), remove_extradata(), trace_headers(), truehd_core_filter(), vp9_metadata_filter(), and vp9_superframe_split_filter().

◆ ff_bsf_child_class_next()

const AVClass* ff_bsf_child_class_next ( const AVClass prev)

Definition at line 96 of file bitstream_filters.c.