Home
last modified time | relevance | path

Searched refs:sortlist (Results 1 – 2 of 2) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dencodeframe.c149 unsigned int * sortlist; in calc_av_activity() local
153 CHECK_MEM_ERROR(sortlist, in calc_av_activity()
158 vpx_memcpy( sortlist, cpi->mb_activity_map, in calc_av_activity()
167 if ( sortlist[j] < sortlist[j-1] ) in calc_av_activity()
170 tmp = sortlist[j-1]; in calc_av_activity()
171 sortlist[j-1] = sortlist[j]; in calc_av_activity()
172 sortlist[j] = tmp; in calc_av_activity()
180 median = ( 1 + sortlist[cpi->common.MBs >> 1] + in calc_av_activity()
181 sortlist[(cpi->common.MBs >> 1) + 1] ) >> 1; in calc_av_activity()
185 vpx_free(sortlist); in calc_av_activity()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_encodeframe.c650 unsigned int *sortlist; in calc_av_activity() local
654 CHECK_MEM_ERROR(&cpi->common, sortlist, vpx_calloc(sizeof(unsigned int), in calc_av_activity()
658 vpx_memcpy(sortlist, cpi->mb_activity_map, in calc_av_activity()
664 if (sortlist[j] < sortlist[j - 1]) { in calc_av_activity()
666 tmp = sortlist[j - 1]; in calc_av_activity()
667 sortlist[j - 1] = sortlist[j]; in calc_av_activity()
668 sortlist[j] = tmp; in calc_av_activity()
676 median = (1 + sortlist[cpi->common.MBs >> 1] + in calc_av_activity()
677 sortlist[(cpi->common.MBs >> 1) + 1]) >> 1; in calc_av_activity()
681 vpx_free(sortlist); in calc_av_activity()