This decoder outputs either PAL8 or RGB555 data, depending on the whether a RGB palette was passed through palctrl; if it's present, then the data is PAL8; RGB555 otherwise.
Definition in file msvideo1.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.
Classes | |
struct | Msvideo1Context |
Defines | |
#define | CHECK_STREAM_PTR(n) |
#define | PALETTE_COUNT 256 |
Functions | |
static void | msvideo1_decode_16bit (Msvideo1Context *s) |
static void | msvideo1_decode_8bit (Msvideo1Context *s) |
static int | msvideo1_decode_end (AVCodecContext *avctx) |
static int | msvideo1_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) |
static int | msvideo1_decode_init (AVCodecContext *avctx) |
Variables | |
AVCodec | msvideo1_decoder |