FFmpeg
|
QT RPZA Video Decoder by Roberto Togni For more information about the RPZA format, visit: http://www.pcisys.net/~melanson/codecs/. More...
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "libavutil/internal.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | RpzaContext |
Macros | |
#define | CHECK_BLOCK() |
#define | ADVANCE_BLOCK() |
Functions | |
static int | rpza_decode_stream (RpzaContext *s) |
static av_cold int | rpza_decode_init (AVCodecContext *avctx) |
static int | rpza_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | rpza_decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_rpza_decoder |
QT RPZA Video Decoder by Roberto Togni For more information about the RPZA format, visit: http://www.pcisys.net/~melanson/codecs/.
The RPZA decoder outputs RGB555 colorspace data.
Note that this decoder reads big endian RGB555 pixel values from the bytestream, arranges them in the host's endian order, and outputs them to the final rendered map in the same host endian order. This is intended behavior as the libavcodec documentation states that RGB555 pixels shall be stored in native CPU endianness.
Definition in file rpza.c.
#define CHECK_BLOCK | ( | ) |
Definition at line 55 of file rpza.c.
Referenced by rpza_decode_stream().
#define ADVANCE_BLOCK | ( | ) |
Definition at line 62 of file rpza.c.
Referenced by rpza_decode_stream().
|
static |
Definition at line 73 of file rpza.c.
Referenced by rpza_decode_frame().
|
static |
|
static |
|
static |
AVCodec ff_rpza_decoder |