/external/webrtc/sdk/android/api/org/webrtc/ |
D | VideoProcessor.java | 22 public final int cropY; field in VideoProcessor.FrameAdaptationParameters 30 public FrameAdaptationParameters(int cropX, int cropY, int cropWidth, int cropHeight, in FrameAdaptationParameters() argument 33 this.cropY = cropY; in FrameAdaptationParameters() 72 frame.getBuffer().cropAndScale(parameters.cropX, parameters.cropY, parameters.cropWidth, in applyFrameAdaptationParameters()
|
D | JavaI420Buffer.java | 166 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) { in cropAndScale() argument 167 return cropAndScaleI420(this, cropX, cropY, cropWidth, cropHeight, scaleWidth, scaleHeight); in cropAndScale() 170 public static VideoFrame.Buffer cropAndScaleI420(final I420Buffer buffer, int cropX, int cropY, in cropAndScaleI420() argument 178 dataY.position(cropX + cropY * buffer.getStrideY()); in cropAndScaleI420() 179 dataU.position(cropX / 2 + cropY / 2 * buffer.getStrideU()); in cropAndScaleI420() 180 dataV.position(cropX / 2 + cropY / 2 * buffer.getStrideV()); in cropAndScaleI420() 189 buffer.getStrideU(), buffer.getDataV(), buffer.getStrideV(), cropX, cropY, cropWidth, in cropAndScaleI420() local 197 ByteBuffer srcU, int srcStrideU, ByteBuffer srcV, int srcStrideV, int cropX, int cropY, in nativeCropAndScaleI420() argument
|
D | TextureBufferImpl.java | 130 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) { in cropAndScale() argument 134 final int cropYFromBottom = height - (cropY + cropHeight); in cropAndScale()
|
D | VideoFileRenderer.java | 105 final int cropY = (buffer.getHeight() - cropHeight) / 2; in renderFrameOnRenderThread() local 108 buffer.cropAndScale(cropX, cropY, cropWidth, cropHeight, targetWidth, targetHeight); in renderFrameOnRenderThread()
|
D | VideoFrame.java | 59 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight); in cropAndScale() argument
|
/external/webrtc/sdk/objc/unittests/ |
D | RTCCVPixelBuffer_xctest.mm | 53 cropY:100]; 96 cropY:100]; 167 [self cropAndScaleTestWithRGBPixelFormat:kCVPixelFormatType_32ARGB cropX:2 cropY:3]; 171 [self cropAndScaleTestWithRGBPixelFormat:kCVPixelFormatType_32ARGB cropX:200 cropY:300]; 246 [self cropAndScaleTestWithRGBPixelFormat:pixelFormat cropX:0 cropY:0]; 249 - (void)cropAndScaleTestWithRGBPixelFormat:(OSType)pixelFormat cropX:(int)cropX cropY:(int)cropY { 260 cropHeight:CVPixelBufferGetHeight(pixelBufferRef) - cropY 262 cropY:cropY];
|
D | ObjCVideoTrackSource_xctest.mm | 184 XCTAssertEqual(buffer.cropY, outputBuffer.cropY); 220 XCTAssertEqual(outputBuffer.cropY, 0); 256 XCTAssertEqual(outputBuffer.cropY, 0); 286 cropY:0]; 299 XCTAssertEqual(outputBuffer.cropY, 0); 330 cropY:0]; 343 XCTAssertEqual(outputBuffer.cropY, 0); 374 cropY:0]; 387 XCTAssertEqual(outputBuffer.cropY, 52);
|
/external/webrtc/sdk/objc/components/video_frame_buffer/ |
D | RTCCVPixelBuffer.h | 24 @property(nonatomic, readonly) int cropY; 37 cropY:(int)cropY;
|
D | RTCCVPixelBuffer.mm | 36 @synthesize cropY = _cropY; 55 cropY:0]; 64 cropY:(int)cropY { 75 _cropY = cropY & ~1;
|
/external/webrtc/sdk/objc/components/renderer/metal/ |
D | RTCMTLRenderer.mm | 34 int cropY, 48 float cropTop = cropY / (float)frameHeight; 49 float cropBottom = (cropY + cropHeight) / (float)frameHeight; 169 cropY:(int *)cropY 192 int frameWidth, frameHeight, cropWidth, cropHeight, cropX, cropY; 198 cropY:&cropY 202 if (cropX != _oldCropX || cropY != _oldCropY || cropWidth != _oldCropWidth || 206 cropY, 214 _oldCropY = cropY;
|
D | RTCMTLRenderer+Private.h | 29 cropY:(nonnull int *)cropY
|
D | RTCMTLRGBRenderer.mm | 95 cropY:(nonnull int *)cropY 103 *cropY = pixelBuffer.cropY;
|
D | RTCMTLNV12Renderer.mm | 97 cropY:(nonnull int *)cropY 105 *cropY = pixelBuffer.cropY;
|
D | RTCMTLI420Renderer.mm | 99 cropY:(nonnull int *)cropY 106 *cropY = 0;
|
/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | NV21Buffer.java | 58 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) { in cropAndScale() argument 60 nativeCropAndScale(cropX, cropY, cropWidth, cropHeight, scaleWidth, scaleHeight, data, width, in cropAndScale() 66 private static native void nativeCropAndScale(int cropX, int cropY, int cropWidth, int cropHeight, in nativeCropAndScale() argument
|
D | NV12Buffer.java | 61 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) { in cropAndScale() argument 63 nativeCropAndScale(cropX, cropY, cropWidth, cropHeight, scaleWidth, scaleHeight, buffer, width, in cropAndScale() 69 private static native void nativeCropAndScale(int cropX, int cropY, int cropWidth, int cropHeight, in nativeCropAndScale() argument
|
D | WrappedNativeI420Buffer.java | 106 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) { in cropAndScale() argument 108 this, cropX, cropY, cropWidth, cropHeight, scaleWidth, scaleHeight); in cropAndScale()
|
D | NativeAndroidVideoTrackSource.java | 81 int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight, long timestampNs, in createFrameAdaptationParameters() argument 84 cropX, cropY, cropWidth, cropHeight, scaleWidth, scaleHeight, timestampNs, drop); in createFrameAdaptationParameters()
|
D | NativeCapturerObserver.java | 47 frame.getBuffer().cropAndScale(parameters.cropX, parameters.cropY, parameters.cropWidth, in onFrameCaptured()
|
/external/webrtc/sdk/objc/base/ |
D | RTCVideoFrame.h | 68 cropY:(int)cropY
|
D | RTCVideoFrame.mm | 59 cropY:(int)cropY
|
/external/webrtc/sdk/objc/native/src/ |
D | objc_video_track_source.mm | 103 cropY:crop_y + rtcPixelBuffer.cropY]);
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | HardwareVideoEncoderTest.java | 204 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) { in cropAndScale() argument 268 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) { in cropAndScale() argument 269 return realBuffer.cropAndScale(cropX, cropY, cropWidth, cropHeight, scaleWidth, scaleHeight); in cropAndScale()
|
D | VideoFrameBufferTest.java | 423 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) { 428 cropX, cropY, cropWidth, cropHeight, scaleWidth, scaleHeight); 434 bufferToTest.cropAndScale(cropX, cropY, cropWidth, cropHeight, scaleWidth, scaleHeight);
|