Home
last modified time | relevance | path

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

/external/webrtc/sdk/android/api/org/webrtc/
DVideoProcessor.java23 public final int cropWidth; field in VideoProcessor.FrameAdaptationParameters
30 public FrameAdaptationParameters(int cropX, int cropY, int cropWidth, int cropHeight, in FrameAdaptationParameters() argument
34 this.cropWidth = cropWidth; in FrameAdaptationParameters()
72 frame.getBuffer().cropAndScale(parameters.cropX, parameters.cropY, parameters.cropWidth, 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()
189 buffer.getStrideU(), buffer.getDataV(), buffer.getStrideV(), cropX, cropY, cropWidth, in cropAndScaleI420() local
198 int cropWidth, int cropHeight, ByteBuffer dstY, int dstStrideY, ByteBuffer dstU, in nativeCropAndScaleI420() argument
DVideoFileRenderer.java96 int cropWidth = buffer.getWidth(); in renderFrameOnRenderThread() local
101 cropWidth = (int) (cropWidth * (fileAspectRatio / frameAspectRatio)); in renderFrameOnRenderThread()
104 final int cropX = (buffer.getWidth() - cropWidth) / 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
136 cropAndScaleMatrix.preScale(cropWidth / (float) width, cropHeight / (float) height); in cropAndScale()
139 (int) Math.round(unscaledWidth * cropWidth / (float) width), 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.h25 @property(nonatomic, readonly) int cropWidth;
34 cropWidth:(int)cropWidth
DRTCCVPixelBuffer.mm37 @synthesize cropWidth = _cropWidth;
52 cropWidth:CVPixelBufferGetWidth(pixelBuffer)
61 cropWidth:(int)cropWidth
71 _cropWidth = cropWidth;
/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.java47 frame.getBuffer().cropAndScale(parameters.cropX, parameters.cropY, parameters.cropWidth, in onFrameCaptured()
/external/webrtc/sdk/objc/components/renderer/metal/
DRTCMTLRenderer.mm35 int cropWidth,
47 float cropRight = (cropX + cropWidth) / (float)frameWidth;
166 cropWidth:(int *)cropWidth
192 int frameWidth, frameHeight, cropWidth, cropHeight, cropX, cropY;
195 cropWidth:&cropWidth
202 if (cropX != _oldCropX || cropY != _oldCropY || cropWidth != _oldCropWidth ||
207 cropWidth,
215 _oldCropWidth = cropWidth;
DRTCMTLRenderer+Private.h26 cropWidth:(nonnull int *)cropWidth
DRTCMTLRGBRenderer.mm92 cropWidth:(nonnull int *)cropWidth
100 *cropWidth = pixelBuffer.cropWidth;
DRTCMTLNV12Renderer.mm94 cropWidth:(nonnull int *)cropWidth
102 *cropWidth = pixelBuffer.cropWidth;
DRTCMTLI420Renderer.mm96 cropWidth:(nonnull int *)cropWidth
103 *cropWidth = frame.width;
/external/webrtc/sdk/objc/base/
DRTCVideoFrame.h65 cropWidth:(int)cropWidth
DRTCVideoFrame.mm56 cropWidth:(int)cropWidth
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DCameraVideoCapturerTestFixtures.java704 final int cropWidth; in cropCameraOutput() local
708 cropWidth = 360; in cropCameraOutput()
712 cropWidth = 640; 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.mm283 cropWidth:720
300 XCTAssertEqual(outputBuffer.cropWidth, 640);
327 cropWidth:370
344 XCTAssertEqual(outputBuffer.cropWidth, 360);
371 cropWidth:300
388 XCTAssertEqual(outputBuffer.cropWidth, 300);
DRTCCVPixelBuffer_xctest.mm50 cropWidth:360
93 cropWidth:360
259 cropWidth:CVPixelBufferGetWidth(pixelBufferRef) - cropX
/external/webrtc/sdk/objc/native/src/
Dobjc_video_track_source.mm100 cropWidth:crop_width