FFmpeg
|
libavcodec/jvdec.c File Reference
Bitmap Brothers JV video decoder. More...
#include "avcodec.h"
#include "dsputil.h"
#include "get_bits.h"
#include "internal.h"
#include "libavutil/intreadwrite.h"
Include dependency graph for libavcodec/jvdec.c:
Go to the source code of this file.
Data Structures | |
struct | JvContext |
Typedefs | |
typedef struct JvContext | JvContext |
Functions | |
static av_cold int | decode_init (AVCodecContext *avctx) |
static void | decode2x2 (GetBitContext *gb, uint8_t *dst, int linesize) |
Decode 2x2 block. More... | |
static void | decode4x4 (GetBitContext *gb, uint8_t *dst, int linesize) |
Decode 4x4 block. More... | |
static void | decode8x8 (GetBitContext *gb, uint8_t *dst, int linesize, DSPContext *dsp) |
Decode 8x8 block. More... | |
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | decode_close (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_jv_decoder |
Detailed Description
Bitmap Brothers JV video decoder.
Definition in file libavcodec/jvdec.c.
Typedef Documentation
Function Documentation
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Definition at line 201 of file libavcodec/jvdec.c.
|
static |
Definition at line 133 of file libavcodec/jvdec.c.
|
static |
Definition at line 41 of file libavcodec/jvdec.c.
Variable Documentation
AVCodec ff_jv_decoder |
Initial value:
= {
.name = "jv",
.long_name = NULL_IF_CONFIG_SMALL("Bitmap Brothers JV video"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_JV,
.priv_data_size = sizeof(JvContext),
.init = decode_init,
.close = decode_close,
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1,
}
struct JvContext JvContext
#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
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: libavcodec/jvdec.c:133
Definition: libavcodec/avcodec.h:252
static av_cold int decode_close(AVCodecContext *avctx)
Definition: libavcodec/jvdec.c:201
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
Definition at line 210 of file libavcodec/jvdec.c.
Generated on Mon Nov 18 2024 06:52:07 for FFmpeg by 1.8.11