#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 "lossless_videodsp.h"
#include "thread.h"
Go to the source code of this file.
|
static int | huff_build (const uint8_t len[], uint16_t codes_pos[33], VLC *vlc, int nb_elems, void *logctx) |
|
static void | magicyuv_median_pred16 (uint16_t *dst, const uint16_t *src1, const uint16_t *diff, intptr_t w, int *left, int *left_top, int max) |
|
static int | magy_decode_slice10 (AVCodecContext *avctx, void *tdata, int j, int threadnr) |
|
static int | magy_decode_slice (AVCodecContext *avctx, void *tdata, int j, int threadnr) |
|
static int | build_huffman (AVCodecContext *avctx, const uint8_t *table, int table_size, int max) |
|
static int | magy_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
|
static av_cold int | magy_decode_init (AVCodecContext *avctx) |
|
static av_cold int | magy_decode_end (AVCodecContext *avctx) |
|
◆ CACHED_BITSTREAM_READER
#define CACHED_BITSTREAM_READER !ARCH_X86_32 |
◆ Prediction
Enumerator |
---|
LEFT | |
GRADIENT | |
MEDIAN | |
LEFT | |
GRADIENT | |
MEDIAN | |
Definition at line 42 of file magicyuv.c.
◆ huff_build()
static int huff_build |
( |
const uint8_t |
len[], |
|
|
uint16_t |
codes_pos[33], |
|
|
VLC * |
vlc, |
|
|
int |
nb_elems, |
|
|
void * |
logctx |
|
) |
| |
|
static |
◆ magicyuv_median_pred16()
static void magicyuv_median_pred16 |
( |
uint16_t * |
dst, |
|
|
const uint16_t * |
src1, |
|
|
const uint16_t * |
diff, |
|
|
intptr_t |
w, |
|
|
int * |
left, |
|
|
int * |
left_top, |
|
|
int |
max |
|
) |
| |
|
static |
◆ magy_decode_slice10()
◆ magy_decode_slice()
◆ build_huffman()
◆ magy_decode_frame()
◆ magy_decode_init()
◆ magy_decode_end()
◆ ff_magicyuv_decoder
Initial value:= {
.name = "magicyuv",
}
Definition at line 697 of file magicyuv.c.