Home
last modified time | relevance | path

Searched refs:scaleHeight (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/sdk/android/api/org/webrtc/
DVideoProcessor.java26 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()
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()
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
DTextureBufferImpl.java130 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()
DVideoFrame.java59 int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight); in cropAndScale() argument
/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
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
DNV12Buffer.java61 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
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/android/instrumentationtests/src/org/webrtc/
DHardwareVideoEncoderTest.java204 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()
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/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawScissorTests.cpp131 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/
DSubsamplingScaleImageView.java1415 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()