Revision 6713b6b1 libavcodec/ivi_common.h

View differences:

libavcodec/ivi_common.h
183 183
    ((((tile_width) + (mb_size) - 1) / (mb_size)) * (((tile_height) + (mb_size) - 1) / (mb_size)))
184 184

  
185 185
/** convert unsigned values into signed ones (the sign is in the LSB) */
186
/* TODO: find a way to calculate this without the conditional using bit magic */
187 186
#define IVI_TOSIGNED(val) (-(((val) >> 1) ^ -((val) & 1)))
188 187

  
189 188
/** scales motion vector */

Also available in: Unified diff