Home
last modified time | relevance | path

Searched refs:dstHeight (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DVideoCodecTestBase.java413 byte[] dst, int dstByteOffset, int dstWidth, int dstHeight) { in imageUpscale1To2() argument
414 for (int i = 0; i < dstHeight/2 - 1; i++) { in imageUpscale1To2()
439 int dstOffset0 = (dstHeight - 2) * dstWidth + dstByteOffset; in imageUpscale1To2()
441 int srcOffset0 = (dstHeight/2 - 1) * srcStride + srcByteOffset; in imageUpscale1To2()
466 int dstWidth, int dstHeight) throws Exception { in imageScale() argument
468 int dstYSize = dstWidth * dstHeight; in imageScale()
470 if (dstWidth == 2 * srcWidth && dstHeight <= 2 * srcHeight) { in imageScale()
472 dst = new byte[dstWidth * dstHeight * 3 / 2]; in imageScale()
474 dst, 0, dstWidth, dstHeight); // Y in imageScale()
476 dst, dstYSize, dstWidth / 2, dstHeight / 2); // U in imageScale()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputService.java310 int dstHeight = c.getHeight(); in draw() local
313 new Rect(10, 10, dstWidth - 10, dstHeight - 10), null); in draw()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DDetermineFovActivity.java231 float dstHeight = drawRect.bottom - drawRect.top + 1; in drawContents() local