This commit is contained in:
Pavol Rusnak 2010-05-19 21:15:32 +02:00
Родитель 0ea50ce9cb
Коммит 0fc9abfbfd
6 изменённых файлов: 1 добавлений и 15 удалений

Просмотреть файл

@ -1385,8 +1385,6 @@ void vp8_pack_bitstream(VP8_COMP *cpi, unsigned char *dest, unsigned long *size)
// every keyframe send startcode, width, height, scale factor, clamp and color type
if (oh.type == KEY_FRAME)
{
int w, h, hs, vs;
// Start / synch code
cx_data[0] = 0x9D;
cx_data[1] = 0x01;

Просмотреть файл

@ -718,7 +718,6 @@ void vp8_optimize_y2b(MACROBLOCK *x, int i, int type, ENTROPY_CONTEXT *a, ENTROP
void vp8_optimize_mb(MACROBLOCK *x, const VP8_ENCODER_RTCD *rtcd)
{
int cost = 0;
int b;
TEMP_CONTEXT t, t2;
int type = 0;
@ -957,7 +956,6 @@ static void vp8_find_mb_skip_coef(MACROBLOCK *x)
void vp8_optimize_mb_slow(MACROBLOCK *x, const VP8_ENCODER_RTCD *rtcd)
{
int cost = 0;
int b;
TEMP_CONTEXT t, t2;
int type = 0;
@ -994,7 +992,6 @@ void vp8_optimize_mb_slow(MACROBLOCK *x, const VP8_ENCODER_RTCD *rtcd)
void vp8_optimize_mby(MACROBLOCK *x, const VP8_ENCODER_RTCD *rtcd)
{
int cost = 0;
int b;
TEMP_CONTEXT t;
int type = 0;
@ -1019,10 +1016,8 @@ void vp8_optimize_mby(MACROBLOCK *x, const VP8_ENCODER_RTCD *rtcd)
void vp8_optimize_mbuv(MACROBLOCK *x, const VP8_ENCODER_RTCD *rtcd)
{
int cost = 0;
int b;
TEMP_CONTEXT t, t2;
int type = 0;
if (!x->e_mbd.above_context[UCONTEXT])
return;

Просмотреть файл

@ -282,8 +282,6 @@ static void write_component_probs(
//j=0
{
int j = 0;
const int c = events [mv_max];
is_short_ct [0] += c; // Short vector

Просмотреть файл

@ -175,7 +175,6 @@ static double calculate_modified_err(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame)
double vp8_simple_weight(YV12_BUFFER_CONFIG *source)
{
int i, j;
int Total = 0;
unsigned char *src = source->y_buffer;
unsigned char value;
@ -779,7 +778,6 @@ void vp8_first_pass(VP8_COMP *cpi)
vp8_clear_system_state(); //__asm emms;
{
double weight = 0.0;
double weigth2 = 0.0;
FIRSTPASS_STATS fps;
@ -1193,7 +1191,6 @@ static void define_gf_group(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame)
FIRSTPASS_STATS next_frame;
FIRSTPASS_STATS *start_pos;
int i;
int count = 0;
int image_size = cpi->common.last_frame.y_width * cpi->common.last_frame.y_height;
double boost_score = 0.0;
double old_boost_score = 0.0;

Просмотреть файл

@ -281,7 +281,6 @@ static void segmentation_test_function(VP8_PTR ptr)
unsigned char *seg_map;
signed char feature_data[MB_LVL_MAX][MAX_MB_SEGMENTS];
int i, j;
// Create a temporary map for segmentation data.
CHECK_MEM_ERROR(seg_map, vpx_calloc(cpi->common.mb_rows * cpi->common.mb_cols, 1));
@ -5402,7 +5401,7 @@ int vp8_calc_low_ss_err(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, co
{
for (j = 0; j < source->y_width; j += 16)
{
unsigned int sse, sse2, sum2;
unsigned int sse;
VARIANCE_INVOKE(rtcd, mse16x16)(src + j, source->y_stride, dst + j, dest->y_stride, &sse);
if (sse < 8096)

Просмотреть файл

@ -1063,7 +1063,6 @@ void vp8_calc_pframe_target_size(VP8_COMP *cpi)
if (cpi->common.refresh_golden_frame == TRUE)
{
int isize_adjustment = 0;
#if 0
if (0) // p_gw