FFmpeg
|
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/emms.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_internal.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 | DVEncContext |
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(DVEncContext, 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(DVEncContext, x) |
|
static |
|
static |
Definition at line 170 of file dvenc.c.
Referenced by dv_encode_ac().
|
static |
Definition at line 176 of file dvenc.c.
Referenced by dv100_actual_quantize(), dv_guess_qnos(), and dv_set_class_number_sd().
|
static |
Definition at line 201 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
static |
Definition at line 247 of file dvenc.c.
Referenced by dv_encode_video_segment(), and dv_init_enc_block().
|
static |
Definition at line 395 of file dvenc.c.
Referenced by dv_init_enc_block().
|
inlinestatic |
Definition at line 479 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 536 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
static |
Definition at line 587 of file dvenc.c.
Referenced by dv100_actual_quantize().
|
static |
Definition at line 600 of file dvenc.c.
Referenced by dv_guess_qnos_hd().
|
inlinestatic |
Definition at line 638 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
inlinestatic |
Definition at line 780 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
inlinestatic |
Definition at line 854 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
static |
Definition at line 872 of file dvenc.c.
Referenced by dvvideo_encode_frame().
|
inlinestatic |
Definition at line 1022 of file dvenc.c.
Referenced by dv_format_frame().
|
inlinestatic |
Definition at line 1106 of file dvenc.c.
Referenced by dv_format_frame().
|
inlinestatic |
Definition at line 1122 of file dvenc.c.
Referenced by dv_format_frame().
|
static |
Definition at line 1142 of file dvenc.c.
Referenced by dvvideo_encode_frame().
|
static |
|
static |
Definition at line 125 of file dvenc.c.
Referenced by dv_guess_qnos_hd().
|
static |
Definition at line 126 of file dvenc.c.
Referenced by dv_encode_video_segment(), and dv_guess_qnos().
|
static |
Definition at line 127 of file dvenc.c.
Referenced by dv_guess_qnos(), and dv_set_class_number_sd().
|
static |
Definition at line 262 of file dvenc.c.
Referenced by dv_set_class_number_sd().
|
static |
Definition at line 263 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 273 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 304 of file dvenc.c.
Referenced by dv100_actual_quantize(), and dv_guess_qnos_hd().
|
static |
Definition at line 339 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 340 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 341 of file dvenc.c.
Referenced by dv_guess_qnos_hd().
|
static |
Definition at line 344 of file dvenc.c.
Referenced by dv_guess_qnos_hd().
|
static |
Definition at line 350 of file dvenc.c.
Referenced by dv100_quantize().
|
static |
Definition at line 351 of file dvenc.c.
Referenced by dv100_actual_quantize().
|
static |
Definition at line 357 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 376 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
|
static |
const FFCodec ff_dvvideo_encoder |