Home
last modified time | relevance | path

Searched refs:chromaWidth (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/sdk/android/api/org/webrtc/
DYuvHelper.java21 final int chromaWidth = (width + 1) / 2; in I420Copy() local
23 final int minSize = width * height + chromaWidth * chromaHeight * 2; in I420Copy()
31 final int startV = startU + chromaHeight * chromaWidth; in I420Copy()
41 chromaWidth, dstV, chromaWidth, width, height); in I420Copy()
47 final int chromaWidth = (width + 1) / 2; in I420ToNV12() local
50 final int minSize = width * height + chromaWidth * chromaHeight * 2; in I420ToNV12()
65 chromaWidth * 2, width, height); in I420ToNV12()
DJavaI420Buffer.java68 final int chromaWidth = (width + 1) / 2; in wrap() local
71 checkCapacity(dataU, chromaWidth, chromaHeight, strideU); in wrap()
72 checkCapacity(dataV, chromaWidth, chromaHeight, strideV); in wrap()
/external/webrtc/sdk/objc/components/renderer/opengl/
DRTCI420TextureCache.mm131 const int chromaWidth = buffer.chromaWidth;
133 if (buffer.strideY != frame.width || buffer.strideU != chromaWidth ||
134 buffer.strideV != chromaWidth) {
146 width:chromaWidth
152 width:chromaWidth
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DVideoFrameBufferTest.java219 final int chromaWidth = (width + 1) / 2;
234 for (int x = 0; x < chromaWidth; ++x) {
249 final int chromaWidth = (width + 1) / 2;
262 for (int x = 0; x < chromaWidth; ++x) {
296 final int chromaWidth = (buffer.getWidth() + 1) / 2;
299 printPlane(stringBuilder, chromaWidth, chromaHeight, buffer.getDataU(), buffer.getStrideU());
301 printPlane(stringBuilder, chromaWidth, chromaHeight, buffer.getDataV(), buffer.getStrideV());
344 final int chromaWidth = (width + 1) / 2;
348 diffs.addAll(getPixelDiffs(chromaWidth, chromaHeight, bufferA.getDataU(), bufferA.getStrideU(),
350 diffs.addAll(getPixelDiffs(chromaWidth, chromaHeight, bufferA.getDataV(), bufferA.getStrideV(),
DSurfaceTextureHelperTest.java502 final int chromaWidth = width / 2; in testTexturetoYuv() local
510 for (int x = 0; x < chromaWidth; x++) { in testTexturetoYuv()
/external/webrtc/sdk/objc/base/
DRTCYUVPlanarBuffer.h23 @property(nonatomic, readonly) int chromaWidth;
/external/webrtc/sdk/android/src/java/org/webrtc/
DAndroidVideoDecoder.java532 final int chromaWidth = (width + 1) / 2;
554 chromaWidth, chromaHeight);
566 chromaWidth, chromaHeight);
/external/webrtc/sdk/objc/api/video_frame_buffer/
DRTCNativeI420Buffer.mm82 - (int)chromaWidth { method in RTCI420Buffer