ref: 4ab2241f5ba3146415ac6871270e9ed4579d1212
parent: deb8882cca46cbc468cd2384cb74fdf2d2b4a7be
author: Dmitry Kovalev <[email protected]>
date: Thu Aug 21 13:28:44 EDT 2014
Removing dummy_packing member from VP9_COMP. Change-Id: I571ce84c97087f8a1a36a10058393bfdcefbf72a
--- a/vp9/encoder/vp9_encodemv.c
+++ b/vp9/encoder/vp9_encodemv.c
@@ -216,7 +216,7 @@
// If auto_mv_step_size is enabled then keep track of the largest
// motion vector component used.
- if (!cpi->dummy_packing && cpi->sf.mv.auto_mv_step_size) {
+ if (cpi->sf.mv.auto_mv_step_size) {
unsigned int maxv = MAX(abs(mv->row), abs(mv->col)) >> 3;
cpi->max_mv_magnitude = MAX(maxv, cpi->max_mv_magnitude);
}
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -1778,7 +1778,6 @@
// to recode.
if (cpi->sf.recode_loop >= ALLOW_RECODE_KFARFGF) {
save_coding_context(cpi);
- cpi->dummy_packing = 1;
if (!cpi->sf.use_nonrd_pick_mode)
vp9_pack_bitstream(cpi, dest, size);
@@ -2248,7 +2247,6 @@
loopfilter_frame(cpi, cm);
// build the bitstream
- cpi->dummy_packing = 0;
vp9_pack_bitstream(cpi, dest, size);
if (cm->seg.update_map)
--- a/vp9/encoder/vp9_encoder.h
+++ b/vp9/encoder/vp9_encoder.h
@@ -370,8 +370,6 @@
int droppable;
- int dummy_packing; /* flag to indicate if packing is dummy */
-
int initial_width;
int initial_height;