Microsoft Video-1 Decoder by Mike Melanson (melan.nosp@m.son@.nosp@m.pcisy.nosp@m.s.ne.nosp@m.t) For more information about the MS Video-1 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"
#include "internal.h"
Go to the source code of this file.
Microsoft Video-1 Decoder by Mike Melanson (melan.nosp@m.son@.nosp@m.pcisy.nosp@m.s.ne.nosp@m.t) For more information about the MS Video-1 format, visit: http://www.pcisys.net/~melanson/codecs/.
Definition in file msvideo1.c.
#define PALETTE_COUNT 256 |
#define CHECK_STREAM_PTR |
( |
|
n | ) |
|
Value:if ((stream_ptr + n) > s->size ) {
\
av_log(s->avctx,
AV_LOG_ERROR,
" MS Video-1 warning: stream_ptr out of bounds (%d >= %d)\n", \
stream_ptr + n, s->size);
\
}
void av_log(void *avcl, int level, const char *fmt,...) av_printf_format(3
Send the specified message to the log if the level is less than or equal to the current av_log_level...
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
Definition at line 40 of file msvideo1.c.
Referenced by msvideo1_decode_16bit(), and msvideo1_decode_8bit().
Initial value:= {
.name = "msvideo1",
}
static int msvideo1_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
static int decode(MimicContext *ctx, int quality, int num_coeffs, int is_iframe)
static av_cold int msvideo1_decode_end(AVCodecContext *avctx)
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static void close(AVCodecParserContext *s)
static av_cold int msvideo1_decode_init(AVCodecContext *avctx)
static av_cold int init(AVCodecParserContext *s)
Definition at line 340 of file msvideo1.c.