Set cpu_used range to [-16, 16] in real-time mode
Remove encoding speed limitation in real-time mode. Change-Id: Ib5e35d8bb522b2a25f3e4ad5cfe2788ebebb3617
This commit is contained in:
@@ -75,14 +75,9 @@ void vp8_encode_intra16x16mby(const VP8_ENCODER_RTCD *rtcd, MACROBLOCK *x)
|
||||
|
||||
vp8_quantize_mby(x);
|
||||
|
||||
#if !(CONFIG_REALTIME_ONLY)
|
||||
#if 1
|
||||
if (x->optimize)
|
||||
vp8_optimize_mby(x, rtcd);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
vp8_inverse_transform_mby(IF_RTCD(&rtcd->common->idct), &x->e_mbd);
|
||||
|
||||
RECON_INVOKE(&rtcd->common->recon, recon_mby)
|
||||
@@ -126,15 +121,9 @@ void vp8_encode_intra16x16mbuv(const VP8_ENCODER_RTCD *rtcd, MACROBLOCK *x)
|
||||
|
||||
vp8_quantize_mbuv(x);
|
||||
|
||||
#if !(CONFIG_REALTIME_ONLY)
|
||||
#if 1
|
||||
|
||||
if (x->optimize==2 ||(x->optimize && x->rddiv > 1))
|
||||
vp8_optimize_mbuv(x, rtcd);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
vp8_inverse_transform_mbuv(IF_RTCD(&rtcd->common->idct), &x->e_mbd);
|
||||
|
||||
vp8_recon_intra_mbuv(IF_RTCD(&rtcd->common->recon), &x->e_mbd);
|
||||
|
||||
Reference in New Issue
Block a user