FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/fifo.h"
#include "libavutil/tree.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "cbs.h"
#include "cbs_h264.h"
#include "h264_parse.h"
#include "h264_ps.h"
Go to the source code of this file.
Data Structures | |
struct | DTS2PTSNode |
struct | DTS2PTSFrame |
struct | DTS2PTSH264Context |
struct | DTS2PTSContext |
Functions | |
static int | cmp_insert (const void *key, const void *node) |
static int | cmp_find (const void *key, const void *node) |
static int | dec_poc (void *opaque, void *elem) |
static int | free_node (void *opaque, void *elem) |
static int | alloc_and_insert_node (AVBSFContext *ctx, int64_t ts, int64_t duration, int poc, int poc_diff, int gop) |
static int | h264_init (AVBSFContext *ctx) |
static int | get_mmco_reset (const H264RawSliceHeader *header) |
static int | h264_queue_frame (AVBSFContext *ctx, AVPacket *pkt, int poc, int *queued) |
static int | h264_filter (AVBSFContext *ctx) |
static void | h264_flush (AVBSFContext *ctx) |
static int | dts2pts_init (AVBSFContext *ctx) |
static int | dts2pts_filter (AVBSFContext *ctx, AVPacket *out) |
static void | dts2pts_flush (AVBSFContext *ctx) |
static void | dts2pts_close (AVBSFContext *ctx) |
Variables | |
static const CodedBitstreamUnitType | h264_decompose_unit_types [] |
struct { | |
enum AVCodecID id | |
int(* init )(AVBSFContext *ctx) | |
int(* filter )(AVBSFContext *ctx) | |
void(* flush )(AVBSFContext *ctx) | |
size_t fifo_size | |
} | func_tab [] |
static enum AVCodecID | dts2pts_codec_ids [] |
const FFBitStreamFilter | ff_dts2pts_bsf |
Derive PTS by reordering DTS from supported streams
Definition in file dts2pts_bsf.c.
|
static |
Definition at line 83 of file dts2pts_bsf.c.
Referenced by alloc_and_insert_node(), and dts2pts_filter().
|
static |
Definition at line 91 of file dts2pts_bsf.c.
Referenced by dts2pts_filter().
|
static |
Definition at line 101 of file dts2pts_bsf.c.
Referenced by h264_filter(), and h264_queue_frame().
|
static |
Definition at line 109 of file dts2pts_bsf.c.
Referenced by dts2pts_flush().
|
static |
Definition at line 117 of file dts2pts_bsf.c.
Referenced by dts2pts_filter(), and h264_queue_frame().
|
static |
Definition at line 152 of file dts2pts_bsf.c.
|
static |
Definition at line 166 of file dts2pts_bsf.c.
Referenced by h264_filter().
|
static |
Definition at line 182 of file dts2pts_bsf.c.
Referenced by h264_filter().
|
static |
Definition at line 222 of file dts2pts_bsf.c.
|
static |
Definition at line 351 of file dts2pts_bsf.c.
|
static |
Definition at line 373 of file dts2pts_bsf.c.
|
static |
Definition at line 418 of file dts2pts_bsf.c.
|
static |
Definition at line 494 of file dts2pts_bsf.c.
Referenced by dts2pts_close().
|
static |
Definition at line 516 of file dts2pts_bsf.c.
|
static |
Definition at line 145 of file dts2pts_bsf.c.
Referenced by h264_init().
enum AVCodecID id |
Definition at line 364 of file dts2pts_bsf.c.
Referenced by accumulate_huff_bit_consumption(), add_tracked_method(), alf_get_coeff_and_clip(), ape_tag_read_field(), asf_read_picture(), av_channel_from_string(), av_channel_layout_from_string(), av_codec_get_id(), av_new_program(), avi_add_ientry(), avi_get_ientry(), avpriv_new_chapter(), che_configure(), create_new_audio_stream(), decode_frame(), derive_scale_m(), dxtory_decode_v1_rgb(), ebml_writer_add(), eval_expr(), exif_decode_tag(), ff_flac_parse_picture(), ff_get_wav_header(), ff_jpegls_decode_lse(), ff_mjpeg_decode_sos(), ff_mov_read_stsd_entries(), ff_rtsp_tcp_read_packet(), ff_rtsp_tcp_write_packet(), ff_wav_codec_get_id(), ffat_update_ctx(), flush_packet(), frame_configure_elements(), get_codec_data(), get_sindex(), LLVMFuzzerTestOneInput(), lsp_unquant_high(), lsp_unquant_lbr(), lsp_unquant_nb(), lvf_read_header(), lvf_read_packet(), mjpeg_decode_app(), mov_codec_id(), mov_read_covr(), mov_read_frma(), output_configure(), parse_object_segment(), parse_palette_segment(), print_section(), put_system_header(), qdm2_parse_subpacket(), read_apic(), remap_deprecated_codec_id(), rso_read_header(), scaling_derive(), set_codec_from_probe_data(), sol_read_header(), txd_read_packet(), v4l2_get_ext_ctrl(), v4l2_set_ext_ctrl(), wavarc_probe(), wavarc_read_header(), wavpack_decode_block(), webm_reformat_vtt(), webvtt_write_packet(), write_chapter(), and wv_read_block_header().
int(* init) (AVBSFContext *ctx) |
Definition at line 365 of file dts2pts_bsf.c.
Referenced by ff_vdpau_common_reinit(), filter_channels(), frame_context_for_each_tl(), idct248_ref(), AVFFrameReceiver::initWithContext:, AVFAudioReceiver::initWithContext:, and sch_add_mux().
int(* filter) (AVBSFContext *ctx) |
Definition at line 366 of file dts2pts_bsf.c.
void(* flush) (AVBSFContext *ctx) |
Definition at line 367 of file dts2pts_bsf.c.
Referenced by av1_decode_flush(), bmp_parse(), chunk_end(), decode_read(), dpx_parse(), encode_write_frame(), ff_cbs_trace_write_log(), ff_hevc_output_frame(), ff_interleave_packet_per_dts(), ff_vk_unmap_buffer(), ff_vk_unmap_buffers(), ff_vvc_output_frame(), gxf_interleave_packet(), h264_decode_flush(), hevc_decode_flush(), interleaved_write_packet(), jpegxl_parse(), mpegaudio_parse(), mxf_interleave(), mxf_interleave_get_packet(), ndk_codec_create(), ogg_buffer_data(), ogg_write_pages(), output_packet(), output_ready(), parse_packet(), png_parse(), vp8_decode_flush_impl(), vp9_decode_flush(), vvc_parser_parse(), and webp_parse().
size_t fifo_size |
Definition at line 368 of file dts2pts_bsf.c.
Referenced by async_read_internal(), and async_seek().
const { ... } func_tab[] |
Referenced by dts2pts_init().
|
static |
Definition at line 527 of file dts2pts_bsf.c.
const FFBitStreamFilter ff_dts2pts_bsf |
Definition at line 532 of file dts2pts_bsf.c.