/external/webrtc/sdk/android/api/org/webrtc/ |
D | VideoProcessor.java | 21 public final int cropX; field in VideoProcessor.FrameAdaptationParameters 30 public FrameAdaptationParameters(int cropX, int cropY, int cropWidth, int cropHeight, in FrameAdaptationParameters() argument 32 this.cropX = cropX; 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 135 cropAndScaleMatrix.preTranslate(cropX / (float) width, cropYFromBottom / (float) height); in cropAndScale()
|
D | VideoFileRenderer.java | 104 final int cropX = (buffer.getWidth() - cropWidth) / 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 | 52 cropX:100 95 cropX: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 { 259 cropWidth:CVPixelBufferGetWidth(pixelBufferRef) - cropX 261 cropX:cropX
|
D | ObjCVideoTrackSource_xctest.mm | 183 XCTAssertEqual(buffer.cropX, outputBuffer.cropX); 219 XCTAssertEqual(outputBuffer.cropX, 0); 255 XCTAssertEqual(outputBuffer.cropX, 10); 285 cropX:0 298 XCTAssertEqual(outputBuffer.cropX, 0); 329 cropX:10 342 XCTAssertEqual(outputBuffer.cropX, 14); 373 cropX:40 386 XCTAssertEqual(outputBuffer.cropX, 40);
|
/external/webrtc/sdk/objc/components/video_frame_buffer/ |
D | RTCCVPixelBuffer.h | 23 @property(nonatomic, readonly) int cropX; 36 cropX:(int)cropX
|
D | RTCCVPixelBuffer.mm | 35 @synthesize cropX = _cropX; 54 cropX:0 63 cropX:(int)cropX 74 _cropX = cropX & ~1;
|
/external/webrtc/sdk/objc/components/renderer/metal/ |
D | RTCMTLRenderer.mm | 33 static inline void getCubeVertexData(int cropX, 46 float cropLeft = cropX / (float)frameWidth; 47 float cropRight = (cropX + cropWidth) / (float)frameWidth; 168 cropX:(int *)cropX 192 int frameWidth, frameHeight, cropWidth, cropHeight, cropX, cropY; 197 cropX:&cropX 202 if (cropX != _oldCropX || cropY != _oldCropY || cropWidth != _oldCropWidth || 205 getCubeVertexData(cropX, 213 _oldCropX = cropX;
|
D | RTCMTLRenderer+Private.h | 28 cropX:(nonnull int *)cropX
|
D | RTCMTLRGBRenderer.mm | 94 cropX:(nonnull int *)cropX 102 *cropX = pixelBuffer.cropX;
|
D | RTCMTLNV12Renderer.mm | 96 cropX:(nonnull int *)cropX 104 *cropX = pixelBuffer.cropX;
|
D | RTCMTLI420Renderer.mm | 98 cropX:(nonnull int *)cropX 105 *cropX = 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 | 80 static VideoProcessor.FrameAdaptationParameters createFrameAdaptationParameters(int cropX, 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 | 67 cropX:(int)cropX
|
D | RTCVideoFrame.mm | 58 cropX:(int)cropX
|
/external/webrtc/sdk/objc/native/src/ |
D | objc_video_track_source.mm | 102 cropX:crop_x + rtcPixelBuffer.cropX
|
/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);
|