xl.c File Reference

Miro VideoXL codec. More...

#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "internal.h"
Include dependency graph for xl.c:

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 124 of file xl.c.

Variable Documentation

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

Definition at line 131 of file xl.c.

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().