/external/webrtc/sdk/android/api/org/webrtc/ |
D | VideoProcessor.java | 26 public final int scaleHeight; field in VideoProcessor.FrameAdaptationParameters 31 int scaleWidth, int scaleHeight, long timestampNs, boolean drop) { in FrameAdaptationParameters() argument 37 this.scaleHeight = scaleHeight; 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() 183 return JavaI420Buffer.wrap(scaleWidth, scaleHeight, dataY.slice(), buffer.getStrideY(), in cropAndScaleI420() 187 JavaI420Buffer newBuffer = JavaI420Buffer.allocate(scaleWidth, scaleHeight); in cropAndScaleI420() 192 scaleHeight); in cropAndScaleI420() local 199 int dstStrideU, ByteBuffer dstV, int dstStrideV, int scaleWidth, int scaleHeight); in nativeCropAndScaleI420() argument
|
D | TextureBufferImpl.java | 130 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) { in cropAndScale() argument 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/android/src/java/org/webrtc/ |
D | NV21Buffer.java | 58 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) { in cropAndScale() argument 59 JavaI420Buffer newBuffer = JavaI420Buffer.allocate(scaleWidth, scaleHeight); in cropAndScale() 60 nativeCropAndScale(cropX, cropY, cropWidth, cropHeight, scaleWidth, scaleHeight, data, width, in cropAndScale() 67 int scaleWidth, int scaleHeight, byte[] src, int srcWidth, int srcHeight, ByteBuffer dstY, in nativeCropAndScale() argument
|
D | NV12Buffer.java | 61 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) { in cropAndScale() argument 62 JavaI420Buffer newBuffer = JavaI420Buffer.allocate(scaleWidth, scaleHeight); in cropAndScale() 63 nativeCropAndScale(cropX, cropY, cropWidth, cropHeight, scaleWidth, scaleHeight, buffer, width, in cropAndScale() 70 int scaleWidth, int scaleHeight, ByteBuffer src, int srcWidth, int srcHeight, int srcStride, 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/android/instrumentationtests/src/org/webrtc/ |
D | HardwareVideoEncoderTest.java | 204 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) { in cropAndScale() argument 206 return new MockTextureBuffer(textureId, scaleWidth, scaleHeight, this ::release); in cropAndScale() 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/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawScissorTests.cpp | 131 float scaleHeight = 2.0f / (float)HEIGHT; in getVertices() local 132 …Vec4 topLeft (-1.0f + scaleWidth * (float)m_quad.m_x, -1.0f + scaleHeight * (float)m_quad.m_… in getVertices() 133 …Vec4 topRight (-1.0f + scaleWidth * (float)(m_quad.m_x + m_quad.m_width), -1.0f + scaleHeight… in getVertices() 134 …Vec4 bottomLeft (-1.0f + scaleWidth * (float)m_quad.m_x, -1.0f + scaleHeight * (float)(m_quad… in getVertices() 135 …ht (-1.0f + scaleWidth * (float)(m_quad.m_x + m_quad.m_width), -1.0f + scaleHeight * (float)(m_qua… in getVertices()
|
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/ |
D | SubsamplingScaleImageView.java | 1415 float scaleHeight = scale * sHeight(); 1419 vTranslate.y = Math.max(vTranslate.y, getHeight()/2 - scaleHeight); 1422 vTranslate.y = Math.max(vTranslate.y, getHeight() - scaleHeight); 1425 vTranslate.y = Math.max(vTranslate.y, -scaleHeight); 1439 maxTy = Math.max(0, (getHeight() - scaleHeight) * yPaddingRatio); 2404 float scaleHeight = scale * sHeight(); in getPanRemaining() local 2409 vTarget.bottom = Math.max(0, vTranslate.y - ((getHeight() / 2) - scaleHeight)); in getPanRemaining() 2414 vTarget.bottom = Math.max(0, vTranslate.y + scaleHeight); in getPanRemaining() 2419 vTarget.bottom = Math.max(0, (scaleHeight + vTranslate.y) - getHeight()); in getPanRemaining()
|