Active map and ROI map use unsigned rows/cols
authorJohann <johannkoenig@google.com>
Sat, 11 Jun 2016 01:17:18 +0000 (18:17 -0700)
committerJohann Koenig <johannkoenig@google.com>
Tue, 14 Jun 2016 22:55:47 +0000 (22:55 +0000)
commit95d29675b2592bb7161f3159d4f8dc338fe13bae
treed1b412973a3807ccb7fc0b6ec8d78b6a0a4be979
parent4b8b31838b0a100338cfa78be164232ca3e12f65
Active map and ROI map use unsigned rows/cols

The vpx_roi_map_t and vpx_active_map_t structures use unsigned rows
and cols but VP8_COMMON uses signed values for mb_rows and mb_cols.

Cleans warning in Android build:
comparison of integers of different signs: 'int' and 'unsigned int'
if (cpi->common.mb_rows != rows || cpi->common.mb_cols != cols)
    ~~~~~~~~~~~~~~~~~~~ ^  ~~~~
comparison of integers of different signs: 'int' and 'unsigned int'
if (cpi->common.mb_rows != rows || cpi->common.mb_cols != cols)
                                   ~~~~~~~~~~~~~~~~~~~ ^  ~~~~
comparison of integers of different signs: 'unsigned int' and 'int'
if (rows == cpi->common.mb_rows && cols == cpi->common.mb_cols)
    ~~~~ ^  ~~~~~~~~~~~~~~~~~~~
comparison of integers of different signs: 'unsigned int' and 'int'
if (rows == cpi->common.mb_rows && cols == cpi->common.mb_cols)

Change-Id: If1f118c20ffefd2530fbd371e6787cc8a6c31f0a
vp8/encoder/onyx_if.c