libavcodec/8bps.c File Reference

QT 8BPS Video Decoder by Roberto Togni <rtogni at="" bresciaonline="" dot="" it>=""> For more information about the 8BPS format, visit: http://www.pcisys.net/~melanson/codecs/. More...

#include <stdio.h>
#include <stdlib.h>
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  EightBpsContext

Functions

static int decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
static int decode_init (AVCodecContext *avctx)
static int decode_end (AVCodecContext *avctx)

Variables

static enum PixelFormat pixfmt_rgb24 [] = {PIX_FMT_BGR24, PIX_FMT_RGB32, -1}
AVCodec eightbps_decoder


Detailed Description

QT 8BPS Video Decoder by Roberto Togni <rtogni at="" bresciaonline="" dot="" it>=""> For more information about the 8BPS format, visit: http://www.pcisys.net/~melanson/codecs/.

Supports: PAL8 (RGB 8bpp, paletted) : BGR24 (RGB 24bpp) (can also output it as RGB32) : RGB32 (RGB 32bpp, 4th plane is probably alpha and it's ignored)

Definition in file 8bps.c.


Function Documentation

static int decode_end ( AVCodecContext avctx  )  [static]

Definition at line 211 of file 8bps.c.

static int decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
const uint8_t buf,
int  buf_size 
) [static]

Definition at line 60 of file 8bps.c.

static int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 151 of file 8bps.c.


Variable Documentation

Initial value:

Definition at line 223 of file 8bps.c.

enum PixelFormat pixfmt_rgb24[] = {PIX_FMT_BGR24, PIX_FMT_RGB32, -1} [static]

Definition at line 40 of file 8bps.c.

Referenced by decode_init().


Generated on Fri Oct 3 22:46:54 2008 for ffmpeg by  doxygen 1.5.6