FFmpeg
Functions | Variables
apvenc.c File Reference
#include "libavcodec/apv.h"
#include "avformat.h"
#include "mux.h"

Go to the source code of this file.

Functions

static int apv_write_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFOutputFormat ff_apv_muxer
 

Function Documentation

◆ apv_write_packet()

static int apv_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 24 of file apvenc.c.

Variable Documentation

◆ ff_apv_muxer

const FFOutputFormat ff_apv_muxer
Initial value:
= {
.p.name = "apv",
.p.long_name = NULL_IF_CONFIG_SMALL("APV raw bitstream"),
.p.extensions = "apv",
.p.audio_codec = AV_CODEC_ID_NONE,
.p.video_codec = AV_CODEC_ID_APV,
.p.subtitle_codec = AV_CODEC_ID_NONE,
.flags_internal = FF_OFMT_FLAG_MAX_ONE_OF_EACH,
.write_packet = apv_write_packet,
}

Definition at line 31 of file apvenc.c.

NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:94
apv_write_packet
static int apv_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: apvenc.c:24
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:50
FF_OFMT_FLAG_MAX_ONE_OF_EACH
#define FF_OFMT_FLAG_MAX_ONE_OF_EACH
If this flag is set, it indicates that for each codec type whose corresponding default codec (i....
Definition: mux.h:50
AV_CODEC_ID_APV
@ AV_CODEC_ID_APV
Definition: codec_id.h:332