Searched refs:i420Buffer (Results 1 – 11 of 11) sorted by relevance
/external/webrtc/sdk/objc/unittests/ |
D | frame_buffer_helpers.mm | 69 void CopyI420BufferToCVPixelBuffer(rtc::scoped_refptr<webrtc::I420Buffer> i420Buffer, 82 libyuv::I420ToNV12(i420Buffer->DataY(), 83 i420Buffer->StrideY(), 84 i420Buffer->DataU(), 85 i420Buffer->StrideU(), 86 i420Buffer->DataV(), 87 i420Buffer->StrideV(), 92 i420Buffer->width(), 93 i420Buffer->height()); 100 libyuv::I420ToARGB(i420Buffer->DataY(), [all …]
|
D | RTCCVPixelBuffer_xctest.mm | 205 rtc::scoped_refptr<webrtc::I420Buffer> i420Buffer = CreateI420Gradient(720, 1280); 206 CopyI420BufferToCVPixelBuffer(i420Buffer, pixelBufferRef); 286 rtc::scoped_refptr<webrtc::I420Buffer> i420Buffer = CreateI420Gradient(360, 640); 291 CopyI420BufferToCVPixelBuffer(i420Buffer, pixelBufferRef); 297 double psnr = I420PSNR(*i420Buffer, *[fromCVPixelBuffer nativeI420Buffer]);
|
D | frame_buffer_helpers.h | 21 rtc::scoped_refptr<webrtc::I420Buffer> i420Buffer,
|
D | ObjCVideoTrackSource_xctest.mm | 407 rtc::scoped_refptr<webrtc::I420Buffer> i420Buffer = CreateI420Gradient(720, 1280); 409 [[RTC_OBJC_TYPE(RTCI420Buffer) alloc] initWithFrameBuffer:i420Buffer]; 439 rtc::scoped_refptr<webrtc::I420Buffer> i420Buffer = CreateI420Gradient(380, 640); 441 [[RTC_OBJC_TYPE(RTCI420Buffer) alloc] initWithFrameBuffer:i420Buffer];
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | VideoFrameBufferTest.java | 77 BufferType bufferType, VideoFrame.I420Buffer i420Buffer) { in createBufferWithType() argument 80 return i420Buffer.toI420(); in createBufferWithType() 82 return createRgbTextureBuffer(/* eglContext= */ null, i420Buffer); in createBufferWithType() 84 return createOesTextureBuffer(/* eglContext= */ null, i420Buffer); in createBufferWithType() 86 return createNV21Buffer(i420Buffer); in createBufferWithType() 88 return createNV12Buffer(i420Buffer); in createBufferWithType() 94 private VideoFrame.Buffer createBufferToTest(VideoFrame.I420Buffer i420Buffer) { in createBufferToTest() argument 95 return createBufferWithType(this.bufferType, i420Buffer); in createBufferToTest() 137 EglBase.Context eglContext, VideoFrame.I420Buffer i420Buffer) { in createRgbTextureBuffer() argument 138 final int width = i420Buffer.getWidth(); in createRgbTextureBuffer() [all …]
|
D | FileVideoCapturerTest.java | 101 final VideoFrame.I420Buffer i420Buffer = (VideoFrame.I420Buffer) buffer; in testVideoCaptureFromFile() local 103 assertEquals(FRAME_WIDTH, i420Buffer.getWidth()); in testVideoCaptureFromFile() 104 assertEquals(FRAME_HEIGHT, i420Buffer.getHeight()); in testVideoCaptureFromFile() 106 final ByteBuffer dataY = i420Buffer.getDataY(); in testVideoCaptureFromFile() 107 final ByteBuffer dataU = i420Buffer.getDataU(); in testVideoCaptureFromFile() 108 final ByteBuffer dataV = i420Buffer.getDataV(); in testVideoCaptureFromFile()
|
/external/webrtc/sdk/objc/components/video_frame_buffer/ |
D | RTCCVPixelBuffer.mm | 160 RTC_OBJC_TYPE(RTCMutableI420Buffer)* i420Buffer = 185 i420Buffer.mutableDataY, 186 i420Buffer.strideY, 187 i420Buffer.mutableDataU, 188 i420Buffer.strideU, 189 i420Buffer.mutableDataV, 190 i420Buffer.strideV, 191 i420Buffer.width, 192 i420Buffer.height); 200 [self requiresScalingToWidth:i420Buffer.width height:i420Buffer.height]) { [all …]
|
/external/webrtc/sdk/android/tests/src/org/webrtc/ |
D | HardwareVideoEncoderTest.java | 106 I420Buffer i420Buffer = videoFrameBuffer.toI420(); in fillInputBuffer() local 107 buffer.put(i420Buffer.getDataY()); in fillInputBuffer() 108 buffer.put(i420Buffer.getDataU()); in fillInputBuffer() 109 buffer.put(i420Buffer.getDataV()); in fillInputBuffer() 111 i420Buffer.release(); in fillInputBuffer()
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | VideoFrameDrawer.java | 220 final VideoFrame.I420Buffer i420Buffer = frame.getBuffer().toI420(); in drawFrame() local 221 yuvUploader.uploadFromBuffer(i420Buffer); in drawFrame() 222 i420Buffer.release(); in drawFrame()
|
/external/webrtc/sdk/objc/api/video_frame_buffer/ |
D | RTCNativeI420Buffer+Private.h | 24 - (instancetype)initWithFrameBuffer:(rtc::scoped_refptr<webrtc::I420BufferInterface>)i420Buffer;
|
D | RTCNativeI420Buffer.mm | 54 - (instancetype)initWithFrameBuffer:(rtc::scoped_refptr<webrtc::I420BufferInterface>)i420Buffer { 56 _i420Buffer = i420Buffer;
|