#include <stdlib.h>
#include <string.h>
#include "../libavutil/pixdesc.h"
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "huffyuvdsp.h"
#include "internal.h"
#include "thread.h"
Go to the source code of this file.
◆ Prediction
Enumerator |
---|
LEFT | |
GRADIENT | |
MEDIAN | |
Definition at line 39 of file magicyuv.c.
◆ huff_cmp_len()
static int huff_cmp_len |
( |
const void * |
a, |
|
|
const void * |
b |
|
) |
| |
|
static |
◆ huff_build()
static int huff_build |
( |
VLC * |
vlc, |
|
|
uint8_t * |
len |
|
) |
| |
|
static |
◆ magy_decode_slice()
static int magy_decode_slice |
( |
AVCodecContext * |
avctx, |
|
|
void * |
tdata, |
|
|
int |
j, |
|
|
int |
threadnr |
|
) |
| |
|
static |
◆ magy_decode_frame()
◆ magy_decode_init()
◆ magy_decode_end()
◆ ff_magicyuv_decoder
Initial value:= {
.name = "magicyuv",
}
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
#define ONLY_IF_THREADS_ENABLED(x)
Define a function with only the non-default version specified.
#define AV_CODEC_CAP_SLICE_THREADS
Codec supports slice-based (or partition-based) multithreading.
static av_cold int magy_decode_init(AVCodecContext *avctx)
static int magy_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
static av_cold int magy_decode_end(AVCodecContext *avctx)
static av_cold int init(AVCodecParserContext *s)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition at line 466 of file magicyuv.c.