#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "internal.h"
#include "lossless_videodsp.h"
#include <zlib.h>
Go to the source code of this file.
|
static void | get_tree_codes (uint32_t *bits, int16_t *lens, uint8_t *xlat, Node *nodes, int node, uint32_t pfx, int pl, int *pos) |
|
static int | build_vlc (AVCodecContext *avctx, VLC *vlc) |
|
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
|
static av_cold int | decode_init (AVCodecContext *avctx) |
|
static av_cold int | decode_close (AVCodecContext *avctx) |
|
#define CACHED_BITSTREAM_READER !ARCH_X86_32 |
static void get_tree_codes |
( |
uint32_t * |
bits, |
|
|
int16_t * |
lens, |
|
|
uint8_t * |
xlat, |
|
|
Node * |
nodes, |
|
|
int |
node, |
|
|
uint32_t |
pfx, |
|
|
int |
pl, |
|
|
int * |
pos |
|
) |
| |
|
static |
Initial value:= {
.name = "mvha",
}
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
static av_cold int init(AVCodecContext *avctx)
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
static av_cold int decode_close(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
static av_cold int decode_init(AVCodecContext *avctx)
Definition at line 310 of file mvha.c.