FFmpeg
|
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/internal.h"
#include "libavutil/mem_internal.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "dv.h"
#include "dv_profile_internal.h"
#include "dv_tablegen.h"
#include "encode.h"
#include "fdctdsp.h"
#include "mathops.h"
#include "me_cmp.h"
#include "pixblockdsp.h"
#include "put_bits.h"
Go to the source code of this file.
Data Structures | |
struct | EncBlockInfo |
Macros | |
#define | DV100_SACRIFICE_QUALITY_FOR_SPEED 1 |
#define | DV100_ENABLE_FINER 1 |
#define | DV100_MAKE_QLEVEL(qno, cno) ((qno<<2) | (cno)) |
#define | DV100_QLEVEL_QNO(qlevel) (qlevel>>2) |
#define | DV100_QLEVEL_CNO(qlevel) (qlevel&0x3) |
#define | DV100_NUM_QLEVELS 31 |
#define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
#define | OFFSET(x) offsetof(DVVideoContext, x) |
Variables | |
static const int | vs_total_ac_bits_hd = (68 * 6 + 52*2) * 5 |
static const int | vs_total_ac_bits = (100 * 4 + 68 * 2) * 5 |
static const int | mb_area_start [5] = { 1, 6, 21, 43, 64 } |
static const int | dv_weight_bits = 18 |
static const int | dv_weight_88 [64] |
static const int | dv_weight_248 [64] |
static const uint8_t | dv100_qlevels [DV100_NUM_QLEVELS] |
static const int | dv100_min_bias = 0 |
static const int | dv100_chroma_bias = 0 |
static const int | dv100_starting_qno = 1 |
static const int | dv100_qlevel_inc = 4 |
static const int | dv100_qstep_bits = 16 |
static const int | dv100_qstep_inv [16] |
static const int | dv_weight_1080 [2][64] |
static const int | dv_weight_720 [2][64] |
static const AVOption | dv_options [] |
static const AVClass | dvvideo_encode_class |
const FFCodec | ff_dvvideo_encoder |
DV encoder
Definition in file dvenc.c.
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
#define OFFSET | ( | x | ) | offsetof(DVVideoContext, x) |
|
static |
|
static |
Definition at line 143 of file dvenc.c.
Referenced by dv_encode_ac().
|
static |
Definition at line 149 of file dvenc.c.
Referenced by dv100_actual_quantize(), dv_guess_qnos(), and dv_set_class_number_sd().
|
static |
Definition at line 174 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
static |
Definition at line 220 of file dvenc.c.
Referenced by dv_encode_video_segment(), and dv_init_enc_block().
|
static |
Definition at line 368 of file dvenc.c.
Referenced by dv_init_enc_block().
|
inlinestatic |
Definition at line 452 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 509 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
static |
Definition at line 560 of file dvenc.c.
Referenced by dv100_actual_quantize().
|
static |
Definition at line 573 of file dvenc.c.
Referenced by dv_guess_qnos_hd().
|
inlinestatic |
Definition at line 611 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
inlinestatic |
Definition at line 753 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
inlinestatic |
Definition at line 827 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
static |
Definition at line 845 of file dvenc.c.
Referenced by dvvideo_encode_frame().
|
inlinestatic |
Definition at line 996 of file dvenc.c.
Referenced by dv_format_frame().
|
inlinestatic |
Definition at line 1080 of file dvenc.c.
Referenced by dv_format_frame().
|
inlinestatic |
Definition at line 1096 of file dvenc.c.
Referenced by dv_format_frame().
|
static |
Definition at line 1116 of file dvenc.c.
Referenced by dvvideo_encode_frame().
|
static |
|
static |
Definition at line 98 of file dvenc.c.
Referenced by dv_guess_qnos_hd().
|
static |
Definition at line 99 of file dvenc.c.
Referenced by dv_encode_video_segment(), and dv_guess_qnos().
|
static |
Definition at line 100 of file dvenc.c.
Referenced by dv_guess_qnos(), and dv_set_class_number_sd().
|
static |
Definition at line 235 of file dvenc.c.
Referenced by dv_set_class_number_sd().
|
static |
Definition at line 236 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 246 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 277 of file dvenc.c.
Referenced by dv100_actual_quantize(), and dv_guess_qnos_hd().
|
static |
Definition at line 312 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 313 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 314 of file dvenc.c.
Referenced by dv_guess_qnos_hd().
|
static |
Definition at line 317 of file dvenc.c.
Referenced by dv_guess_qnos_hd().
|
static |
Definition at line 323 of file dvenc.c.
Referenced by dv100_quantize().
|
static |
Definition at line 324 of file dvenc.c.
Referenced by dv100_actual_quantize().
|
static |
Definition at line 330 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 349 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
|
static |
const FFCodec ff_dvvideo_encoder |