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

static int trace_headers_init ( AVBSFContext bsf)
static

Definition at line 35 of file trace_headers_bsf.c.

static void trace_headers_close ( AVBSFContext bsf)
static

Definition at line 60 of file trace_headers_bsf.c.

static int trace_headers ( AVBSFContext bsf,
AVPacket pkt 
)
static

Definition at line 68 of file trace_headers_bsf.c.

Variable Documentation

const AVBitStreamFilter ff_trace_headers_bsf
Initial value:
= {
.name = "trace_headers",
.priv_data_size = sizeof(TraceHeadersContext),
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static int trace_headers_init(AVBSFContext *bsf)
static void trace_headers_close(AVBSFContext *bsf)
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
static int trace_headers(AVBSFContext *bsf, AVPacket *pkt)
static enum AVCodecID codec_ids[]
enum AVCodecID ff_cbs_all_codec_ids[]
Table of all supported codec IDs.
Definition: cbs.c:52

Definition at line 106 of file trace_headers_bsf.c.