FFmpeg
Data Structures | Functions
bsf_internal.h File Reference
#include "libavutil/log.h"
#include "bsf.h"
#include "packet.h"

Go to the source code of this file.

Data Structures

struct  FFBitStreamFilter
 

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_iterate (void **opaque)
 

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 235 of file bsf.c.

Referenced by filter(), h264_filter(), h264_mp4toannexb_filter(), hevc_mp4toannexb_filter(), imx_dump_header(), mjpeg2jpeg_filter(), mjpega_dump_header(), mp3_header_decompress(), text2movsub(), vp9_raw_reorder_filter(), and vvc_mp4toannexb_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 256 of file bsf.c.

Referenced by aac_adtstoasc_filter(), av1_frame_merge_filter(), av1_frame_split_filter(), bsf_list_filter(), chomp_filter(), dca_core_filter(), dump_extradata(), dv_error_marker_filter(), eac3_core_filter(), evc_frame_merge_filter(), extract_extradata_filter(), ff_cbs_bsf_generic_filter(), filter_units_filter(), frame_merge_filter(), hapqa_extract(), mov2textsub(), mpeg4_unpack_bframes_filter(), noise(), prores_metadata(), rechunk_filter(), remove_extradata(), setts_filter(), trace_headers(), truehd_core_filter(), vp9_superframe_filter(), and vp9_superframe_split_filter().

◆ ff_bsf_child_class_iterate()

const AVClass* ff_bsf_child_class_iterate ( void **  opaque)

Definition at line 102 of file bitstream_filters.c.