Logo Search packages:      
Sourcecode: blender version File versions

loco.c File Reference

Detailed Description

LOCO codec.

Definition in file loco.c.

#include "avcodec.h"
#include "common.h"
#include "bitstream.h"
#include "golomb.h"

Go to the source code of this file.


struct  LOCOContext
struct  RICEContext


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


static int decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int decode_init (AVCodecContext *avctx)
static int loco_decode_plane (LOCOContext *l, uint8_t *data, int width, int height, int stride, uint8_t *buf, int buf_size, int step)
static int loco_get_rice (RICEContext *r)
static int loco_get_rice_param (RICEContext *r)
static int loco_predict (uint8_t *data, int stride, int step)
static void loco_update_rice_param (RICEContext *r, int val)


AVCodec loco_decoder

Generated by  Doxygen 1.6.0   Back to index