|
FFmpeg
|
#include "libavutil/container_fifo.h"#include "libavutil/log.h"#include "bsf.h"#include "packet.h"#include "bsf/filters.h"Go to the source code of this file.
Data Structures | |
| struct | FFBitStreamFilter |
| struct | BitStreamFilterLinkInternal |
| struct | FFBitStreamFilterContext |
| struct | FFBitStreamFilterGraph |
|
static |
Definition at line 82 of file bsf_internal.h.
Referenced by av_bsf_alloc(), av_bsf_flush(), av_bsf_free(), av_bsf_graph_alloc_filter(), av_bsf_init(), av_bsf_init_dict(), av_bsf_receive_packet(), av_bsf_sink_get_parameters(), av_bsf_sink_get_time_base(), ff_bsf_activate(), ff_bsf_alloc(), ff_bsf_free(), and ff_bsf_request_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 233 of file bsf.c.
Referenced by dovi_split_filter(), ff_eia608_to_smpte436m_filter(), ff_smpte436m_to_eia608_filter(), filter(), h264_filter(), h264_mp4toannexb_filter(), hevc_filter(), hevc_mp4toannexb_filter(), imx_dump_header(), mjpeg2jpeg_filter(), mjpega_dump_header(), text2movsub(), vp9_raw_reorder_filter(), and vvc_mp4toannexb_filter().
| 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.
| ctx | pointer to AVBSFContext of filter |
| pkt | pointer to packet to move reference to |
Definition at line 254 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(), filter_units_filter(), frame_merge_filter(), hapqa_extract(), mov2textsub(), mpeg4_unpack_bframes_filter(), noise(), prores_metadata(), rechunk_filter(), remove_extradata(), setts_filter(), showinfo_filter(), trace_headers(), truehd_core_filter(), vp9_superframe_filter(), and vp9_superframe_split_filter().
| const AVClass* ff_bsf_child_class_iterate | ( | void ** | opaque | ) |
Definition at line 116 of file bitstream_filters.c.
|
inlinestatic |
Definition at line 164 of file bsf_internal.h.
Referenced by activate(), av_bsf_sink_get_packet(), av_bsf_source_add_packet(), av_buffersrc_add_frame_flags(), ff_avfilter_link_set_in_status(), ff_bsf_config_links(), ff_bsf_filter_packet(), ff_bsf_inlink_acknowledge_status(), ff_bsf_inlink_check_available_packet(), ff_bsf_inlink_consume_packet(), ff_bsf_inlink_queued_packets(), ff_bsf_inlink_request_packet(), ff_bsf_inlink_set_status(), ff_bsf_link_set_in_status(), ff_bsf_outlink_get_status(), ff_bsf_outlink_packet_wanted(), ff_bsf_request_packet(), ff_default_get_audio_buffer(), ff_default_get_video_buffer2(), ff_filter_config_links(), ff_filter_frame(), ff_inlink_acknowledge_status(), ff_inlink_check_available_frame(), ff_inlink_check_available_samples(), ff_inlink_consume_frame(), ff_inlink_consume_samples(), ff_inlink_peek_frame(), ff_inlink_queued_frames(), ff_inlink_queued_samples(), ff_inlink_request_frame(), ff_inlink_set_status(), ff_inoutlink_check_flow(), ff_outlink_frame_wanted(), ff_outlink_get_status(), ff_request_frame(), filter_activate_default(), filter_frame_to_filter(), filter_packet_to_filter(), filter_unblock(), forward_status_change(), get_frame_internal(), graph_config_pointers(), guess_status_pts(), link_free(), link_set_out_status(), request_frame_to_filter(), and request_packet_to_filter().
| int ff_bsf_config_links | ( | AVBitStreamFilterContext * | filter | ) |
Definition at line 447 of file bitstreamfilter.c.
Referenced by ff_bsf_config_links(), and graph_config_links().
| int ff_bsf_graph_run_once | ( | AVBitStreamFilterGraph * | graph | ) |
Run one round of processing on a filter graph.
Definition at line 361 of file bsfgraph.c.
Referenced by av_bsf_sink_get_packet(), and push_packet().
| int ff_bsf_activate | ( | AVBitStreamFilterContext * | ctx | ) |
Definition at line 792 of file bitstreamfilter.c.
Referenced by ff_bsf_graph_run_once().
| void ff_bsf_graph_update_heap | ( | AVBitStreamFilterGraph * | graph, |
| BitStreamFilterLinkInternal * | li | ||
| ) |
Definition at line 353 of file bsfgraph.c.
Referenced by update_link_current_pts().
|
inlinestatic |
Definition at line 197 of file bsf_internal.h.
Referenced by av_bsf_init_dict(), av_bsf_link(), ff_bsf_activate(), ff_bsf_graph_run_once(), ff_bsf_request_packet(), and ff_bsf_set_ready().
| void ff_bsf_free | ( | AVBitStreamFilterContext * | filter | ) |
Free a filter context.
This will also remove the filter from its filtergraph's list of filters.
| filter | the filter to free |
Definition at line 221 of file bitstreamfilter.c.
Referenced by av_bsf_graph_create_filter(), and av_bsf_graph_free().
|
inlinestatic |
Definition at line 225 of file bsf_internal.h.
Referenced by av_bsf_graph_config(), av_bsf_graph_free(), ff_bsf_filter_packet(), ff_bsf_graph_update_heap(), ff_bsf_inlink_consume_packet(), ff_bsf_inlink_set_status(), and graph_config_pointers().
|
inlinestatic |
Definition at line 230 of file bsf_internal.h.
Referenced by av_bsf_graph_source_needs_input().
| int ff_bsf_alloc | ( | const AVBitStreamFilter * | filter, |
| const char * | inst_name, | ||
| AVBitStreamFilterContext ** | ctx | ||
| ) |
Allocate a new filter context and return it.
| [in] | filter | what filter to create an instance of |
| [in] | inst_name | name to give to the new filter context |
| [out] | ctx | a pointer into which the pointer to the newly-allocated context will be written |
Definition at line 54 of file bitstreamfilter.c.
Referenced by av_bsf_graph_alloc_filter().
| void ff_bsf_graph_remove_filter | ( | AVBitStreamFilterGraph * | graph, |
| AVBitStreamFilterContext * | filter | ||
| ) |
Remove a filter from a graph;.
Definition at line 64 of file bsfgraph.c.
Referenced by ff_bsf_free().
1.8.17