#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "bswapdsp.h"
#include "get_bits.h"
#include "huffyuvdsp.h"
#include "internal.h"
#include "thread.h"
#include "unary.h"
Go to the source code of this file.
|
static av_cold int | decode_init (AVCodecContext *avctx) |
|
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, const uint32_t *table) |
|
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
|
static av_cold int | decode_end (AVCodecContext *avctx) |
|
◆ decode_init()
Definition at line 47 of file ylc.c.
◆ get_tree_codes()
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 |
◆ build_vlc()
◆ decode_frame()
◆ decode_end()
◆ table_y1
◆ table_u
◆ table_y2
◆ table_v
◆ ff_ylc_decoder
Initial value:= {
.name = "ylc",
}
static av_cold int decode_init(AVCodecContext *avctx)
static int init_thread_copy(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
#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_end(AVCodecContext *avctx)
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
#define ONLY_IF_THREADS_ENABLED(x)
Define a function with only the non-default version specified.
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition at line 490 of file ylc.c.