FFmpeg
|
libavcodec/dxa.c File Reference
DXA Video decoder. More...
#include <stdio.h>
#include <stdlib.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "bytestream.h"
#include "avcodec.h"
#include "internal.h"
#include <zlib.h>
Include dependency graph for libavcodec/dxa.c:
Go to the source code of this file.
Data Structures | |
struct | DxaDecContext |
Typedefs | |
typedef struct DxaDecContext | DxaDecContext |
Functions | |
static int | decode_13 (AVCodecContext *avctx, DxaDecContext *c, uint8_t *dst, int stride, uint8_t *src, uint8_t *ref) |
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_end (AVCodecContext *avctx) |
Variables | |
static const int | shift1 [6] = { 0, 8, 8, 8, 4, 4 } |
static const int | shift2 [6] = { 0, 0, 8, 4, 0, 4 } |
AVCodec | ff_dxa_decoder |
Detailed Description
DXA Video decoder.
Definition in file libavcodec/dxa.c.
Typedef Documentation
typedef struct DxaDecContext DxaDecContext |
Function Documentation
|
static |
Definition at line 52 of file libavcodec/dxa.c.
Referenced by decode_frame().
|
static |
Definition at line 311 of file libavcodec/dxa.c.
|
static |
Definition at line 193 of file libavcodec/dxa.c.
|
static |
Definition at line 293 of file libavcodec/dxa.c.
Variable Documentation
AVCodec ff_dxa_decoder |
Initial value:
= {
.name = "dxa",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_DXA,
.priv_data_size = sizeof(DxaDecContext),
.init = decode_init,
.close = decode_end,
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Feeble Files/ScummVM DXA"),
}
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: libavcodec/dxa.c:193
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
struct DxaDecContext DxaDecContext
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
Definition: libavcodec/avcodec.h:201
Definition at line 321 of file libavcodec/dxa.c.
|
static |
Definition at line 49 of file libavcodec/dxa.c.
Referenced by decode_13(), and dnxhd_decode_macroblock().
|
static |
Definition at line 50 of file libavcodec/dxa.c.
Referenced by DECLARE_ALIGNED(), decode_13(), line_noise_avg_mmx(), predictor_decode_mono_3800(), and predictor_decode_stereo_3800().
Generated on Fri Dec 20 2024 06:56:12 for FFmpeg by 1.8.11