/external/webrtc/sdk/android/api/org/webrtc/ |
D | VideoProcessor.java | 24 public final int cropHeight; field in VideoProcessor.FrameAdaptationParameters 30 public FrameAdaptationParameters(int cropX, int cropY, int cropWidth, int cropHeight, in FrameAdaptationParameters() argument 35 this.cropHeight = cropHeight; in FrameAdaptationParameters() 73 parameters.cropHeight, parameters.scaleWidth, parameters.scaleHeight); 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() 171 int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) { in cropAndScaleI420() argument 172 if (cropWidth == scaleWidth && cropHeight == scaleHeight) { in cropAndScaleI420() 190 cropHeight, newBuffer.getDataY(), newBuffer.getStrideY(), newBuffer.getDataU(), in cropAndScaleI420() local 198 int cropWidth, int cropHeight, ByteBuffer dstY, int dstStrideY, ByteBuffer dstU, in nativeCropAndScaleI420() argument
|
D | VideoFileRenderer.java | 97 int cropHeight = buffer.getHeight(); in renderFrameOnRenderThread() local 99 cropHeight = (int) (cropHeight * (frameAspectRatio / fileAspectRatio)); in renderFrameOnRenderThread() 105 final int cropY = (buffer.getHeight() - cropHeight) / 2; in renderFrameOnRenderThread() 108 buffer.cropAndScale(cropX, cropY, cropWidth, cropHeight, targetWidth, targetHeight); in renderFrameOnRenderThread()
|
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() 136 cropAndScaleMatrix.preScale(cropWidth / (float) width, cropHeight / (float) height); in cropAndScale() 140 (int) Math.round(unscaledHeight * cropHeight / (float) height), scaleWidth, scaleHeight); in cropAndScale()
|
D | VideoFrame.java | 59 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight); in cropAndScale() argument
|
/external/webrtc/sdk/objc/components/video_frame_buffer/ |
D | RTCCVPixelBuffer.h | 26 @property(nonatomic, readonly) int cropHeight; 35 cropHeight:(int)cropHeight
|
D | RTCCVPixelBuffer.mm | 38 @synthesize cropHeight = _cropHeight; 53 cropHeight:CVPixelBufferGetHeight(pixelBuffer) 62 cropHeight:(int)cropHeight 72 _cropHeight = cropHeight;
|
/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 | 48 parameters.cropHeight, parameters.scaleWidth, parameters.scaleHeight); in onFrameCaptured()
|
/external/webrtc/sdk/objc/components/renderer/metal/ |
D | RTCMTLRenderer.mm | 36 int cropHeight, 49 float cropBottom = (cropY + cropHeight) / (float)frameHeight; 167 cropHeight:(int *)cropHeight 192 int frameWidth, frameHeight, cropWidth, cropHeight, cropX, cropY; 196 cropHeight:&cropHeight 203 cropHeight != _oldCropHeight || rotation != _oldRotation || frameWidth != _oldFrameWidth || 208 cropHeight, 216 _oldCropHeight = cropHeight;
|
D | RTCMTLRenderer+Private.h | 27 cropHeight:(nonnull int *)cropHeight
|
D | RTCMTLRGBRenderer.mm | 93 cropHeight:(nonnull int *)cropHeight 101 *cropHeight = pixelBuffer.cropHeight;
|
D | RTCMTLNV12Renderer.mm | 95 cropHeight:(nonnull int *)cropHeight 103 *cropHeight = pixelBuffer.cropHeight;
|
D | RTCMTLI420Renderer.mm | 97 cropHeight:(nonnull int *)cropHeight 104 *cropHeight = frame.height;
|
/external/webrtc/sdk/objc/base/ |
D | RTCVideoFrame.h | 66 cropHeight:(int)cropHeight
|
D | RTCVideoFrame.mm | 57 cropHeight:(int)cropHeight
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | CameraVideoCapturerTestFixtures.java | 705 final int cropHeight; in cropCameraOutput() local 709 cropHeight = 640; in cropCameraOutput() 713 cropHeight = 630; in cropCameraOutput() 718 cropWidth, cropHeight, cropWidth, cropHeight, frameRate); in cropCameraOutput() 727 gotExpectedOrientation = (cropWidth > cropHeight) in cropCameraOutput()
|
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);
|
/external/webrtc/sdk/objc/unittests/ |
D | ObjCVideoTrackSource_xctest.mm | 284 cropHeight:1280 301 XCTAssertEqual(outputBuffer.cropHeight, 360); 328 cropHeight:640 345 XCTAssertEqual(outputBuffer.cropHeight, 640); 372 cropHeight:640 389 XCTAssertEqual(outputBuffer.cropHeight, 534);
|
D | RTCCVPixelBuffer_xctest.mm | 51 cropHeight:640 94 cropHeight:640 260 cropHeight:CVPixelBufferGetHeight(pixelBufferRef) - cropY
|
/external/webrtc/sdk/objc/native/src/ |
D | objc_video_track_source.mm | 101 cropHeight:crop_height
|