Logo Search packages:      
Sourcecode: blender version File versions

rpza.c File Reference

Detailed Description

QT RPZA Video Decoder by Roberto Togni <rtogni@bresciaonline.it> 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 ffmpeg documentation states that RGB555 pixels shall be stored in native CPU endianness.

Definition in file rpza.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  RpzaContext




static int rpza_decode_end (AVCodecContext *avctx)
static int rpza_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int rpza_decode_init (AVCodecContext *avctx)
static void rpza_decode_stream (RpzaContext *s)


AVCodec rpza_decoder

Generated by  Doxygen 1.6.0   Back to index