Logo Search packages:      
Sourcecode: blender version File versions

qtrle.c File Reference

Detailed Description

QT RLE Video Decoder by Mike Melanson (melanson@pcisys.net) For more information about the QT RLE format, visit: http://www.pcisys.net/~melanson/codecs/

The QT RLE decoder has seven modes of operation: 1, 2, 4, 8, 16, 24, and 32 bits per pixel. For modes 1, 2, 4, and 8 the decoder outputs PAL8 colorspace data. 16-bit data yields RGB555 data. 24-bit data is RGB24 and 32-bit data is RGBA32.

Definition in file qtrle.c.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "common.h"
#include "avcodec.h"
#include "dsputil.h"

Go to the source code of this file.


struct  QtrleContext


#define CHECK_PIXEL_PTR(n)


static void qtrle_decode_16bpp (QtrleContext *s)
static void qtrle_decode_1bpp (QtrleContext *s)
static void qtrle_decode_24bpp (QtrleContext *s)
static void qtrle_decode_2bpp (QtrleContext *s)
static void qtrle_decode_32bpp (QtrleContext *s)
static void qtrle_decode_4bpp (QtrleContext *s)
static void qtrle_decode_8bpp (QtrleContext *s)
static int qtrle_decode_end (AVCodecContext *avctx)
static int qtrle_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int qtrle_decode_init (AVCodecContext *avctx)


AVCodec qtrle_decoder

Generated by  Doxygen 1.6.0   Back to index