FFmpeg
Data Structures | Functions | Variables
trace_headers.c File Reference
#include <inttypes.h>
#include "libavutil/avstring.h"
#include "libavutil/avutil.h"
#include "libavutil/log.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "cbs.h"

Go to the source code of this file.

Data Structures

struct  TraceHeadersContext
 

Functions

static int trace_headers_init (AVBSFContext *bsf)
 
static void trace_headers_close (AVBSFContext *bsf)
 
static int trace_headers (AVBSFContext *bsf, AVPacket *pkt)
 

Variables

const FFBitStreamFilter ff_trace_headers_bsf
 

Function Documentation

◆ trace_headers_init()

static int trace_headers_init ( AVBSFContext bsf)
static

Definition at line 36 of file trace_headers.c.

◆ trace_headers_close()

static void trace_headers_close ( AVBSFContext bsf)
static

Definition at line 63 of file trace_headers.c.

◆ trace_headers()

static int trace_headers ( AVBSFContext bsf,
AVPacket pkt 
)
static

Definition at line 71 of file trace_headers.c.

Variable Documentation

◆ ff_trace_headers_bsf

const FFBitStreamFilter ff_trace_headers_bsf
Initial value:
= {
.p.name = "trace_headers",
.p.codec_ids = ff_cbs_all_codec_ids,
.priv_data_size = sizeof(TraceHeadersContext),
}

Definition at line 122 of file trace_headers.c.

trace_headers_close
static void trace_headers_close(AVBSFContext *bsf)
Definition: trace_headers.c:63
filter
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
Definition: filter_design.txt:228
ff_cbs_all_codec_ids
enum AVCodecID ff_cbs_all_codec_ids[]
Table of all supported codec IDs.
Definition: cbs.c:61
init
int(* init)(AVBSFContext *ctx)
Definition: dts2pts.c:365
trace_headers_init
static int trace_headers_init(AVBSFContext *bsf)
Definition: trace_headers.c:36
trace_headers
static int trace_headers(AVBSFContext *bsf, AVPacket *pkt)
Definition: trace_headers.c:71
TraceHeadersContext
Definition: trace_headers.c:30