Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dmotion_est.cpp244 int mbwidth = video->PicWidthInMbs; in AVCMotionEstimation() local
346 mbnum = j * mbwidth + start_i; in AVCMotionEstimation()
348 for (i = start_i; i < mbwidth; i += incr_i) in AVCMotionEstimation()
381 if (i != mbwidth - 1 && j != mbheight - 1 && i != 0 && j != 0) in AVCMotionEstimation()
408 if (i != mbwidth - 1 && j != mbheight - 1 && i != 0 && j != 0) in AVCMotionEstimation()
1363 int mbwidth = video->PicWidthInMbs; in AVCCandidateSelection() local
1381 if (imb >= (mbwidth >> 1) && imb > 0) /*left neighbor previous frame */ in AVCCandidateSelection()
1387 else if (imb + 1 < mbwidth) /*right neighbor previous frame */ in AVCCandidateSelection()
1396 pmot = &mot16x16[mbnum+mbwidth]; in AVCCandidateSelection()
1402 pmot = &mot16x16[mbnum-mbwidth]; in AVCCandidateSelection()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmotion_est.cpp87 Int start_j, Int rheight, Int mbwidth, Int mbheight);
143 Int mbwidth = currVol->nMBPerRow; in MotionEstimation() local
191 for (i = 0; i < mbwidth; i++) in MotionEstimation()
266 mbnum = j * mbwidth + start_i; in MotionEstimation()
268 for (i = start_i; i < mbwidth; i += incr_i) in MotionEstimation()
479 for (i = 0; i < mbwidth; i++) in MotionEstimation()
1359 Int mbwidth = currVol->nMBPerRow; in CandidateSelection() local
1373 if (imb >= (mbwidth >> 1) && imb > 0) /*left neighbor previous frame */ in CandidateSelection()
1379 else if (imb + 1 < mbwidth) /*right neighbor previous frame */ in CandidateSelection()
1388 pmot = &mot[mbnum+mbwidth][0]; in CandidateSelection()
[all …]