/external/OpenCL-CTS/test_conformance/events/ |
D | action_classes.cpp | 283 if( ( error = IGetPreferredImageSize2D( device, mWidth, mHeight ) ) ) in Setup() 287 … mImage = create_image_2d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, 0, NULL, &error ); in Setup() 291 mOutput = malloc( mWidth * mHeight * 4 ); in Setup() 303 size_t origin[ 3 ] = { 0, 0, 0 }, region[ 3 ] = { mWidth, mHeight, 1 }; in Execute() 316 if( ( error = IGetPreferredImageSize3D( device, mWidth, mHeight, mDepth ) ) ) in Setup() 320 …mImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NULL,… in Setup() 323 mOutput = malloc( mWidth * mHeight * mDepth * 4 ); in Setup() 335 size_t origin[ 3 ] = { 0, 0, 0 }, region[ 3 ] = { mWidth, mHeight, mDepth }; in Execute() 348 if( ( error = IGetPreferredImageSize2D( device, mWidth, mHeight ) ) ) in Setup() 352 … mImage = create_image_2d( context, CL_MEM_WRITE_ONLY, &format, mWidth, mHeight, 0, NULL, &error ); in Setup() [all …]
|
D | action_classes.h | 135 size_t mWidth, mHeight; variable 151 size_t mWidth, mHeight, mDepth; variable 164 size_t mWidth, mHeight; variable 180 size_t mWidth, mHeight, mDepth; variable 199 size_t mWidth, mHeight, mDepth; variable 255 size_t mWidth, mHeight; variable 270 size_t mWidth, mHeight, mDepth; variable 285 size_t mWidth, mHeight; variable 300 size_t mWidth, mHeight, mDepth; variable 314 size_t mWidth, mHeight; variable
|
/external/angle/samples/gles1/ |
D | DrawTexture.cpp | 62 glDrawTexiOES(mX, mY, 0, mWidth, mHeight); in draw() 63 glDrawTexiOES(windowWidth - mX, mY, 0, mWidth, mHeight); in draw() 64 glDrawTexiOES(mX, windowHeight - mY, 0, mWidth, mHeight); in draw() 65 glDrawTexiOES(windowWidth - mX, windowHeight - mY, 0, mWidth, mHeight); in draw() 75 if (mY + mHeight >= windowHeight) in draw() 81 ++mHeight; in draw() 84 if (mHeight >= windowHeight) in draw() 85 mHeight = 0; in draw() 98 GLint mHeight = 0; member in GLES1DrawTextureSample
|
/external/angle/src/tests/gl_tests/ |
D | WebGLReadOutsideFramebufferTest.cpp | 20 PixelRect(int width, int height) : mWidth(width), mHeight(height), mData(width * height) {} in PixelRect() 29 for (int y = 0; y < mHeight; ++y) in fill() 41 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D() 43 glTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D() 45 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D() 47 glTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D() 49 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D() 51 glTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D() 57 glTexImage2D(target, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, in toTexture2D() 70 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, mWidth, mHeight, depth, 0, GL_RGBA, in toTexture3D() [all …]
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | DrawableBitmap.java | 29 private int mHeight; field in DrawableBitmap 39 mHeight = height; in DrawableBitmap() 112 final float height = mHeight; in draw() 163 mHeight = height; in resize() 176 return mHeight; in getHeight() 180 mHeight = height; in setHeight() 220 || position.y + mHeight < 0 || position.y > mViewHeight) { in visibleAtPosition() 229 vertFlip ? 0 : mHeight, in setFlip() 231 vertFlip ? -mHeight : mHeight); in setFlip()
|
D | SpriteComponent.java | 30 private int mHeight; field in SpriteComponent 44 mHeight = height; in SpriteComponent() 60 mHeight = 0; in reset() 112 bitmap.setHeight(mHeight); in update() 174 return mHeight; in getHeight() 179 mHeight = height; in setSize()
|
D | ScrollerComponent.java | 26 private int mHeight; field in ScrollerComponent 60 mHeight = 0; in reset() 79 mHeight = height; in setup() 103 background.setHeight(mHeight); in update()
|
D | GameRenderer.java | 40 private int mHeight; field in GameRenderer 68 mHeight = gameHeight; in GameRenderer() 204 DrawableBitmap.beginDrawing(gl, mWidth, mHeight); in onDrawFrame() 273 float scaleY = (float)h / mHeight; in onSurfaceChanged() 275 final int viewportHeight = (int)(mHeight * scaleY); in onSurfaceChanged() 286 float ratio = (float) mWidth / mHeight; in onSurfaceChanged()
|
/external/libhevc/fuzzer/ |
D | hevc_dec_fuzzer.cpp | 97 uint32_t mHeight; member in Codec 105 mHeight = 0; in Codec() 224 sizes[0] = mWidth * mHeight; in allocFrame() 225 sizes[1] = mWidth * mHeight >> 1; in allocFrame() 229 sizes[0] = mWidth * mHeight * 2; in allocFrame() 233 sizes[0] = mWidth * mHeight * 2; in allocFrame() 237 sizes[0] = mWidth * mHeight * 4; in allocFrame() 243 sizes[0] = mWidth * mHeight; in allocFrame() 244 sizes[1] = mWidth * mHeight >> 2; in allocFrame() 245 sizes[2] = mWidth * mHeight >> 2; in allocFrame() [all …]
|
D | hevc_enc_fuzzer.cpp | 86 size_t mHeight = 288; member in Codec 100 mHeight = ((data[IDX_HT_BYTE_1] << 8) | data[IDX_HT_BYTE_2]) % kMaxHeight; in initEncoder() 104 mEncParams.s_src_prms.i4_height = mHeight; in initEncoder() 148 size_t frameSize = (mWidth * mHeight * 3) / 2; in encodeFrames() 167 sEncodeIp.apv_inp_planes[1] = tmpData + (mWidth * mHeight); in encodeFrames() 168 sEncodeIp.apv_inp_planes[2] = tmpData + ((mWidth * mHeight) * 5) / 4; in encodeFrames() 174 sEncodeIp.ai4_inp_size[0] = yStride * mHeight; in encodeFrames() 175 sEncodeIp.ai4_inp_size[1] = uStride * mHeight >> 1; in encodeFrames() 176 sEncodeIp.ai4_inp_size[2] = vStride * mHeight >> 1; in encodeFrames()
|
/external/libavc/fuzzer/ |
D | avc_dec_fuzzer.cpp | 97 uint32_t mHeight; member in Codec 105 mHeight = 0; in Codec() 220 sizes[0] = mWidth * mHeight; in allocFrame() 221 sizes[1] = mWidth * mHeight >> 1; in allocFrame() 225 sizes[0] = mWidth * mHeight * 2; in allocFrame() 229 sizes[0] = mWidth * mHeight * 2; in allocFrame() 233 sizes[0] = mWidth * mHeight * 4; in allocFrame() 239 sizes[0] = mWidth * mHeight; in allocFrame() 240 sizes[1] = mWidth * mHeight >> 2; in allocFrame() 241 sizes[2] = mWidth * mHeight >> 2; in allocFrame() [all …]
|
D | avc_enc_fuzzer.cpp | 153 uint32_t mHeight = 2560; member in Codec 189 mHeight = ((data[IDX_HT_BYTE_1] << 8) | data[IDX_HT_BYTE_2]) % kMaxHeight; in initEncoder() 269 sFillMemRecIp.u4_max_ht = mHeight; in initEncoder() 305 sInitIp.u4_max_ht = mHeight; in initEncoder() 361 sDimensionsIp.u4_ht = mHeight; in setDimensions() 418 sGetBufInfoIp.s_ive_ip.u4_max_ht = mHeight; in getBufInfo() 844 size_t frameSize = (mIvVideoColorFormat == IV_YUV_422ILE) ? (mWidth * mHeight * 2) in encodeFrames() 845 : ((mWidth * mHeight * 3) / 2); in encodeFrames() 965 uint8_t *yPlane = (uint8_t *)malloc(mWidth * mHeight); in setEncParams() 966 uint8_t *uPlane = (uint8_t *)malloc(frameSize - (mWidth * mHeight)); in setEncParams() [all …]
|
/external/libmpeg2/fuzzer/ |
D | mpeg2_dec_fuzzer.cpp | 85 uint32_t mHeight; member in Codec 95 mHeight = 0; in Codec() 295 sizes[0] = mWidth * mHeight; in allocFrame() 296 sizes[1] = ALIGN2(mWidth) * ALIGN2(mHeight) >> 1; in allocFrame() 300 sizes[0] = mWidth * mHeight * 2; in allocFrame() 304 sizes[0] = mWidth * mHeight * 2; in allocFrame() 308 sizes[0] = mWidth * mHeight * 4; in allocFrame() 314 sizes[0] = mWidth * mHeight; in allocFrame() 315 sizes[1] = ALIGN2(mWidth) * ALIGN2(mHeight) >> 2; in allocFrame() 316 sizes[2] = ALIGN2(mWidth) * ALIGN2(mHeight) >> 2; in allocFrame() [all …]
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | SwapChain9.cpp | 30 mHeight(-1), in SwapChain9() 160 RECT rect = {0, 0, mWidth, mHeight}; in reset() 271 mHeight = backbufferHeight; in reset() 321 D3DVIEWPORT9 viewport = {0, 0, static_cast<DWORD>(mWidth), static_cast<DWORD>(mHeight), in swapRect() 326 float y1 = (mHeight - y - height) - 0.5f; in swapRect() 328 float y2 = (mHeight - y) - 0.5f; in swapRect() 331 float v1 = y / float(mHeight); in swapRect() 333 float v2 = (y + height) / float(mHeight); in swapRect() 346 RECT rect = {static_cast<LONG>(x), static_cast<LONG>(mHeight - y - height), in swapRect() 347 static_cast<LONG>(x + width), static_cast<LONG>(mHeight - y)}; in swapRect()
|
/external/angle/src/libANGLE/renderer/gl/glx/ |
D | PbufferSurfaceGLX.cpp | 26 mHeight(height), in PbufferSurfaceGLX() 47 int height = std::max(1, static_cast<int>(mHeight)); in initialize() 61 mGLX.queryDrawable(mPbuffer, GLX_HEIGHT, &mHeight); in initialize() 115 return mHeight; in getHeight()
|
/external/angle/src/libANGLE/renderer/gl/wgl/ |
D | DXGISwapChainWindowSurfaceWGL.cpp | 54 mHeight(0), in DXGISwapChainWindowSurfaceWGL() 100 mHeight = rect.bottom - rect.top; in initialize() 160 RECT rect = {static_cast<LONG>(x), static_cast<LONG>(mHeight - y - height), in postSubBuffer() 161 static_cast<LONG>(x + width), static_cast<LONG>(mHeight - y)}; in postSubBuffer() 257 return static_cast<EGLint>(mHeight); in getHeight() 351 if (newWidth != mWidth || newHeight != mHeight) in checkForResize() 354 mHeight = newHeight; in checkForResize() 436 swapChainDesc.Height = static_cast<UINT>(mHeight); in createSwapChain() 468 swapChainDesc.BufferDesc.Height = static_cast<UINT>(mHeight); in createSwapChain() 535 static_cast<GLsizei>(mHeight)); in createSwapChain()
|
D | PbufferSurfaceWGL.cpp | 30 mHeight(height), in PbufferSurfaceWGL() 93 mPbuffer = mFunctionsWGL->createPbufferARB(mParentDeviceContext, mPixelFormat, mWidth, mHeight, in initialize() 104 mFunctionsWGL->queryPbufferARB(mPbuffer, WGL_PBUFFER_HEIGHT_ARB, &mHeight) != TRUE) in initialize() 197 return mHeight; in getHeight()
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | SurfaceD3D.cpp | 48 mHeight(static_cast<EGLint>(attribs.get(EGL_HEIGHT, 0))), in SurfaceD3D() 57 mHeight = -1; in SurfaceD3D() 63 mFixedHeight = mHeight; in SurfaceD3D() 245 mHeight = backbufferHeight; in resizeSwapChain() 271 mHeight = backbufferHeight; in resetSwapChain() 293 if (y + height > mHeight) in swapRect() 295 height = mHeight - y; in swapRect() 362 return swapRect(displayD3D, 0, 0, mWidth, mHeight); in swap() 408 return mHeight; in getHeight()
|
/external/angle/src/libANGLE/renderer/gl/eagl/ |
D | PbufferSurfaceEAGL.cpp | 31 mHeight(height), in PbufferSurfaceEAGL() 56 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, mWidth, mHeight); in initialize() 60 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, mWidth, mHeight); in initialize() 114 return mHeight; in getHeight()
|
/external/angle/src/libANGLE/renderer/gl/cgl/ |
D | PbufferSurfaceCGL.cpp | 29 mHeight(height), in PbufferSurfaceCGL() 54 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, mWidth, mHeight); in initialize() 58 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, mWidth, mHeight); in initialize() 111 return mHeight; in getHeight()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Renderbuffer.cpp | 254 mHeight = 0; in RenderbufferStorage() 270 return mHeight; in getHeight() 290 mHeight = renderTarget->getHeight(); in Colorbuffer() 318 mHeight = height; in Colorbuffer() 368 mHeight = depthStencil->getHeight(); in DepthStencilbuffer() 396 mHeight = height; in DepthStencilbuffer()
|
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/ |
D | MusicKeyboardView.java | 68 private int mHeight; field in MusicKeyboardView 131 mHeight = h; in onSizeChanged() 132 mNumKeys = (mHeight > mWidth) ? mNumPortraitKeys : mNumLandscapeKeys; in onSizeChanged() 144 mBlackBottom = (int) (mHeight * BLACK_KEY_HEIGHT_FACTOR); in onSizeChanged() 179 canvas.drawRect(0, 0, mWidth, mHeight, mShadowPaint); in onDraw() 188 canvas.drawRect(x, 0, x + mWhiteKeyWidth - WHITE_KEY_GAP, mHeight, in onDraw()
|
/external/angle/src/libANGLE/ |
D | Renderbuffer.cpp | 33 mHeight(0), in RenderbufferState() 49 return mHeight; in getHeight() 80 mHeight = height; in update() 227 return mState.mHeight; in getHeight() 292 size *= mState.mHeight; in getMemorySize() 314 return Extents(mState.mWidth, mState.mHeight, 1); in getAttachmentSize()
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | RenderTarget11.cpp | 215 mHeight(height), in TextureRenderTarget11() 230 ASSERT(mFormatSet.formatID != angle::FormatID::NONE || mWidth == 0 || mHeight == 0); in TextureRenderTarget11() 244 mHeight(height), in TextureRenderTarget11() 259 ASSERT(mFormatSet.formatID != angle::FormatID::NONE || mWidth == 0 || mHeight == 0); in TextureRenderTarget11() 298 return mHeight; in getHeight()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Renderbuffer.cpp | 453 mHeight = 0; in RenderbufferStorage() 469 return mHeight; in getHeight() 489 mHeight = renderTarget->getHeight(); in Colorbuffer() 517 mHeight = height; in Colorbuffer() 567 mHeight = depthStencil->getHeight(); in DepthStencilbuffer() 595 mHeight = height; in DepthStencilbuffer()
|