FFmpeg
Loading...
Searching...
No Matches
pcm-blurayenc.c File Reference
#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "encode.h"

Go to the source code of this file.

Data Structures

struct  BlurayPCMEncContext
 

Functions

static av_cold int pcm_bluray_encode_init (AVCodecContext *avctx)
 
static int pcm_bluray_encode_frame (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
 

Variables

const FFCodec ff_pcm_bluray_encoder
 

Function Documentation

◆ pcm_bluray_encode_init()

static av_cold int pcm_bluray_encode_init ( AVCodecContext * avctx)
static

Definition at line 31 of file pcm-blurayenc.c.

◆ pcm_bluray_encode_frame()

static int pcm_bluray_encode_frame ( AVCodecContext * avctx,
AVPacket * avpkt,
const AVFrame * frame,
int * got_packet_ptr )
static

Definition at line 107 of file pcm-blurayenc.c.

Variable Documentation

◆ ff_pcm_bluray_encoder

const FFCodec ff_pcm_bluray_encoder
Initial value:
= {
.p.name = "pcm_bluray",
CODEC_LONG_NAME("PCM signed 16|20|24-bit big-endian for Blu-ray media"),
.p.type = AVMEDIA_TYPE_AUDIO,
.priv_data_size = sizeof(BlurayPCMEncContext),
CODEC_SAMPLERATES(48000, 96000, 192000),
}
#define CODEC_CH_LAYOUTS(...)
#define CODEC_SAMPLERATES(...)
#define FF_CODEC_ENCODE_CB(func)
#define CODEC_LONG_NAME(str)
#define CODEC_SAMPLEFMTS(...)
int(* init)(AVBSFContext *ctx)
Definition dts2pts.c:608
#define AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
This encoder can reorder user opaque values from input AVFrames and return them with corresponding ou...
Definition codec.h:147
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
Definition codec.h:49
@ AV_CODEC_ID_PCM_BLURAY
Definition codec_id.h:354
#define AV_CHANNEL_LAYOUT_4POINT0
#define AV_CHANNEL_LAYOUT_5POINT0
#define AV_CHANNEL_LAYOUT_STEREO
#define AV_CHANNEL_LAYOUT_2_2
#define AV_CHANNEL_LAYOUT_5POINT1
#define AV_CHANNEL_LAYOUT_MONO
#define AV_CHANNEL_LAYOUT_7POINT0
#define AV_CHANNEL_LAYOUT_SURROUND
#define AV_CHANNEL_LAYOUT_2_1
#define AV_CHANNEL_LAYOUT_7POINT1
@ AVMEDIA_TYPE_AUDIO
Definition avutil.h:201
@ AV_SAMPLE_FMT_S32
signed 32 bits
Definition samplefmt.h:59
@ AV_SAMPLE_FMT_S16
signed 16 bits
Definition samplefmt.h:58
static av_cold int pcm_bluray_encode_init(AVCodecContext *avctx)
static int pcm_bluray_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)

Definition at line 273 of file pcm-blurayenc.c.