FFmpeg
Data Structures | Functions | Variables
truehd_core.c File Reference
#include "bsf.h"
#include "bsf_internal.h"
#include "get_bits.h"
#include "mlp_parse.h"
#include "mlp.h"

Go to the source code of this file.

Data Structures

struct  AccessUnit
 
struct  TrueHDCoreContext
 

Functions

static int truehd_core_filter (AVBSFContext *ctx, AVPacket *pkt)
 
static void truehd_core_flush (AVBSFContext *ctx)
 

Variables

static enum AVCodecID codec_ids []
 
const FFBitStreamFilter ff_truehd_core_bsf
 

Function Documentation

◆ truehd_core_filter()

static int truehd_core_filter ( AVBSFContext ctx,
AVPacket pkt 
)
static

Definition at line 37 of file truehd_core.c.

◆ truehd_core_flush()

static void truehd_core_flush ( AVBSFContext ctx)
static

Definition at line 166 of file truehd_core.c.

Variable Documentation

◆ codec_ids

enum AVCodecID codec_ids[]
static
Initial value:

Definition at line 172 of file truehd_core.c.

◆ ff_truehd_core_bsf

const FFBitStreamFilter ff_truehd_core_bsf
Initial value:
= {
.p.name = "truehd_core",
.p.codec_ids = codec_ids,
.priv_data_size = sizeof(TrueHDCoreContext),
}

Definition at line 176 of file truehd_core.c.

TrueHDCoreContext
Definition: truehd_core.c:33
truehd_core_filter
static int truehd_core_filter(AVBSFContext *ctx, AVPacket *pkt)
Definition: truehd_core.c:37
codec_ids
static enum AVCodecID codec_ids[]
Definition: truehd_core.c:172
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
AV_CODEC_ID_TRUEHD
@ AV_CODEC_ID_TRUEHD
Definition: codec_id.h:484
flush
void(* flush)(AVBSFContext *ctx)
Definition: dts2pts.c:367
truehd_core_flush
static void truehd_core_flush(AVBSFContext *ctx)
Definition: truehd_core.c:166
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:50