FFmpeg
|
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include "libavutil/bswap.h"
#include "libavutil/common.h"
#include "libavutil/lzo.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "internal.h"
#include "rtjpeg.h"
Go to the source code of this file.
Data Structures | |
struct | NuvContext |
Functions | |
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, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | decode_init (AVCodecContext *avctx) |
static av_cold int | decode_end (AVCodecContext *avctx) |
Variables | |
static const uint8_t | fallback_lquant [] |
static const uint8_t | fallback_cquant [] |
AVCodec | ff_nuv_decoder |
Function Documentation
|
static |
Definition at line 113 of file libavcodec/nuv.c.
Referenced by decode_frame(), and decode_init().
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 75 of file libavcodec/nuv.c.
Referenced by decode_frame().
|
static |
Definition at line 321 of file libavcodec/nuv.c.
|
static |
Definition at line 149 of file libavcodec/nuv.c.
|
static |
Definition at line 296 of file libavcodec/nuv.c.
|
static |
extract quantization tables from codec data into our context
Definition at line 85 of file libavcodec/nuv.c.
Referenced by decode_frame(), and decode_init().
|
static |
set quantization tables from a quality value
Definition at line 103 of file libavcodec/nuv.c.
Referenced by codec_reinit().
Variable Documentation
|
static |
Definition at line 57 of file libavcodec/nuv.c.
Referenced by get_quant_quality().
|
static |
Definition at line 46 of file libavcodec/nuv.c.
Referenced by get_quant_quality().
AVCodec ff_nuv_decoder |
Definition at line 331 of file libavcodec/nuv.c.
Generated on Mon Nov 18 2024 06:52:08 for FFmpeg by 1.8.11