FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
xl.c File Reference

Miro VideoXL codec. More...

#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 
static av_cold int decode_init (AVCodecContext *avctx)
 

Variables

static const int xl_table [32]
 
AVCodec ff_xl_decoder
 

Detailed Description

Miro VideoXL codec.

Definition in file xl.c.

Function Documentation

static int decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame,
AVPacket avpkt 
)
static

Definition at line 39 of file xl.c.

static av_cold int decode_init ( AVCodecContext avctx)
static

Definition at line 123 of file xl.c.

Variable Documentation

const int xl_table[32]
static
Initial value:
= {
0, 1, 2, 3, 4, 5, 6, 7,
8, 9, 12, 15, 20, 25, 34, 46,
64, 82, 94, 103, 108, 113, 116, 119,
120, 121, 122, 123, 124, 125, 126, 127
}

Definition at line 32 of file xl.c.

Referenced by decode_frame().

AVCodec ff_xl_decoder
Initial value:
= {
.name = "xl",
.long_name = NULL_IF_CONFIG_SMALL("Miro VideoXL"),
.init = decode_init,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:176
static av_cold int decode_init(AVCodecContext *avctx)
Definition: xl.c:123
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: xl.c:39
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:950

Definition at line 130 of file xl.c.