Home
last modified time | relevance | path

Searched refs:cropHeight (Results 1 – 25 of 25) sorted by relevance

/external/webrtc/sdk/android/api/org/webrtc/
DVideoProcessor.java24 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()
DJavaI420Buffer.java166 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
DVideoFileRenderer.java97 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()
DTextureBufferImpl.java130 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()
DVideoFrame.java59 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight); in cropAndScale() argument
/external/webrtc/sdk/objc/components/video_frame_buffer/
DRTCCVPixelBuffer.h26 @property(nonatomic, readonly) int cropHeight;
35 cropHeight:(int)cropHeight
DRTCCVPixelBuffer.mm38 @synthesize cropHeight = _cropHeight;
53 cropHeight:CVPixelBufferGetHeight(pixelBuffer)
62 cropHeight:(int)cropHeight
72 _cropHeight = cropHeight;
/external/webrtc/sdk/android/src/java/org/webrtc/
DNV21Buffer.java58 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
DNV12Buffer.java61 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
DWrappedNativeI420Buffer.java106 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()
DNativeAndroidVideoTrackSource.java81 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()
DNativeCapturerObserver.java48 parameters.cropHeight, parameters.scaleWidth, parameters.scaleHeight); in onFrameCaptured()
/external/webrtc/sdk/objc/components/renderer/metal/
DRTCMTLRenderer.mm36 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;
DRTCMTLRenderer+Private.h27 cropHeight:(nonnull int *)cropHeight
DRTCMTLRGBRenderer.mm93 cropHeight:(nonnull int *)cropHeight
101 *cropHeight = pixelBuffer.cropHeight;
DRTCMTLNV12Renderer.mm95 cropHeight:(nonnull int *)cropHeight
103 *cropHeight = pixelBuffer.cropHeight;
DRTCMTLI420Renderer.mm97 cropHeight:(nonnull int *)cropHeight
104 *cropHeight = frame.height;
/external/webrtc/sdk/objc/base/
DRTCVideoFrame.h66 cropHeight:(int)cropHeight
DRTCVideoFrame.mm57 cropHeight:(int)cropHeight
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DCameraVideoCapturerTestFixtures.java705 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()
DHardwareVideoEncoderTest.java204 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()
DVideoFrameBufferTest.java423 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/
DObjCVideoTrackSource_xctest.mm284 cropHeight:1280
301 XCTAssertEqual(outputBuffer.cropHeight, 360);
328 cropHeight:640
345 XCTAssertEqual(outputBuffer.cropHeight, 640);
372 cropHeight:640
389 XCTAssertEqual(outputBuffer.cropHeight, 534);
DRTCCVPixelBuffer_xctest.mm51 cropHeight:640
94 cropHeight:640
260 cropHeight:CVPixelBufferGetHeight(pixelBufferRef) - cropY
/external/webrtc/sdk/objc/native/src/
Dobjc_video_track_source.mm101 cropHeight:crop_height