|
Libav 0.7.1
|
#include "libavutil/imgutils.h"#include "avcodec.h"#include "get_bits.h"#include "dnxhddata.h"#include "dsputil.h"Go to the source code of this file.
Data Structures | |
| struct | DNXHDContext |
Defines | |
| #define | DNXHD_VLC_BITS 9 |
| #define | DNXHD_DC_VLC_BITS 7 |
Functions | |
| static av_cold int | dnxhd_decode_init (AVCodecContext *avctx) |
| static int | dnxhd_init_vlc (DNXHDContext *ctx, int cid) |
| static int | dnxhd_decode_header (DNXHDContext *ctx, const uint8_t *buf, int buf_size, int first_field) |
| static int | dnxhd_decode_dc (DNXHDContext *ctx) |
| static void | dnxhd_decode_dct_block (DNXHDContext *ctx, DCTELEM *block, int n, int qscale) |
| static int | dnxhd_decode_macroblock (DNXHDContext *ctx, int x, int y) |
| static int | dnxhd_decode_macroblocks (DNXHDContext *ctx, const uint8_t *buf, int buf_size) |
| static int | dnxhd_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
| static av_cold int | dnxhd_decode_close (AVCodecContext *avctx) |
Variables | |
| AVCodec | ff_dnxhd_decoder |
| #define DNXHD_DC_VLC_BITS 7 |
Definition at line 49 of file dnxhddec.c.
Referenced by dnxhd_decode_dc(), and dnxhd_init_vlc().
| #define DNXHD_VLC_BITS 9 |
Definition at line 48 of file dnxhddec.c.
Referenced by dnxhd_decode_dct_block(), and dnxhd_init_vlc().
| static av_cold int dnxhd_decode_close | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 337 of file dnxhddec.c.
| static int dnxhd_decode_dc | ( | DNXHDContext * | ctx | ) | [static] |
Definition at line 154 of file dnxhddec.c.
Referenced by dnxhd_decode_dct_block().
| static void dnxhd_decode_dct_block | ( | DNXHDContext * | ctx, |
| DCTELEM * | block, | ||
| int | n, | ||
| int | qscale | ||
| ) | [static] |
Definition at line 162 of file dnxhddec.c.
Referenced by dnxhd_decode_macroblock().
| static int dnxhd_decode_frame | ( | AVCodecContext * | avctx, |
| void * | data, | ||
| int * | data_size, | ||
| AVPacket * | avpkt | ||
| ) | [static] |
Definition at line 287 of file dnxhddec.c.
| static int dnxhd_decode_header | ( | DNXHDContext * | ctx, |
| const uint8_t * | buf, | ||
| int | buf_size, | ||
| int | first_field | ||
| ) | [static] |
Definition at line 88 of file dnxhddec.c.
Referenced by dnxhd_decode_frame().
| static av_cold int dnxhd_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 51 of file dnxhddec.c.
| static int dnxhd_decode_macroblock | ( | DNXHDContext * | ctx, |
| int | x, | ||
| int | y | ||
| ) | [static] |
Definition at line 221 of file dnxhddec.c.
Referenced by dnxhd_decode_macroblocks().
| static int dnxhd_decode_macroblocks | ( | DNXHDContext * | ctx, |
| const uint8_t * | buf, | ||
| int | buf_size | ||
| ) | [static] |
Definition at line 270 of file dnxhddec.c.
Referenced by dnxhd_decode_frame().
| static int dnxhd_init_vlc | ( | DNXHDContext * | ctx, |
| int | cid | ||
| ) | [static] |
Definition at line 63 of file dnxhddec.c.
Referenced by dnxhd_decode_header().
{
"dnxhd",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_DNXHD,
sizeof(DNXHDContext),
dnxhd_decode_init,
NULL,
dnxhd_decode_close,
dnxhd_decode_frame,
CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"),
}
Definition at line 349 of file dnxhddec.c.
1.7.4