FFmpeg
|
#include <stdlib.h>
#include <string.h>
#include "libavutil/pixdesc.h"
#include "libavutil/qsort.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.
Data Structures | |
struct | Slice |
struct | HuffEntry |
struct | MagicYUVContext |
Enumerations | |
enum | Prediction { LEFT = 1, GRADIENT, MEDIAN, LEFT = 1, GRADIENT, MEDIAN } |
Functions | |
static int | huff_cmp_len (const void *a, const void *b) |
static int | huff_cmp_len10 (const void *a, const void *b) |
static int | huff_cmp_len12 (const void *a, const void *b) |
static int | huff_build10 (VLC *vlc, uint8_t *len) |
static int | huff_build12 (VLC *vlc, uint8_t *len) |
static int | huff_build (VLC *vlc, uint8_t *len) |
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, GetBitContext *gbit, 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) |
Variables | |
AVCodec | ff_magicyuv_decoder |
enum Prediction |
Enumerator | |
---|---|
LEFT | |
GRADIENT | |
MEDIAN | |
LEFT | |
GRADIENT | |
MEDIAN |
Definition at line 41 of file magicyuv.c.
Definition at line 77 of file magicyuv.c.
Referenced by huff_build().
Definition at line 83 of file magicyuv.c.
Referenced by huff_build10().
Definition at line 89 of file magicyuv.c.
Referenced by huff_build12().
Definition at line 95 of file magicyuv.c.
Referenced by magy_decode_frame().
Definition at line 127 of file magicyuv.c.
Referenced by magy_decode_frame().
Definition at line 159 of file magicyuv.c.
Referenced by magy_decode_frame().
|
static |
Definition at line 191 of file magicyuv.c.
Referenced by magy_decode_slice10().
|
static |
Definition at line 212 of file magicyuv.c.
Referenced by magy_decode_frame().
|
static |
Definition at line 342 of file magicyuv.c.
Referenced by magy_decode_frame().
|
static |
Definition at line 472 of file magicyuv.c.
Referenced by magy_decode_frame().
|
static |
Definition at line 512 of file magicyuv.c.
|
static |
Definition at line 763 of file magicyuv.c.
|
static |
Definition at line 770 of file magicyuv.c.
AVCodec ff_magicyuv_decoder |
Definition at line 784 of file magicyuv.c.