/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | GlGenericDrawer.java | 58 int viewportWidth, int viewportHeight); in onPrepareShader() argument 158 int viewportX, int viewportY, int viewportWidth, int viewportHeight) { in drawOes() argument 160 ShaderType.OES, texMatrix, frameWidth, frameHeight, viewportWidth, viewportHeight); in drawOes() 165 GLES20.glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in drawOes() 177 int viewportX, int viewportY, int viewportWidth, int viewportHeight) { in drawRgb() argument 179 ShaderType.RGB, texMatrix, frameWidth, frameHeight, viewportWidth, viewportHeight); in drawRgb() 184 GLES20.glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in drawRgb() 196 int viewportX, int viewportY, int viewportWidth, int viewportHeight) { in drawYuv() argument 198 ShaderType.YUV, texMatrix, frameWidth, frameHeight, viewportWidth, viewportHeight); in drawYuv() 205 GLES20.glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in drawYuv() [all …]
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/trackselection/ |
D | TrackSelectionParameters.java | 80 private int viewportHeight; field in TrackSelectionParameters.Builder 112 viewportHeight = Integer.MAX_VALUE; in Builder() 177 viewportHeight = in Builder() 178 bundle.getInt(keyForField(FIELD_VIEWPORT_HEIGHT), DEFAULT_WITHOUT_CONTEXT.viewportHeight); in Builder() 267 viewportHeight = parameters.viewportHeight; in init() 421 int viewportWidth, int viewportHeight, boolean viewportOrientationMayChange) { in setViewportSize() argument 423 this.viewportHeight = viewportHeight; in setViewportSize() 779 public final int viewportHeight; field in TrackSelectionParameters 876 this.viewportHeight = builder.viewportHeight; in TrackSelectionParameters() 923 && viewportHeight == other.viewportHeight in equals() [all …]
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/trackselection/ |
D | TrackSelectionParameters.java | 88 private int viewportHeight; field in TrackSelectionParameters.Builder 121 viewportHeight = Integer.MAX_VALUE; in Builder() 187 viewportHeight = in Builder() 188 bundle.getInt(keyForField(FIELD_VIEWPORT_HEIGHT), DEFAULT_WITHOUT_CONTEXT.viewportHeight); in Builder() 287 viewportHeight = parameters.viewportHeight; in init() 442 int viewportWidth, int viewportHeight, boolean viewportOrientationMayChange) { in setViewportSize() argument 444 this.viewportHeight = viewportHeight; in setViewportSize() 858 public final int viewportHeight; field in TrackSelectionParameters 961 this.viewportHeight = builder.viewportHeight; in TrackSelectionParameters() 1009 && viewportHeight == other.viewportHeight in equals() [all …]
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | VideoFrameDrawer.java | 34 int viewportWidth, int viewportHeight) { in drawTexture() argument 41 viewportY, viewportWidth, viewportHeight); in drawTexture() local 45 viewportY, viewportWidth, viewportHeight); in drawTexture() local 190 int viewportHeight) { in drawFrame() argument 214 renderHeight, viewportX, viewportY, viewportWidth, viewportHeight); in drawFrame() 227 renderHeight, viewportX, viewportY, viewportWidth, viewportHeight); in drawFrame() local
|
D | RendererCommon.java | 47 int viewportX, int viewportY, int viewportWidth, int viewportHeight); in drawOes() argument 49 int viewportY, int viewportWidth, int viewportHeight); in drawRgb() argument 51 int viewportX, int viewportY, int viewportWidth, int viewportHeight); in drawYuv() argument
|
D | GlRectDrawer.java | 25 int viewportWidth, int viewportHeight) {} in onPrepareShader() argument
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aVaryingInterpolationTests.cpp | 156 int viewportHeight = 128; in iterate() local 159 m_context.getRenderTarget().getHeight() < viewportHeight) in iterate() 163 int viewportY = rnd.getInt(0, m_context.getRenderTarget().getHeight() - viewportHeight); in iterate() 256 tcu::Surface rendered (viewportWidth, viewportHeight); in iterate() 257 tcu::Surface reference (viewportWidth, viewportHeight); in iterate() 260 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate()
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aVaryingInterpolationTests.cpp | 159 int viewportHeight = 128; in iterate() local 162 renderTarget.getHeight() < viewportHeight) in iterate() 166 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportHeight); in iterate() 262 tcu::Surface rendered (viewportWidth, viewportHeight); in iterate() 263 tcu::Surface reference (viewportWidth, viewportHeight); in iterate() 266 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fVertexTextureTests.cpp | 655 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_2D_RENDER_HEIGHT); in iterate() local 658 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; in iterate() 670 const int bottomHeight = viewportHeight / 2; in iterate() 671 const int topHeight = viewportHeight - bottomHeight; in iterate() 684 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate() 717 tcu::Surface resImage(viewportWidth, viewportHeight); in iterate() 976 …const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_CUBE_RENDER_HEIGH… in iterate() local 979 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; in iterate() 991 const int bottomHeight = viewportHeight / 2; in iterate() 992 const int topHeight = viewportHeight - bottomHeight; in iterate() [all …]
|
D | es3fTextureUnitTests.cpp | 994 int viewportHeight = deMin32(VIEWPORT_HEIGHT, renderTarget.getHeight()); in iterate() local 996 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportHeight); in iterate() 998 tcu::Surface gles3Frame (viewportWidth, viewportHeight); in iterate() 999 tcu::Surface refFrame (viewportWidth, viewportHeight); in iterate() 1024 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate() 1029 …LLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeight)); in iterate() 1033 context.readPixels(gles3Frame, 0, 0, viewportWidth, viewportHeight); in iterate() 1038 …et.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeight); in iterate() 1043 context.readPixels(refFrame, 0, 0, viewportWidth, viewportHeight); in iterate()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowResourcesTest.java | 172 .addAttribute(android.R.attr.viewportHeight, "24.0") in obtainStyledAttributes_shouldCheckXmlFirst_fromAttributeSetBuilder() 180 new int[] {android.R.attr.viewportWidth, android.R.attr.viewportHeight}, in obtainStyledAttributes_shouldCheckXmlFirst_fromAttributeSetBuilder() 201 .addAttribute(android.R.attr.viewportHeight, "@dimen/dimen30px") in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences() 209 new int[] {android.R.attr.viewportWidth, android.R.attr.viewportHeight}, in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureMipmapTests.cpp | 281 const int viewportHeight = m_renderer.getRenderHeight(); in iterate() local 289 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate() 295 const int cellHeight = viewportHeight / gridHeight; in iterate() 323 const int curH = gridY+1 == gridHeight ? (viewportHeight-curY) : cellHeight; in iterate() 352 tcu::Surface referenceFrame (viewportWidth, viewportHeight); in iterate() 353 tcu::Surface errorMask (viewportWidth, viewportHeight); in iterate() 372 const int curH = gridY+1 == gridHeight ? (viewportHeight-curY) : cellHeight; in iterate() 522 const int viewportHeight = m_renderer.getRenderHeight(); in iterate() local 529 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate() 538 computeGridLayout(gridLayout, viewportWidth, viewportHeight); in iterate() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fVertexTextureTests.cpp | 555 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_2D_RENDER_HEIGHT); in iterate() local 558 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; in iterate() 570 const int bottomHeight = viewportHeight / 2; in iterate() 571 const int topHeight = viewportHeight - bottomHeight; in iterate() 584 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate() 617 tcu::Surface resImage(viewportWidth, viewportHeight); in iterate() 878 …const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_CUBE_RENDER_HEIGH… in iterate() local 881 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; in iterate() 893 const int bottomHeight = viewportHeight / 2; in iterate() 894 const int topHeight = viewportHeight - bottomHeight; in iterate() [all …]
|
D | es2fTextureUnitTests.cpp | 764 int viewportHeight = deMin32(VIEWPORT_HEIGHT, renderTarget.getHeight()); in iterate() local 766 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportHeight); in iterate() 768 tcu::Surface gles2Frame (viewportWidth, viewportHeight); in iterate() 769 tcu::Surface refFrame (viewportWidth, viewportHeight); in iterate() 792 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate() 797 …LLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeight)); in iterate() 801 context.readPixels(gles2Frame, 0, 0, viewportWidth, viewportHeight); in iterate() 806 …et.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeight); in iterate() 811 context.readPixels(refFrame, 0, 0, viewportWidth, viewportHeight); in iterate()
|
D | es2fTextureCompletenessTests.cpp | 149 int viewportHeight = de::min(64, m_renderCtx.getRenderTarget().getHeight()); in iterate() local 152 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate() 157 int offsetY = random.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHeight); in iterate() 161 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate() 206 int viewportHeight = de::min(64, m_renderCtx.getRenderTarget().getHeight()); in iterate() local 210 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate() 225 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowResourcesTest.java | 142 .addAttribute(android.R.attr.viewportHeight, "24.0") in obtainStyledAttributes_shouldCheckXmlFirst_fromAttributeSetBuilder() 150 new int[] {android.R.attr.viewportWidth, android.R.attr.viewportHeight}, in obtainStyledAttributes_shouldCheckXmlFirst_fromAttributeSetBuilder() 224 .addAttribute(android.R.attr.viewportHeight, "@integer/test_integer2") in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences() 232 new int[] {android.R.attr.viewportWidth, android.R.attr.viewportHeight}, in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/test/java/com/google/android/exoplayer2/trackselection/ |
D | TrackSelectionParametersTest.java | 50 assertThat(parameters.viewportHeight).isEqualTo(Integer.MAX_VALUE); in defaultValue_withoutChange_isAsExpected() 124 assertThat(parameters.viewportHeight).isEqualTo(9); in parametersSet_fromDefault_isAsExpected() 182 assertThat(parameters.viewportHeight).isEqualTo(Integer.MAX_VALUE); in clearViewPortConstraints_withConstrains_clearConstrains()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/trackselection/ |
D | DefaultTrackSelector.java | 355 int viewportWidth, int viewportHeight, boolean viewportOrientationMayChange) { in setViewportSize() argument 356 super.setViewportSize(viewportWidth, viewportHeight, viewportOrientationMayChange); in setViewportSize() 1789 params.viewportHeight, in selectAdaptiveVideoTrack() 1812 int viewportHeight, in getAdaptiveVideoTracksForGroup() argument 1820 group, viewportWidth, viewportHeight, viewportOrientationMayChange); in getAdaptiveVideoTracksForGroup() 1989 params.viewportHeight, in selectFixedVideoTrack() 2406 TrackGroup group, int viewportWidth, int viewportHeight, boolean orientationMayChange) { in getViewportFilteredTrackIndices() argument 2413 if (viewportWidth == Integer.MAX_VALUE || viewportHeight == Integer.MAX_VALUE) { in getViewportFilteredTrackIndices() 2427 orientationMayChange, viewportWidth, viewportHeight, format.width, format.height); in getViewportFilteredTrackIndices() 2460 int viewportHeight, in getMaxVideoSizeInViewport() argument [all …]
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderCase.cpp | 476 int viewportHeight = de::min<int>(VIEWPORT_HEIGHT, m_renderCtx.getRenderTarget().getHeight()); in iterate() local 478 int viewportY = rnd.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHeight); in iterate() 480 …t::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth, viewportHeight); in iterate() 481 …t::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth, viewportHeight); in iterate() 545 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/test/java/com/google/android/exoplayer2/trackselection/ |
D | TrackSelectionParametersTest.java | 51 assertThat(parameters.viewportHeight).isEqualTo(Integer.MAX_VALUE); in defaultValue_withoutChange_isAsExpected() 134 assertThat(parameters.viewportHeight).isEqualTo(9); in parametersSet_fromDefault_isAsExpected() 194 assertThat(parameters.viewportHeight).isEqualTo(Integer.MAX_VALUE); in clearViewPortConstraints_withConstrains_clearConstrains()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderViewportLayerArrayTests.cpp | 283 GLfloat viewportHeight = 16.0f; in createMaxViewports() local 296 GLfloat y = (GLfloat)currentY * viewportHeight; in createMaxViewports() 301 data[i * viewportDataSize + 3] = viewportHeight; in createMaxViewports() 303 m_viewportData.push_back(tcu::Vec4(x, y, viewportWidth, viewportHeight)); in createMaxViewports()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/trackselection/ |
D | DefaultTrackSelector.java | 379 int viewportWidth, int viewportHeight, boolean viewportOrientationMayChange) { in setViewportSize() argument 380 super.setViewportSize(viewportWidth, viewportHeight, viewportOrientationMayChange); in setViewportSize() 2147 TrackGroup group, int viewportWidth, int viewportHeight, boolean orientationMayChange) { in getMaxVideoPixelsToRetainForViewport() argument 2148 if (viewportWidth == Integer.MAX_VALUE || viewportHeight == Integer.MAX_VALUE) { in getMaxVideoPixelsToRetainForViewport() 2159 orientationMayChange, viewportWidth, viewportHeight, format.width, format.height); in getMaxVideoPixelsToRetainForViewport() 2178 int viewportHeight, in getMaxVideoSizeInViewport() argument 2181 if (orientationMayChange && (videoWidth > videoHeight) != (viewportWidth > viewportHeight)) { in getMaxVideoSizeInViewport() 2184 viewportWidth = viewportHeight; in getMaxVideoSizeInViewport() 2185 viewportHeight = tempViewportWidth; in getMaxVideoSizeInViewport() 2188 if (videoWidth * viewportHeight >= videoHeight * viewportWidth) { in getMaxVideoSizeInViewport() [all …]
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | GameRenderer.java | 275 final int viewportHeight = (int)(mHeight * scaleY); in onSurfaceChanged() local 276 gl.glViewport(0, 0, viewportWidth, viewportHeight); in onSurfaceChanged()
|
/external/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/ |
D | VectorDrawableNatives.java | 34 long rendererPtr, float viewportWidth, float viewportHeight); in nSetRendererViewportSize() argument
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowNativeVectorDrawable.java | 66 long rendererPtr, float viewportWidth, float viewportHeight) { in nSetRendererViewportSize() argument 67 VectorDrawableNatives.nSetRendererViewportSize(rendererPtr, viewportWidth, viewportHeight); in nSetRendererViewportSize()
|