QT RLE Video Decoder by Mike Melanson (melan) For more information about the QT RLE format, visit: son@ pcisy s.ne thttp://www.pcisys.net/~melanson/codecs/. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
Go to the source code of this file.
Data Structures | |
struct | QtrleContext |
Macros | |
#define | CHECK_STREAM_PTR(n) |
#define | CHECK_PIXEL_PTR(n) |
Typedefs | |
typedef struct QtrleContext | QtrleContext |
Functions | |
static void | qtrle_decode_1bpp (QtrleContext *s, int stream_ptr, int row_ptr, int lines_to_change) |
static void | qtrle_decode_2n4bpp (QtrleContext *s, int stream_ptr, int row_ptr, int lines_to_change, int bpp) |
static void | qtrle_decode_8bpp (QtrleContext *s, int stream_ptr, int row_ptr, int lines_to_change) |
static void | qtrle_decode_16bpp (QtrleContext *s, int stream_ptr, int row_ptr, int lines_to_change) |
static void | qtrle_decode_24bpp (QtrleContext *s, int stream_ptr, int row_ptr, int lines_to_change) |
static void | qtrle_decode_32bpp (QtrleContext *s, int stream_ptr, int row_ptr, int lines_to_change) |
static av_cold int | qtrle_decode_init (AVCodecContext *avctx) |
static int | qtrle_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | qtrle_decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_qtrle_decoder |
QT RLE Video Decoder by Mike Melanson (melan) For more information about the QT RLE format, visit: son@ pcisy s.ne thttp://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 RGB32.
Definition in file qtrle.c.
#define CHECK_PIXEL_PTR | ( | n | ) |
Definition at line 59 of file qtrle.c.
Referenced by qtrle_decode_16bpp(), qtrle_decode_1bpp(), qtrle_decode_24bpp(), qtrle_decode_2n4bpp(), qtrle_decode_32bpp(), and qtrle_decode_8bpp().
#define CHECK_STREAM_PTR | ( | n | ) |
Definition at line 52 of file qtrle.c.
Referenced by qtrle_decode_16bpp(), qtrle_decode_1bpp(), qtrle_decode_24bpp(), qtrle_decode_2n4bpp(), qtrle_decode_32bpp(), and qtrle_decode_8bpp().
typedef struct QtrleContext QtrleContext |
|
static |
Definition at line 227 of file qtrle.c.
Referenced by qtrle_decode_frame().
|
static |
Definition at line 66 of file qtrle.c.
Referenced by qtrle_decode_frame().
|
static |
Definition at line 276 of file qtrle.c.
Referenced by qtrle_decode_frame().
|
inlinestatic |
Definition at line 116 of file qtrle.c.
Referenced by qtrle_decode_frame().
|
static |
Definition at line 326 of file qtrle.c.
Referenced by qtrle_decode_frame().
|
static |
Definition at line 174 of file qtrle.c.
Referenced by qtrle_decode_frame().
|
static |
|
static |
|
static |
AVCodec ff_qtrle_decoder |