libavcodec/utvideo.c File Reference
Ut Video decoder.
More...
#include <stdlib.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "dsputil.h"
#include "thread.h"
Go to the source code of this file.
|
Data Structures |
struct | UtvideoContext |
struct | HuffEntry |
Enumerations |
enum | { PRED_NONE = 0,
PRED_LEFT,
PRED_GRADIENT,
PRED_MEDIAN
} |
Functions |
static int | huff_cmp (const void *a, const void *b) |
static int | build_huff (const uint8_t *src, VLC *vlc, int *fsym) |
static int | decode_plane (UtvideoContext *c, int plane_no, uint8_t *dst, int step, int stride, int width, int height, const uint8_t *src, int use_pred) |
static void | restore_rgb_planes (uint8_t *src, int step, int stride, int width, int height) |
static void | restore_median (uint8_t *src, int step, int stride, int width, int height, int slices, int rmode) |
static void | restore_median_il (uint8_t *src, int step, int stride, int width, int height, int slices, int rmode) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | decode_init (AVCodecContext *avctx) |
static av_cold int | decode_end (AVCodecContext *avctx) |
Variables |
static const int | rgb_order [4] = { 1, 2, 0, 3 } |
AVCodec | ff_utvideo_decoder |
Detailed Description
Ut Video decoder.
Definition in file utvideo.c.
Enumeration Type Documentation
- Enumerator:
-
PRED_NONE |
|
PRED_LEFT |
|
PRED_GRADIENT |
|
PRED_MEDIAN |
|
Definition at line 36 of file utvideo.c.
Function Documentation
static int build_huff |
( |
const uint8_t * |
src, |
|
|
VLC * |
vlc, |
|
|
int * |
fsym | |
|
) |
| | [static] |
static int decode_plane |
( |
UtvideoContext * |
c, |
|
|
int |
plane_no, |
|
|
uint8_t * |
dst, |
|
|
int |
step, |
|
|
int |
stride, |
|
|
int |
width, |
|
|
int |
height, |
|
|
const uint8_t * |
src, |
|
|
int |
use_pred | |
|
) |
| | [static] |
static int huff_cmp |
( |
const void * |
a, |
|
|
const void * |
b | |
|
) |
| | [static] |
static void restore_median |
( |
uint8_t * |
src, |
|
|
int |
step, |
|
|
int |
stride, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
slices, |
|
|
int |
rmode | |
|
) |
| | [static] |
static void restore_median_il |
( |
uint8_t * |
src, |
|
|
int |
step, |
|
|
int |
stride, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
slices, |
|
|
int |
rmode | |
|
) |
| | [static] |
static void restore_rgb_planes |
( |
uint8_t * |
src, |
|
|
int |
step, |
|
|
int |
stride, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | [static] |
Variable Documentation
const int rgb_order[4] = { 1, 2, 0, 3 } [static] |