PD#SWPL-28253
Problem:
Mosaic appears from small resolution to large resolution.
Solution:
causes:After conversion, the small resolution frame buffers are not released,
and are used by the large resolution code stream.
Mark the small resolution frame buffer as ready to release.
Verify:
u212
Change-Id: Ic208167da54c05b7d962930c671f8e073fadd363
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
}
if (buffer_reset_flag) {
for (i = 0; i < BUFSPEC_POOL_SIZE; i++) {
- if (hw->buffer_spec[i].used != -1)
+ if (hw->buffer_spec[i].used == 1 || hw->buffer_spec[i].used == 2)
hw->buffer_spec[i].used = 0;
}
} else {