FFmpeg
|
Ut Video decoder. More...
#include <stdlib.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "dsputil.h"
#include "thread.h"
#include "utvideo.h"
Include dependency graph for utvideodec.c:
Go to the source code of this file.
Functions | |
static int | build_huff (const uint8_t *src, VLC *vlc, int *fsym) |
static int | decode_plane (UtvideoContext *c, int plane_no, uint8_t *dst, int step, int stride, int width, int height, const uint8_t *src, int use_pred) |
static void | restore_rgb_planes (uint8_t *src, int step, int stride, int width, int height) |
static void | restore_median (uint8_t *src, int step, int stride, int width, int height, int slices, int rmode) |
static void | restore_median_il (uint8_t *src, int step, int stride, int width, int height, int slices, int rmode) |
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 | |
AVCodec | ff_utvideo_decoder |
Detailed Description
Ut Video decoder.
Definition in file utvideodec.c.
Function Documentation
Definition at line 37 of file utvideodec.c.
Referenced by decode_plane().
|
static |
Definition at line 524 of file utvideodec.c.
|
static |
Definition at line 323 of file utvideodec.c.
|
static |
Definition at line 466 of file utvideodec.c.
|
static |
Definition at line 79 of file utvideodec.c.
Referenced by decode_frame().
|
static |
Definition at line 201 of file utvideodec.c.
Referenced by decode_frame().
|
static |
Definition at line 255 of file utvideodec.c.
Referenced by decode_frame().
|
static |
Definition at line 183 of file utvideodec.c.
Referenced by decode_frame().
Variable Documentation
AVCodec ff_utvideo_decoder |
Initial value:
= {
.name = "utvideo",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_UTVIDEO,
.priv_data_size = sizeof(UtvideoContext),
.init = decode_init,
.close = decode_end,
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS,
.long_name = NULL_IF_CONFIG_SMALL("Ut Video"),
}
#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
Definition: libavcodec/avcodec.h:256
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: utvideodec.c:323
#define CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
Definition: libavcodec/avcodec.h:810
struct UtvideoContext UtvideoContext
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
Definition at line 533 of file utvideodec.c.
Generated on Fri Dec 20 2024 06:56:16 for FFmpeg by 1.8.11