FFmpeg
Data Structures | Functions | Variables
trace_headers_bsf.c File Reference
#include <stdio.h>
#include "libavutil/avstring.h"
#include "libavutil/common.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 AVBitStreamFilter 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_bsf.c.

◆ trace_headers_close()

static void trace_headers_close ( AVBSFContext bsf)
static

Definition at line 61 of file trace_headers_bsf.c.

◆ trace_headers()

static int trace_headers ( AVBSFContext bsf,
AVPacket pkt 
)
static

Definition at line 69 of file trace_headers_bsf.c.

Variable Documentation

◆ ff_trace_headers_bsf

const AVBitStreamFilter ff_trace_headers_bsf
Initial value:
= {
.name = "trace_headers",
.priv_data_size = sizeof(TraceHeadersContext),
}

Definition at line 120 of file trace_headers_bsf.c.

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
init
static int init
Definition: av_tx.c:47
trace_headers_init
static int trace_headers_init(AVBSFContext *bsf)
Definition: trace_headers_bsf.c:36
ff_cbs_all_codec_ids
enum AVCodecID ff_cbs_all_codec_ids[]
Table of all supported codec IDs.
Definition: cbs.c:54
trace_headers_close
static void trace_headers_close(AVBSFContext *bsf)
Definition: trace_headers_bsf.c:61
trace_headers
static int trace_headers(AVBSFContext *bsf, AVPacket *pkt)
Definition: trace_headers_bsf.c:69
TraceHeadersContext
Definition: trace_headers_bsf.c:30
codec_ids
static enum AVCodecID codec_ids[]
Definition: aac_adtstoasc_bsf.c:148