#include <string.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "libavutil/pixfmt.h"
#include "avcodec.h"
#include "bswapdsp.h"
#include "codec_internal.h"
#include "get_bits.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, AVFrame *p, int *got_frame, AVPacket *avpkt) |
| |
| static av_cold int | decode_end (AVCodecContext *avctx) |
| |
◆ YLC_VLC_BITS
◆ decode_init()
Definition at line 43 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:= {
.p.name = "ylc",
}
static av_cold void close(AVCodecParserContext *s)
#define FF_CODEC_DECODE_CB(func)
#define CODEC_LONG_NAME(str)
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
static av_cold int decode_init(AVCodecContext *avctx)
static av_cold int decode_end(AVCodecContext *avctx)
static int decode_frame(AVCodecContext *avctx, AVFrame *picture, int *got_frame, AVPacket *avpkt)
Definition at line 446 of file ylc.c.