// 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;
void vp8_optimize_mb(MACROBLOCK *x, const VP8_ENCODER_RTCD *rtcd)
{
- int cost = 0;
int b;
TEMP_CONTEXT t, t2;
int type = 0;
void vp8_optimize_mb_slow(MACROBLOCK *x, const VP8_ENCODER_RTCD *rtcd)
{
- int cost = 0;
int b;
TEMP_CONTEXT t, t2;
int type = 0;
void vp8_optimize_mby(MACROBLOCK *x, const VP8_ENCODER_RTCD *rtcd)
{
- int cost = 0;
int b;
TEMP_CONTEXT t;
int type = 0;
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;
//j=0
{
- int j = 0;
-
const int c = events [mv_max];
is_short_ct [0] += c; // Short vector
double vp8_simple_weight(YV12_BUFFER_CONFIG *source)
{
int i, j;
- int Total = 0;
unsigned char *src = source->y_buffer;
unsigned char value;
vp8_clear_system_state(); //__asm emms;
{
double weight = 0.0;
- double weigth2 = 0.0;
FIRSTPASS_STATS fps;
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;
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));
{
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)
if (cpi->common.refresh_golden_frame == TRUE)
{
- int isize_adjustment = 0;
#if 0
if (0) // p_gw