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 "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 35 of file trace_headers_bsf.c.

◆ trace_headers_close()

static void trace_headers_close ( AVBSFContext bsf)
static

Definition at line 60 of file trace_headers_bsf.c.

◆ trace_headers()

static int trace_headers ( AVBSFContext bsf,
AVPacket pkt 
)
static

Definition at line 68 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 106 of file trace_headers_bsf.c.

init
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
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
trace_headers_init
static int trace_headers_init(AVBSFContext *bsf)
Definition: trace_headers_bsf.c:35
ff_cbs_all_codec_ids
enum AVCodecID ff_cbs_all_codec_ids[]
Table of all supported codec IDs.
Definition: cbs.c:52
trace_headers_close
static void trace_headers_close(AVBSFContext *bsf)
Definition: trace_headers_bsf.c:60
trace_headers
static int trace_headers(AVBSFContext *bsf, AVPacket *pkt)
Definition: trace_headers_bsf.c:68
TraceHeadersContext
Definition: trace_headers_bsf.c:29
codec_ids
static enum AVCodecID codec_ids[]
Definition: aac_adtstoasc_bsf.c:148