/external/webrtc/sdk/android/api/org/webrtc/ |
D | VideoProcessor.java | 23 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()
|
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() 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
|
D | VideoFileRenderer.java | 96 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()
|
D | TextureBufferImpl.java | 130 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()
|
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 | 25 @property(nonatomic, readonly) int cropWidth; 34 cropWidth:(int)cropWidth
|
D | RTCCVPixelBuffer.mm | 37 @synthesize cropWidth = _cropWidth; 52 cropWidth:CVPixelBufferGetWidth(pixelBuffer) 61 cropWidth:(int)cropWidth 71 _cropWidth = cropWidth;
|
/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/components/renderer/metal/ |
D | RTCMTLRenderer.mm | 35 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;
|
D | RTCMTLRenderer+Private.h | 26 cropWidth:(nonnull int *)cropWidth
|
D | RTCMTLRGBRenderer.mm | 92 cropWidth:(nonnull int *)cropWidth 100 *cropWidth = pixelBuffer.cropWidth;
|
D | RTCMTLNV12Renderer.mm | 94 cropWidth:(nonnull int *)cropWidth 102 *cropWidth = pixelBuffer.cropWidth;
|
D | RTCMTLI420Renderer.mm | 96 cropWidth:(nonnull int *)cropWidth 103 *cropWidth = frame.width;
|
/external/webrtc/sdk/objc/base/ |
D | RTCVideoFrame.h | 65 cropWidth:(int)cropWidth
|
D | RTCVideoFrame.mm | 56 cropWidth:(int)cropWidth
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | CameraVideoCapturerTestFixtures.java | 704 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()
|
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 | 283 cropWidth:720 300 XCTAssertEqual(outputBuffer.cropWidth, 640); 327 cropWidth:370 344 XCTAssertEqual(outputBuffer.cropWidth, 360); 371 cropWidth:300 388 XCTAssertEqual(outputBuffer.cropWidth, 300);
|
D | RTCCVPixelBuffer_xctest.mm | 50 cropWidth:360 93 cropWidth:360 259 cropWidth:CVPixelBufferGetWidth(pixelBufferRef) - cropX
|
/external/webrtc/sdk/objc/native/src/ |
D | objc_video_track_source.mm | 100 cropWidth:crop_width
|