libavcodec/8bps.c File Reference

QT 8BPS Video Decoder by Roberto Togni For more information about the 8BPS format, visit: http://www.pcisys.net/~melanson/codecs/. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.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, AVPacket *avpkt)
static av_cold int decode_init (AVCodecContext *avctx)
static av_cold int decode_end (AVCodecContext *avctx)

Variables

static enum PixelFormat pixfmt_rgb24 []
AVCodec ff_eightbps_decoder


Detailed Description

QT 8BPS Video Decoder by Roberto Togni 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 alpha)

Definition in file 8bps.c.


Function Documentation

static av_cold int decode_end ( AVCodecContext avctx  )  [static]

Definition at line 210 of file 8bps.c.

static int decode_frame ( AVCodecContext avctx,
void *  data,
int data_size,
AVPacket avpkt 
) [static]

Definition at line 65 of file 8bps.c.

static av_cold int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 157 of file 8bps.c.


Variable Documentation

Initial value:

 {
    .name           = "8bps",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = AV_CODEC_ID_8BPS,
    .priv_data_size = sizeof(EightBpsContext),
    .init           = decode_init,
    .close          = decode_end,
    .decode         = decode_frame,
    .capabilities   = CODEC_CAP_DR1,
    .long_name      = NULL_IF_CONFIG_SMALL("QuickTime 8BPS video"),
}

Definition at line 222 of file 8bps.c.

enum PixelFormat pixfmt_rgb24[] [static]

Initial value:

Definition at line 43 of file 8bps.c.

Referenced by decode_init().


Generated on Fri Oct 26 02:50:03 2012 for FFmpeg by  doxygen 1.5.8