FFmpeg
|
#include "avcodec.h"
#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
#include "golomb.h"
#include "mathops.h"
Go to the source code of this file.
Data Structures | |
struct | LOCOContext |
struct | RICEContext |
Macros | |
#define | ADVANCE_BY_DECODED |
Enumerations | |
enum | LOCO_MODE { LOCO_UNKN = 0, LOCO_CYUY2 = -1, LOCO_CRGB = -2, LOCO_CRGBA = -3, LOCO_CYV12 = -4, LOCO_YUY2 = 1, LOCO_UYVY = 2, LOCO_RGB = 3, LOCO_RGBA = 4, LOCO_YV12 = 5 } |
Functions | |
static int | loco_get_rice_param (RICEContext *r) |
static void | loco_update_rice_param (RICEContext *r, int val) |
static int | loco_get_rice (RICEContext *r) |
static int | loco_predict (uint8_t *data, int stride) |
static int | loco_decode_plane (LOCOContext *l, uint8_t *data, int width, int height, int stride, const uint8_t *buf, int buf_size) |
static void | rotate_faulty_loco (uint8_t *data, int width, int height, int stride) |
static int | decode_frame (AVCodecContext *avctx, AVFrame *p, int *got_frame, AVPacket *avpkt) |
static av_cold int | decode_init (AVCodecContext *avctx) |
Variables | |
const FFCodec | ff_loco_decoder |
LOCO codec.
Definition in file loco.c.
#define ADVANCE_BY_DECODED |
enum LOCO_MODE |
|
static |
Definition at line 60 of file loco.c.
Referenced by loco_get_rice().
|
inlinestatic |
Definition at line 73 of file loco.c.
Referenced by loco_get_rice().
|
inlinestatic |
Definition at line 84 of file loco.c.
Referenced by loco_decode_plane().
Definition at line 120 of file loco.c.
Referenced by loco_decode_plane().
|
static |
Definition at line 131 of file loco.c.
Referenced by decode_frame().
Definition at line 183 of file loco.c.
Referenced by decode_frame().
|
static |
|
static |
const FFCodec ff_loco_decoder |