WIP: removing predictor buffer usage from decoder
This patch will use the dest buffer instead of the predictor buffer. This will allow us in future commits to remove the extra mem copy that occurs in the dequant functions when eob == 0. We should also be able to remove extra params that are passed into the dequant functions. Change-Id: I7241bc1ab797a430418b1f3a95b5476db7455f6a
This commit is contained in:
committed by
John Koleszar
parent
2dc6acc0fc
commit
6189f2bcb1
@@ -970,7 +970,7 @@ static int64_t rd_pick_intra4x4block(VP9_COMP *cpi, MACROBLOCK *x, int ib,
|
||||
rate = bmode_costs[mode];
|
||||
#endif
|
||||
|
||||
vp9_intra4x4_predict(xd, b, mode, b->predictor);
|
||||
vp9_intra4x4_predict(xd, b, mode, b->predictor, 16);
|
||||
vp9_subtract_b(be, b, 16);
|
||||
|
||||
b->bmi.as_mode.first = mode;
|
||||
@@ -1180,7 +1180,7 @@ static int64_t rd_pick_intra8x8block(VP9_COMP *cpi, MACROBLOCK *x, int ib,
|
||||
rate = mode_costs[mode];
|
||||
b->bmi.as_mode.first = mode;
|
||||
|
||||
vp9_intra8x8_predict(xd, b, mode, b->predictor);
|
||||
vp9_intra8x8_predict(xd, b, mode, b->predictor, 16);
|
||||
|
||||
vp9_subtract_4b_c(be, b, 16);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user