#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 |
Defines | |
#define | FETCH_NEXT_STREAM_BYTE() |
Functions | |
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) |
Variables | |
AVCodec | ff_aasc_decoder |
Definition in file aasc.c.
#define FETCH_NEXT_STREAM_BYTE | ( | ) |
Value:
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().
static av_cold int aasc_decode_end | ( | AVCodecContext * | avctx | ) | [static] |
static int aasc_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
static av_cold int aasc_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
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"), }