| /external/mesa3d/src/mesa/main/ |
| teximage.c | 1011 _mesa_get_tex_max_num_levels(GLenum target, GLsizei width, GLsizei height, 1023 ASSERT(width == height); 1028 size = MAX2(width, height); 1031 size = MAX3(width, height, depth); 1051 make_null_texture(GLint width, GLint height, GLint depth, GLenum format) 1054 const GLint numPixels = width * height * depth; 1078 for (i = 0; i < height; i++) { 1110 img->Height = 0; 1128 * \param height image height [all...] |
| image.c | 87 * \param height the image height 101 GLsizei width, GLsizei height, 126 rows_per_image = height; 175 topOfImage = bytes_per_row * (height - 1); 202 * \param height the image height 217 GLsizei width, GLsizei height, 223 addr += _mesa_image_offset(dimensions, packing, width, height, 245 GLsizei width, GLsizei height, [all...] |
| /device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/ |
| mm_jpegdec_test.c | 66 int height; member in struct:__anon4076 74 int height; member in struct:__anon4077 233 size_t size = (size_t)(CEILING16(p_input->width) * CEILING16(p_input->height)); 240 p_obj->height = p_input->height; 275 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); 277 p_params->dest_buf[0].offset.mp[1].scanline = CEILING16(p_input->height); 299 p_job_params->main_dim.src_dim.height = p_obj->height; 301 p_job_params->main_dim.dst_dim.height = p_obj->height [all...] |
| /device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/ |
| mm_jpegdec_test.c | 66 int height; member in struct:__anon4987 74 int height; member in struct:__anon4988 233 size_t size = (size_t)(CEILING16(p_input->width) * CEILING16(p_input->height)); 240 p_obj->height = p_input->height; 275 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); 277 p_params->dest_buf[0].offset.mp[1].scanline = CEILING16(p_input->height); 299 p_job_params->main_dim.src_dim.height = p_obj->height; 301 p_job_params->main_dim.dst_dim.height = p_obj->height [all...] |
| /device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/ |
| mm_jpegdec_test.c | 65 int height; member in struct:__anon6125 73 int height; member in struct:__anon6126 232 int size = CEILING16(p_input->width) * CEILING16(p_input->height); 239 p_obj->height = p_input->height; 273 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); 275 p_params->dest_buf[0].offset.mp[1].scanline = CEILING16(p_input->height); 297 p_job_params->main_dim.src_dim.height = p_obj->height; 299 p_job_params->main_dim.dst_dim.height = p_obj->height [all...] |
| /external/deqp/framework/opengl/simplereference/ |
| sglrContext.hpp | 50 virtual void viewport (int x, int y, int width, int height) = DE_NULL; 66 virtual void texImage2D (deUint32 target, int level, deUint32 internalFormat, int width, int height, int border, deUint32 format, deUint32 type, const void* data) = DE_NULL; 67 virtual void texImage3D (deUint32 target, int level, deUint32 internalFormat, int width, int height, int depth, int border, deUint32 format, deUint32 type, const void* data) = DE_NULL; 69 virtual void texSubImage2D (deUint32 target, int level, int xoffset, int yoffset, int width, int height, deUint32 format, deUint32 type, const void* data) = DE_NULL; 70 virtual void texSubImage3D (deUint32 target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, deUint32 format, deUint32 type, const void* data) = DE_NULL; 72 virtual void copyTexImage2D (deUint32 target, int level, deUint32 internalFormat, int x, int y, int width, int height, int border) = DE_NULL; 74 virtual void copyTexSubImage2D (deUint32 target, int level, int xoffset, int yoffset, int x, int y, int width, int height) = DE_NULL; 75 virtual void copyTexSubImage3D (deUint32 target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) = DE_NULL; 77 virtual void texStorage2D (deUint32 target, int levels, deUint32 internalFormat, int width, int height) = DE_NULL; 78 virtual void texStorage3D (deUint32 target, int levels, deUint32 internalFormat, int width, int height, int depth) = DE_NULL [all...] |
| /external/deqp/framework/platform/win32/ |
| tcuWin32EGLNativeDisplayFactory.cpp | 89 virtual eglu::NativePixmap* createPixmap (eglu::NativeDisplay* nativeDisplay, int width, int height) const; 90 virtual eglu::NativePixmap* createPixmap (eglu::NativeDisplay* nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, int width, int height) const; 96 NativePixmap (NativeDisplay* nativeDisplay, int width, int height, int bitDepth); 148 NativePixmap::NativePixmap (NativeDisplay* nativeDisplay, int width, int height, int bitDepth) 162 bitmapInfo.bmiHeader.biHeight = height; 191 eglu::NativePixmap* NativePixmapFactory::createPixmap (eglu::NativeDisplay* nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, int width, int height) const 210 return new NativePixmap(dynamic_cast<NativeDisplay*>(nativeDisplay), width, height, bitSum); 213 eglu::NativePixmap* NativePixmapFactory::createPixmap (eglu::NativeDisplay* nativeDisplay, int width, int height) const 216 return new NativePixmap(dynamic_cast<NativeDisplay*>(nativeDisplay), width, height, defaultDepth); 238 params.height == eglu::WindowParams::SIZE_DONT_CARE ? DEFAULT_SURFACE_HEIGHT : params.height 311 const int height = rect.bottom - rect.top; local 347 dst->setStorage(TextureFormat(TextureFormat::BGRA, TextureFormat::UNORM_INT8), width, height); local [all...] |
| /external/opencv3/modules/videoio/src/ |
| cap_avfoundation.mm | 111 int height; 237 height = 0; 363 if (width > 0 && height > 0) { 366 [NSNumber numberWithDouble:1.0*height], (id)kCVPixelBufferHeightKey, 390 if (height == 0 ) height = 360; 420 [NSNumber numberWithDouble:1.0*height], (id)kCVPixelBufferHeightKey, 492 int w=(int)s1.width, h=(int)s1.height; 533 height = value; 698 size_t height = CVPixelBufferGetHeight(pixels) [all...] |
| /external/pdfium/xfa/src/fxfa/src/app/ |
| xfa_ffcheckbutton.cpp | 98 rtWidget.height);
104 fCapReserve = rtWidget.height - fCheckSize;
126 m_rtCaption.height = fCapReserve;
128 m_rtUI.height -= fCapReserve;
139 m_rtCaption.height = fCapReserve;
141 m_rtUI.height -= fCapReserve;
155 m_rtUI.top += (m_rtUI.height - fCheckSize) / 2;
160 m_rtUI.height = fCheckSize;
180 if (m_rtCaption.height < 0) {
181 m_rtCaption.top += m_rtCaption.height;
[all...] |
| /external/skia/fuzz/ |
| fuzz.cpp | 136 decodeInfo = decodeInfo.makeWH(size.width(), size.height()); 157 decodeInfo.width(), decodeInfo.height()); 190 uint32_t height = decodeInfo.height(); local 197 codec->getScanlines(dst, height, rowBytes); 200 for (int y = 0; y < decodeInfo.height(); y++) { 215 const int height = decodeInfo.height(); local 219 const int numStripes = (height + stripeHeight - 1) / stripeHeight; 234 const int linesToSkip = SkTMin(stripeHeight, height - i * stripeHeight) [all...] |
| /external/skia/src/codec/ |
| SkBmpRLECodec.cpp | 59 if (rows != dstInfo.height()) { 60 // We set rowsDecoded equal to the height because the background has already 63 *rowsDecoded = dstInfo.height(); 206 uint32_t row = this->getDstRow(y, dstInfo.height()); 239 uint32_t row = this->getDstRow(y, dstInfo.height()); 309 int height = info.height(); local 312 SkImageInfo dstInfo = info.makeWH(get_scaled_dimension(width, fSampleX), height); 323 // Adjust the height and the dst if the previous call to decodeRows() left us 325 if (height > fLinesToSkip) [all...] |
| /external/skia/src/utils/ |
| SkTextureCompressor_LATC.cpp | 88 int width, int height, size_t rowBytes, 91 if (0 == width || 0 == height || (width % 4) != 0 || (height % 4) != 0) { 96 int blocksY = height >> 2; 384 int width, int height, size_t rowBytes) { 386 if (width < 0 || ((width % 4) != 0) || height < 0 || ((height % 4) != 0)) { 391 for (int y = 0; y < height; y += 4) { 475 bool CompressA8ToLATC(uint8_t* dst, const uint8_t* src, int width, int height, size_t rowBytes) { 477 return compress_4x4_a8_latc(dst, src, width, height, rowBytes) [all...] |
| SkTextureCompressor_R11EAC.cpp | 278 int width, int height, size_t rowBytes, 281 if (0 == width || 0 == height || (width % 4) != 0 || (height % 4) != 0) { 286 int blocksY = height >> 2; 465 int width, int height, size_t rowBytes) { 467 if (0 == width || 0 == height || (width % 4) != 0 || (height % 4) != 0) { 472 const int blocksY = height >> 2; 622 bool CompressA8ToR11EAC(uint8_t* dst, const uint8_t* src, int width, int height, size_t rowBytes) { 626 return compress_4x4_a8_to_64bit(dst, src, width, height, rowBytes, compress_r11eac_block) [all...] |
| /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
| mb_motion_comp.cpp | 140 int height, width, pred_width; local 172 height = video->height; 251 video->mblock->pred_block, width, height, 272 ypred >= 0 && ypred <= ((height << 1) - (2*B_SIZE))) 285 pred, width, height, round1, pred_width); 308 ypred >= 0 && ypred <= ((height << 1) - (2*B_SIZE))) 320 pred, width, height, round1, pred_width); 344 ypred >= 0 && ypred <= ((height << 1) - (2*B_SIZE))) 356 pred, width, height, round1, pred_width) [all...] |
| /frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
| RoundRectangle.java | 35 public double height; field in class:RoundRectangle 58 * the height of each corner in the following order: upper-left, upper-right, lower-right, 60 * is that the width and height of a corner correspond to the total width and height of the 63 public RoundRectangle(float x, float y, float width, float height, float[] cornerDimensions) { 72 this.height = height; 91 scale = Math.min(scale, height / leftCornerHeight); 92 scale = Math.min(scale, height / rightCornerHeight); 121 return height; [all...] |
| /hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/ |
| mm_jpegdec_test.c | 74 int height; member in struct:__anon33063 82 int height; member in struct:__anon33064 241 size_t size = (size_t)(CEILING16(p_input->width) * CEILING16(p_input->height)); 248 p_obj->height = p_input->height; 283 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); 285 p_params->dest_buf[0].offset.mp[1].scanline = CEILING16(p_input->height); 307 p_job_params->main_dim.src_dim.height = p_obj->height; 309 p_job_params->main_dim.dst_dim.height = p_obj->height [all...] |
| /packages/apps/Camera2/src/com/android/camera/ |
| TextureViewHelper.java | 106 int height = bottom - top; local 108 if (mWidth != width || mHeight != height || mOrientation != rotation) { 110 mHeight = height; 205 float previewHeight = previewRect.height(); 279 RectF rotatedRect = new RectF(normalRect.width() / 2 - normalRect.height() / 2, 280 normalRect.height() / 2 - normalRect.width() / 2, 281 normalRect.width() / 2 + normalRect.height() / 2, 282 normalRect.height() / 2 + normalRect.width() / 2); 314 * Updates the transform matrix based current width and height of 419 int height = (int) textureArea.height() / downsample [all...] |
| /packages/apps/Gallery/src/com/android/camera/ |
| HighlightView.java | 91 float height = mDrawRect.height(); local 93 mDrawRect.top + (height / 2), 111 int height = mResizeDrawableDiagonal.getIntrinsicHeight(); local 118 + (mDrawRect.height() / 2) - d - height / 2; 249 dy * (mCropRect.height() / r.height())); 261 float yDelta = dy * (mCropRect.height() / r.height()); [all...] |
| /external/opencv/cv/src/ |
| cvtemplmatch.cpp | 115 blocksize.height = cvRound(templ->rows*block_scale); 116 blocksize.height = MAX( blocksize.height, min_block_size - templ->rows + 1 ); 117 blocksize.height = MIN( blocksize.height, corr->rows ); 122 dftsize.height = cvGetOptimalDFTSize(blocksize.height + templ->rows - 1); 123 if( dftsize.width <= 0 || dftsize.height <= 0 ) 129 blocksize.height = dftsize.height - templ->rows + 1 [all...] |
| mycvHaarDetectObjects.cpp | 223 if( r.width < 0 || r.height < 0 || r.y < 0 || 227 (r.x < 0 || r.y + r.height > orig_window_size.height)) 229 (tilted && (r.x - r.height < 0 || 230 r.y + r.width + r.height > orig_window_size.height))) 306 feature->rect[2].r.height == 0 ) 331 (orig_window_size.height-icv_object_win_border*2))); 359 //ipp_features[k].y = orig_window_size.height - ipp_features[k].y - ipp_features[k].height; [all...] |
| /external/opencv3/modules/imgcodecs/test/ |
| test_drawing.cpp | 111 polyline[2] = Point(imgSize.width, imgSize.height); 112 polyline[3] = Point(0, imgSize.height); 118 if( clipLine(Rect(0,0,imgSize.width,imgSize.height), p1, p2) && clipLine(imgSize, p1, p2) ) 121 p2 = Point(3,imgSize.height+1000); 122 if( clipLine(Rect(0,0,imgSize.width,imgSize.height), p1, p2) && clipLine(imgSize, p1, p2) ) 126 if( clipLine(Rect(0,0,imgSize.width,imgSize.height), p1, p2) && clipLine(imgSize, p1, p2) ) 130 if( clipLine(Rect(0,0,imgSize.width,imgSize.height), p1, p2) && clipLine(imgSize, p1, p2) ) 175 Point textOrg((img.cols - textSize.width)/2, (img.rows + textSize.height)/2); 176 rectangle(img, textOrg + Point(0, baseline), textOrg + Point(textSize.width, -textSize.height), Scalar(0,0,255)); 186 textOrg = Point(5,5)+Point(0,textSize.height+dist) [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
| NinePatchedImage.java | 100 return mBaseImageData.height; 253 int height = mBaseImageData.height; local 265 if (!ensureHorizontalPixel(x, height - 1, mHorizontalContentPixels)) { 270 for (int y = 0; y < height; y++) { 288 mVerticalPatchPixels = initArray(new int[mBaseImageData.height]); 293 mVerticalContentPixels = initArray(new int[mBaseImageData.height]); 316 ^ (x == mBaseImageData.width - 1) ^ (y == mBaseImageData.height - 1); 330 } else if (y == mBaseImageData.height - 1) { 351 } else if (y == mBaseImageData.height - 1) 538 final int height = image.height; local [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/draw/ |
| vktDrawImageObjectUtil.cpp | 45 int height, 59 depthPitch = rowPitch * height; 71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) 82 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); 85 for (int r = 0; r < height; ++r) 97 int height, 111 depthPitch = rowPitch * height; 123 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) 132 vk::VkDeviceSize offsetDepthDst = d * (pixelSize * width * height); 136 for (int r = 0; r < height; ++r [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
| vktDynamicStateImageObjectUtil.cpp | 45 int height, 59 depthPitch = rowPitch * height; 71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) 82 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); 85 for (int r = 0; r < height; ++r) 97 int height, 111 depthPitch = rowPitch * height; 123 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) 132 vk::VkDeviceSize offsetDepthDst = d * (pixelSize * width * height); 136 for (int r = 0; r < height; ++r [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
| ProjectionActivity.java | 120 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 121 Log.i(TAG, "onSurfaceTextureAvailable " + "w: " + width + " h: " + height); 124 mHeight = height; 150 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 152 + height); 154 mHeight = height;
|