Skip to content
  • Johann Koenig's avatar
    Active map and ROI map use unsigned rows/cols · 95d29675
    Johann Koenig authored
    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
    95d29675