Revision 5f1654b2

View differences:

libavcodec/ivi_common.c
256 256
        t_width  = !p ? tile_width  : (tile_width  + 3) >> 2;
257 257
        t_height = !p ? tile_height : (tile_height + 3) >> 2;
258 258

  
259
        if (!p && planes[0].num_bands == 4) {
260
            t_width  >>= 1;
261
            t_height >>= 1;
262
        }
263

  
259 264
        for (b = 0; b < planes[p].num_bands; b++) {
260 265
            band = &planes[p].bands[b];
261 266
            x_tiles = IVI_NUM_TILES(band->width, t_width);

Also available in: Unified diff