Searched refs:lev_idx (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dinit.cpp642 int lev_idx; local
670 lev_idx = mapLev2Idx[seqParam->level_idc];
677 if (lev_idx == 255) /* not defined */
683 if (mb_per_sec > MaxMBPS[lev_idx] ||
684 video->PicSizeInMbs > (uint)MaxFS[lev_idx] ||
685 rateCtrl->bitRate > (int32)MaxBR[lev_idx]*1000 ||
686 rateCtrl->cpbSize > (int32)MaxCPB[lev_idx]*1000 ||
687 rateCtrl->mvRange > MaxVmvR[lev_idx])
H A Dmotion_est.cpp984 int lev_idx; local
1009 lev_idx = mapLev2Idx[currSPS->level_idc];
1033 if (j0 - jlow > MaxVmvR[lev_idx] - 1) /* clip to conform with the standard */
1035 jlow = j0 - MaxVmvR[lev_idx] + 1;
1043 if (jhigh - j0 > MaxVmvR[lev_idx] - 1) /* clip to conform with the standard */
1045 jhigh = j0 + MaxVmvR[lev_idx] - 1;

Completed in 67 milliseconds