Home
last modified time | relevance | path

Searched refs:chromaHeight (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/sdk/android/api/org/webrtc/
DJavaI420Buffer.java69 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()
DYuvHelper.java32 final int chromaHeight = (dstHeight + 1) / 2; in I420Copy() local
37 final int dstEndU = dstStartU + dstStrideU * chromaHeight; in I420Copy()
41 final int dstEndV = dstStartV + dstStrideU * (chromaHeight - 1) + chromaWidth; in I420Copy()
76 final int chromaHeight = (dstHeight + 1) / 2; in I420ToNV12() local
82 final int dstEndUV = dstStartUV + chromaWidth * chromaHeight * 2; in I420ToNV12()
DFileVideoCapturer.java102 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/
DVideoFrameBufferTest.java236 final int chromaHeight = (height + 1) / 2;
239 final ByteBuffer nv21Buffer = ByteBuffer.allocateDirect(ySize + chromaStride * chromaHeight);
249 for (int y = 0; y < chromaHeight; ++y) {
266 final int chromaHeight = (height + 1) / 2;
269 final ByteBuffer nv12Buffer = ByteBuffer.allocateDirect(ySize + chromaStride * chromaHeight);
277 for (int y = 0; y < chromaHeight; ++y) {
313 final int chromaHeight = (buffer.getHeight() + 1) / 2;
315 printPlane(stringBuilder, chromaWidth, chromaHeight, buffer.getDataU(), buffer.getStrideU());
317 printPlane(stringBuilder, chromaWidth, chromaHeight, buffer.getDataV(), buffer.getStrideV());
361 final int chromaHeight = (height + 1) / 2;
[all …]
DSurfaceTextureHelperTest.java500 final int chromaHeight = height / 2; in testTexturetoYuv() local
506 for (int y = 0; y < chromaHeight; y++) { in testTexturetoYuv()
/external/webrtc/sdk/android/src/java/org/webrtc/
DAndroidVideoDecoder.java524 final int chromaHeight = (sliceHeight % 2 == 0) ? (height + 1) / 2 : height / 2;
531 final int uEnd = uPos + uvStride * chromaHeight;
533 final int vEnd = vPos + uvStride * chromaHeight;
545 chromaWidth, chromaHeight);
547 buffer.position(uPos + uvStride * (chromaHeight - 1)); // Seek to beginning of last full row.
550 dataU.position(frameBuffer.getStrideU() * chromaHeight); // Seek to beginning of last row.
557 chromaWidth, chromaHeight);
559 buffer.position(vPos + uvStride * (chromaHeight - 1)); // Seek to beginning of last full row.
562 dataV.position(frameBuffer.getStrideV() * chromaHeight); // Seek to beginning of last row.
/external/webrtc/sdk/objc/components/renderer/opengl/
DRTCI420TextureCache.mm132 const int chromaHeight = buffer.chromaHeight;
147 height:chromaHeight
153 height:chromaHeight
/external/webrtc/sdk/android/tests/src/org/webrtc/
DAndroidVideoDecoderTest.java110 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/
DRTCYUVPlanarBuffer.h24 @property(nonatomic, readonly) int chromaHeight;
/external/webrtc/sdk/objc/api/video_frame_buffer/
DRTCNativeI420Buffer.mm86 - (int)chromaHeight { method in RTCI420Buffer