Searched refs:chromaHeight (Results 1 – 10 of 10) sorted by relevance
/external/webrtc/sdk/android/api/org/webrtc/ |
D | JavaI420Buffer.java | 69 final int chromaHeight = (height + 1) / 2; in wrap() local 71 checkCapacity(dataU, chromaWidth, chromaHeight, strideU); in wrap() 72 checkCapacity(dataV, chromaWidth, chromaHeight, strideV); in wrap() 80 int chromaHeight = (height + 1) / 2; in allocate() local 84 int vPos = uPos + strideUV * chromaHeight; in allocate() 87 JniCommon.nativeAllocateByteBuffer(width * height + 2 * strideUV * chromaHeight); in allocate() 98 buffer.limit(vPos + strideUV * chromaHeight); in allocate()
|
D | YuvHelper.java | 20 final int chromaHeight = (height + 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() 48 final int chromaHeight = (height + 1) / 2; in I420ToNV12() local 50 final int minSize = width * height + chromaWidth * chromaHeight * 2; in I420ToNV12()
|
D | FileVideoCapturer.java | 102 final int chromaHeight = (frameHeight + 1) / 2; in getNextFrame() local 104 final int sizeU = chromaHeight * buffer.getStrideU(); in getNextFrame() 105 final int sizeV = chromaHeight * buffer.getStrideV(); in getNextFrame()
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | VideoFrameBufferTest.java | 220 final int chromaHeight = (height + 1) / 2; 223 final ByteBuffer nv21Buffer = ByteBuffer.allocateDirect(ySize + chromaStride * chromaHeight); 233 for (int y = 0; y < chromaHeight; ++y) { 250 final int chromaHeight = (height + 1) / 2; 253 final ByteBuffer nv12Buffer = ByteBuffer.allocateDirect(ySize + chromaStride * chromaHeight); 261 for (int y = 0; y < chromaHeight; ++y) { 297 final int chromaHeight = (buffer.getHeight() + 1) / 2; 299 printPlane(stringBuilder, chromaWidth, chromaHeight, buffer.getDataU(), buffer.getStrideU()); 301 printPlane(stringBuilder, chromaWidth, chromaHeight, buffer.getDataV(), buffer.getStrideV()); 345 final int chromaHeight = (height + 1) / 2; [all …]
|
D | SurfaceTextureHelperTest.java | 503 final int chromaHeight = height / 2; in testTexturetoYuv() local 509 for (int y = 0; y < chromaHeight; y++) { in testTexturetoYuv()
|
/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | AndroidVideoDecoder.java | 533 final int chromaHeight = (sliceHeight % 2 == 0) ? (height + 1) / 2 : height / 2; 540 final int uEnd = uPos + uvStride * chromaHeight; 542 final int vEnd = vPos + uvStride * chromaHeight; 554 chromaWidth, chromaHeight); 556 buffer.position(uPos + uvStride * (chromaHeight - 1)); // Seek to beginning of last full row. 559 dataU.position(frameBuffer.getStrideU() * chromaHeight); // Seek to beginning of last row. 566 chromaWidth, chromaHeight); 568 buffer.position(vPos + uvStride * (chromaHeight - 1)); // Seek to beginning of last full row. 571 dataV.position(frameBuffer.getStrideV() * chromaHeight); // Seek to beginning of last row.
|
/external/webrtc/sdk/objc/components/renderer/opengl/ |
D | RTCI420TextureCache.mm | 132 const int chromaHeight = buffer.chromaHeight; 147 height:chromaHeight 153 height:chromaHeight
|
/external/webrtc/sdk/android/tests/src/org/webrtc/ |
D | AndroidVideoDecoderTest.java | 110 int chromaHeight = (height + 1) / 2; in allocateI420Buffer() local 114 int vPos = uPos + strideUV * chromaHeight; in allocateI420Buffer() 116 ByteBuffer buffer = ByteBuffer.allocateDirect(width * height + 2 * strideUV * chromaHeight); in allocateI420Buffer() 127 buffer.limit(vPos + strideUV * chromaHeight); in allocateI420Buffer()
|
/external/webrtc/sdk/objc/base/ |
D | RTCYUVPlanarBuffer.h | 24 @property(nonatomic, readonly) int chromaHeight;
|
/external/webrtc/sdk/objc/api/video_frame_buffer/ |
D | RTCNativeI420Buffer.mm | 86 - (int)chromaHeight { method in RTCI420Buffer
|