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_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 171 of file dvenc.c.
Referenced by dv_encode_ac().
|
static |
Definition at line 177 of file dvenc.c.
Referenced by dv100_actual_quantize(), dv_guess_qnos(), and dv_set_class_number_sd().
|
static |
Definition at line 202 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
static |
Definition at line 248 of file dvenc.c.
Referenced by dv_encode_video_segment(), and dv_init_enc_block().
|
static |
Definition at line 396 of file dvenc.c.
Referenced by dv_init_enc_block().
|
inlinestatic |
Definition at line 480 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 537 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
static |
Definition at line 588 of file dvenc.c.
Referenced by dv100_actual_quantize().
|
static |
Definition at line 601 of file dvenc.c.
Referenced by dv_guess_qnos_hd().
|
inlinestatic |
Definition at line 639 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
inlinestatic |
Definition at line 781 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
inlinestatic |
Definition at line 855 of file dvenc.c.
Referenced by dv_encode_video_segment().
|
static |
Definition at line 873 of file dvenc.c.
Referenced by dvvideo_encode_frame().
|
inlinestatic |
Definition at line 1023 of file dvenc.c.
Referenced by dv_format_frame().
|
inlinestatic |
Definition at line 1107 of file dvenc.c.
Referenced by dv_format_frame().
|
inlinestatic |
Definition at line 1123 of file dvenc.c.
Referenced by dv_format_frame().
|
static |
Definition at line 1143 of file dvenc.c.
Referenced by dvvideo_encode_frame().
|
static |
|
static |
Definition at line 126 of file dvenc.c.
Referenced by dv_guess_qnos_hd().
|
static |
Definition at line 127 of file dvenc.c.
Referenced by dv_encode_video_segment(), and dv_guess_qnos().
|
static |
Definition at line 128 of file dvenc.c.
Referenced by dv_guess_qnos(), and dv_set_class_number_sd().
|
static |
Definition at line 263 of file dvenc.c.
Referenced by dv_set_class_number_sd().
|
static |
Definition at line 264 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 274 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 305 of file dvenc.c.
Referenced by dv100_actual_quantize(), and dv_guess_qnos_hd().
|
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_init_enc_block().
|
static |
Definition at line 342 of file dvenc.c.
Referenced by dv_guess_qnos_hd().
|
static |
Definition at line 345 of file dvenc.c.
Referenced by dv_guess_qnos_hd().
|
static |
Definition at line 351 of file dvenc.c.
Referenced by dv100_quantize().
|
static |
Definition at line 352 of file dvenc.c.
Referenced by dv100_actual_quantize().
|
static |
Definition at line 358 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 377 of file dvenc.c.
Referenced by dv_init_enc_block().
|
static |
|
static |
const FFCodec ff_dvvideo_encoder |