libavcodec/aasc.c File Reference

Autodesk RLE Video Decoder by Konstantin Shishkov. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "avcodec.h"
#include "dsputil.h"
#include "msrledec.h"

Go to the source code of this file.

Data Structures

struct  AascContext




static av_cold int aasc_decode_init (AVCodecContext *avctx)
static int aasc_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int aasc_decode_end (AVCodecContext *avctx)


AVCodec ff_aasc_decoder

Detailed Description

Autodesk RLE Video Decoder by Konstantin Shishkov.

Definition in file aasc.c.

Define Documentation



if (stream_ptr >= buf_size) \
    { \
      av_log(s->avctx, AV_LOG_ERROR, " AASC: stream ptr just went out of bounds (fetch)\n"); \
      break; \
    } \
    stream_byte = buf[stream_ptr++];

Definition at line 40 of file aasc.c.

Referenced by msrle_decode_pal4().

Function Documentation

static av_cold int aasc_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 106 of file aasc.c.

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

Definition at line 59 of file aasc.c.

static av_cold int aasc_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 48 of file aasc.c.

Variable Documentation

Initial value:

    .name           = "aasc",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_AASC,
    .priv_data_size = sizeof(AascContext),
    .init           = aasc_decode_init,
    .close          = aasc_decode_end,
    .decode         = aasc_decode_frame,
    .capabilities   = CODEC_CAP_DR1,
    .long_name = NULL_IF_CONFIG_SMALL("Autodesk RLE"),

Definition at line 117 of file aasc.c.

Generated on Fri Oct 26 02:43:45 2012 for FFmpeg by  doxygen 1.5.8