Go to the source code of this file.
|
static void | copy_frame (AVFrame *f, const uint8_t *src, int width, int height) |
| copy frame data from buffer to AVFrame, handling stride. More...
|
|
static int | get_quant (AVCodecContext *avctx, NuvContext *c, const uint8_t *buf, int size) |
| extract quantization tables from codec data into our context More...
|
|
static void | get_quant_quality (NuvContext *c, int quality) |
| set quantization tables from a quality value More...
|
|
static int | codec_reinit (AVCodecContext *avctx, int width, int height, int quality) |
|
static int | decode_frame (AVCodecContext *avctx, AVFrame *picture, int *got_frame, AVPacket *avpkt) |
|
static av_cold int | decode_init (AVCodecContext *avctx) |
|
static av_cold int | decode_end (AVCodecContext *avctx) |
|
◆ copy_frame()
static void copy_frame |
( |
AVFrame * |
f, |
|
|
const uint8_t * |
src, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
static |
copy frame data from buffer to AVFrame, handling stride.
- Parameters
-
f | destination AVFrame |
src | source buffer, does not use any line-stride |
width | width of the video frame |
height | height of the video frame |
Definition at line 53 of file nuv.c.
Referenced by decode_frame().
◆ get_quant()
◆ get_quant_quality()
set quantization tables from a quality value
Definition at line 84 of file nuv.c.
Referenced by codec_reinit().
◆ codec_reinit()
◆ decode_frame()
◆ decode_init()
◆ decode_end()
◆ ff_nuv_decoder
Initial value:
Definition at line 344 of file nuv.c.