History

Merge changes Ifddff89d,I827dfe59,Idca7ef45

* changes: vp8 machine setup: mark unused variable vp8 realtime encoder: mark unused variable vp8 error concealment: remove unused variables

Johann Koenig committed 10 years ago

Commit 5e9c5df2 parents 6e4b731 6c6eb166 files · +7 −27Browse files

Unified · Split

6 files
  1. vp8/common/generic/systemdependent.c +2 −0
  2. vp8/decoder/decodeframe.c +1 −4
  3. vp8/decoder/error_concealment.c +1 −12
  4. vp8/decoder/error_concealment.h +1 −7
  5. vp8/decoder/threading.c +1 −4
  6. vp8/vp8_cx_iface.c +1 −0
vp8/common/generic/systemdependent.c+2−0
@@ -94,6 +94,8 @@ void vp8_machine_specific_config(VP8_COMMON *ctx) · 93 unmodified lines
9494 {
9595 #if CONFIG_MULTITHREAD
9696 ctx->processor_core_count = get_cpu_count();
97+#else
98+ (void)ctx;
9799 #endif /* CONFIG_MULTITHREAD */
98100
99101 #if ARCH_ARM
vp8/decoder/decodeframe.c+1−4
@@ -144,8 +144,6 @@ static void decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd, · 143 unmodified lines
144144 */
145145 pbi->frame_corrupt_residual = 1;
146146 memset(xd->qcoeff, 0, sizeof(xd->qcoeff));
147− vp8_conceal_corrupt_mb(xd);
148−
149147
150148 corruption_detected = 1;
151149
@@ -625,8 +623,7 @@ static void decode_mb_rows(VP8D_COMP *pbi) · 473 unmodified lines
625623 */
626624 vp8_interpolate_motion(xd,
627625 mb_row, mb_col,
628− pc->mb_rows, pc->mb_cols,
629− pc->mode_info_stride);
626+ pc->mb_rows, pc->mb_cols);
630627 }
631628 }
632629 #endif
vp8/decoder/error_concealment.c+1−12
@@ -558,8 +558,7 @@ static void interpolate_mvs(MACROBLOCKD *mb, · 557 unmodified lines
558558
559559 void vp8_interpolate_motion(MACROBLOCKD *mb,
560560 int mb_row, int mb_col,
561− int mb_rows, int mb_cols,
562− int mi_stride)
561+ int mb_rows, int mb_cols)
563562 {
564563 /* Find relevant neighboring blocks */
565564 EC_BLOCK neighbors[NUM_NEIGHBORS];
@@ -585,13 +584,3 @@ void vp8_interpolate_motion(MACROBLOCKD *mb, · 19 unmodified lines
585584 mb->mode_info_context->mbmi.partitioning = 3;
586585 mb->mode_info_context->mbmi.segment_id = 0;
587586 }
588−
589−void vp8_conceal_corrupt_mb(MACROBLOCKD *xd)
590−{
591− /* This macroblock has corrupt residual, use the motion compensated
592− image (predictor) for concealment */
593−
594− /* The build predictor functions now output directly into the dst buffer,
595− * so the copies are no longer necessary */
596−
597−}
vp8/decoder/error_concealment.h+1−7
@@ -34,13 +34,7 @@ void vp8_estimate_missing_mvs(VP8D_COMP *pbi); · 33 unmodified lines
3434 * (mb_row, mb_col). */
3535 void vp8_interpolate_motion(MACROBLOCKD *mb,
3636 int mb_row, int mb_col,
37− int mb_rows, int mb_cols,
38− int mi_stride);
39−
40−/* Conceal a macroblock with corrupt residual.
41− * Copies the prediction signal to the reconstructed image.
42− */
43−void vp8_conceal_corrupt_mb(MACROBLOCKD *xd);
37+ int mb_rows, int mb_cols);
4438
4539 #ifdef __cplusplus
4640 } // extern "C"
vp8/decoder/threading.c+1−4
@@ -136,8 +136,6 @@ static void mt_decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd, · 135 unmodified lines
136136 */
137137 pbi->frame_corrupt_residual = 1;
138138 memset(xd->qcoeff, 0, sizeof(xd->qcoeff));
139− vp8_conceal_corrupt_mb(xd);
140−
141139
142140 corruption_detected = 1;
143141
@@ -447,8 +445,7 @@ static void mt_decode_mb_rows(VP8D_COMP *pbi, MACROBLOCKD *xd, int start_mb_row) · 303 unmodified lines
447445 */
448446 vp8_interpolate_motion(xd,
449447 mb_row, mb_col,
450− pc->mb_rows, pc->mb_cols,
451− pc->mode_info_stride);
448+ pc->mb_rows, pc->mb_cols);
452449 }
453450 }
454451 #endif
vp8/vp8_cx_iface.c+1−0
@@ -783,6 +783,7 @@ static void pick_quickcompress_mode(vpx_codec_alg_priv_t *ctx, · 782 unmodified lines
783783 }
784784
785785 #else
786+ (void)duration;
786787 new_qc = MODE_REALTIME;
787788 #endif
788789

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t