Re: [Mesa-dev] [PATCH] st/omx/dec: set dst rect to match src size

2016-09-03 Thread Christian König
Am 02.09.2016 um 20:11 schrieb Leo Liu: When creating interlaced video buffer, hegith set to "template.height = align(tmpl->height/ array_size, VL_MACROBLOCK_HEIGHT);", and we use "template.height *= array_size;" for the buffer height, so it actually aligned with 32. With progressive video buffer

[Mesa-dev] [PATCH] st/omx/dec: set dst rect to match src size

2016-09-02 Thread Leo Liu
When creating interlaced video buffer, hegith set to "template.height = align(tmpl->height/ array_size, VL_MACROBLOCK_HEIGHT);", and we use "template.height *= array_size;" for the buffer height, so it actually aligned with 32. With progressive video buffer it still aligned with 16, thus causing di