Searched refs:srcWidth (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | VideoCodecTestBase.java | 512 private static byte[] imageScale(byte[] src, int srcWidth, int srcHeight, in imageScale() argument 514 int srcYSize = srcWidth * srcHeight; in imageScale() 517 if (dstWidth == 2 * srcWidth && dstHeight <= 2 * srcHeight) { in imageScale() 520 imageUpscale1To2(src, 0, srcWidth, in imageScale() 522 imageUpscale1To2(src, srcYSize, srcWidth / 2, in imageScale() 524 imageUpscale1To2(src, srcYSize * 5 / 4, srcWidth / 2, in imageScale() 526 } else if (dstWidth == 4 * srcWidth && dstHeight <= 4 * srcHeight) { in imageScale() 528 int midWidth = 2 * srcWidth; in imageScale() 530 byte[] midBuffer = imageScale(src, srcWidth, srcHeight, midWidth, midHeight); in imageScale()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | MockTvInputService.java | 307 int srcWidth = b.getWidth(); in draw() local 312 c.drawBitmap(b, new Rect(0, 0, srcWidth, srcHeight), in draw()
|