| /device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/ |
| mm_jpeg_test.c | 65 int height; member in struct:__anon6123 105 int height; member in struct:__anon6124 248 int size = p_input->width * p_input->height; 257 p_obj->height = p_input->height; 285 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; 296 p_params->src_thumb_buf[i].offset.mp[0].scanline = p_input->height; 353 p_job_params->main_dim.src_dim.height = p_obj->height; 355 p_job_params->main_dim.dst_dim.height = p_obj->height [all...] |
| /external/autotest/client/deps/glbench/src/ |
| waffle_stuff.cc | 63 void WaffleInterface::GetSurfaceSize(GLint *width, GLint *height) { 68 *height = nw->null->height; 83 *height = h; 91 *height = h;
|
| /external/fio/ |
| printing.c | 10 gdouble width, height, xdpi, ydpi; member in struct:printing_parameters 21 print_params.height = gtk_print_context_get_height(context); 42 cairo_line_to(cr, print_params.width, print_params.height); 43 cairo_move_to(cr, 0.0, print_params.height); 48 y = print_params.height / 5.0;
|
| /external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
| SizeStrategy.java | 34 public Bitmap get(int width, int height, Bitmap.Config config) { 35 final int size = Util.getBitmapByteSize(width, height, config); 47 result.reconfigure(width, height, config); 79 public String logBitmap(int width, int height, Bitmap.Config config) { 80 int size = Util.getBitmapByteSize(width, height, config);
|
| /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/ |
| NewSlider.java | 90 int height = getHeight(); local 93 g.fillRect(border, border, width - border * 2, height - border * 2); 98 g.fillRect(Math.max(border, Math.min(maxKnobX, knobX)), 0, KNOB_WIDTH, height); local 105 g.drawString(label, width / 2 - labelWidth / 2, height / 2 + metrics.getAscent() / 2); 125 size.height = 26;
|
| /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
| Sprite.java | 28 * size given as width and height. The position is relative to the origin of the coordinate system specified via
42 float width, height;
field in class:Sprite 54 /** Creates a sprite with width, height, and texture region equal to the size of the texture. */
59 /** Creates a sprite with width, height, and texture region equal to the specified size. The texture region's upper left corner
62 * @param srcHeight The height of the texture region. May be negative to flip the sprite when drawn. */
67 /** Creates a sprite with width, height, and texture region equal to the specified size.
69 * @param srcHeight The height of the texture region. May be negative to flip the sprite when drawn. */
76 setOrigin(width / 2, height / 2);
86 setOrigin(width / 2, height / 2);
89 /** Creates a sprite with width, height, and texture region equal to the specified size, relative to specified sprite's texture [all...] |
| /external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
| MipMapGenerator.java | 83 throw new GdxRuntimeException("texture width and height must be square when using mipmapping.");
85 int height = pixmap.getHeight() / 2;
local 89 while (width > 0 && height > 0) {
90 Pixmap tmp = new Pixmap(width, height, pixmap.getFormat());
91 tmp.drawPixmap(pixmap, 0, 0, pixmap.getWidth(), pixmap.getHeight(), 0, 0, width, height);
99 height = pixmap.getHeight() / 2;
|
| /external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
| xm_api.h | 224 int height ); 252 unsigned int width, unsigned int height); 351 unsigned width, height; member in struct:xmesa_buffer 367 GLuint *width, GLuint *height); 387 return b->height;
|
| /external/mesa3d/src/gallium/tests/graw/ |
| occlusion-query.c | 10 static int height = 300; variable 210 height = h; 212 graw_util_viewport(&info, 0, 0, width, height, 30, 1000); 220 if (!graw_util_create_window(&info, width, height, 1, TRUE)) 225 graw_util_viewport(&info, 0, 0, width, height, -1.0, 1.0);
|
| /external/mesa3d/src/mesa/swrast/ |
| swrast.h | 130 GLsizei width, GLsizei height, 138 GLsizei width, GLsizei height, 143 GLint srcX, GLint srcY, GLsizei width, GLsizei height, 149 GLsizei width, GLsizei height, 280 GLsizei height, GLsizei depth);
|
| /external/opencv/cv/src/ |
| cvutils.cpp | 67 if( (mat->width != 1 && mat->height != 1) || !CV_IS_MAT_CONT(mat->type)) 75 mat->width*mat->height, (CvSeq*)contour_header, block )); 163 for( i = 0; i < dstroi.height; i++, idst += dststep ) 172 if( i >= top && i < top + srcroi.height - 1 ) 182 for( i = 0; i < dstroi.height; i++, dst += dststep ) 191 if( i >= top && i < top + srcroi.height - 1 ) 257 for( i = 0; i < srcroi.height; i++, isrc += srcstep, idst += dststep ) 273 isrc -= srcroi.height*srcstep; 274 idst -= (top - srcroi.height)*dststep; 279 for( i = 0; i < srcroi.height; i++, src += srcstep, dst += dststep [all...] |
| /external/opencv3/modules/calib3d/src/ |
| checkchessboard.cpp | 69 float box_size = MAX(box.size.width, box.size.height); 75 float aspect_ratio = box.size.width/MAX(box.size.height, 1); 164 const size_t min_quads_count = size.width*size.height/2; 187 const int black_count = cvRound(ceil(size.width/2.0)*ceil(size.height/2.0)); 188 const int white_count = cvRound(floor(size.width/2.0)*floor(size.height/2.0));
|
| /external/opencv3/modules/calib3d/test/ |
| test_chessboardgenerator.cpp | 69 return Size(patternSize.width-1, patternSize.height-1); 116 for(int j = 0; j < patternSize.height; ++j) 140 for(int j = 0; j < patternSize.height - 1; ++j) 203 float cbHalfHeight = cbHalfWidth * patternSize.height / patternSize.width; 206 float cbHalfHeightEx = cbHalfHeight * (patternSize.height + 1) / patternSize.height; 229 cbHalfHeight = cbHalfWidth * patternSize.height / patternSize.width; 232 cbHalfHeightEx = cbHalfHeight * (patternSize.height + 1) / patternSize.height; 237 float sqHeight = 2 * cbHalfHeight/patternSize.height; [all...] |
| test_chesscorners_timing.cpp | 103 pattern_size.height = cvReadInt((CvFileNode*)cvGetSeqElem(board_list->data.seq,idx*4 + 3), -1); 126 gray = cvCreateImage( cvSize( img.width, img.height ), IPL_DEPTH_8U, 1 ); 127 thresh = cvCreateImage( cvSize( img.width, img.height ), IPL_DEPTH_8U, 1 ); 131 count0 = pattern_size.width*pattern_size.height; 160 int num_pixels = gray->width*gray->height;
|
| /external/opencv3/modules/imgproc/perf/ |
| perf_resize.cpp | 41 MatInfo_Size_Size_t(CV_8UC1, sz720p, Size(120 * sz720p.width / sz720p.height, 120)),//face detection min_face_size = 20% 81 from.height = (from.height/scale)*scale; 84 cv::Mat dst(from.height / scale, from.width / scale, matType); 112 Size to(cvRound(from.width * scale), cvRound(from.height * scale));
|
| /external/opencv3/modules/videoio/src/ |
| cap_ffmpeg.cpp | 185 int step=0, width=0, height=0, cn=0; local 188 !icvRetrieveFrame_FFMPEG_p(ffmpegCapture, &data, &step, &width, &height, &cn)) 190 cvInitImageHeader(&frame, cvSize(width, height), 8, cn); 241 image->widthStep, image->width, image->height, image->nChannels, image->origin) !=0; 249 ffmpegWriter = icvCreateVideoWriter_FFMPEG_p( filename, fourcc, fps, frameSize.width, frameSize.height, isColor );
|
| /external/pdfium/xfa/src/fxbarcode/common/ |
| BC_CommonBitMatrix.cpp | 40 void CBC_CommonBitMatrix::Init(int32_t width, int32_t height) {
42 m_height = height;
82 int32_t height,
88 if (height < 1 || width < 1) {
93 int32_t bottom = top + height;
|
| /external/pdfium/xfa/src/fxbarcode/oned/ |
| BC_OneDReader.cpp | 49 int32_t height = image->GetHeight();
local 51 int32_t middle = height >> 1;
53 int32_t rowStep = std::max(1, height >> (tryHarder ? 8 : 5));
56 maxLines = height;
66 if (rowNumber < 0 || rowNumber >= height) {
|
| /external/skia/gm/ |
| imagetoyuvplanes.cpp | 15 static SkImage* create_image(GrContext* context, int width, int height) { 17 SkImageInfo info = SkImageInfo::MakeN32Premul(width, height); 30 SkScalar r = (width + height) / 4.f; 68 SkScalar y = rgbImage->height() + 2 * kPad; 104 y += kPad + yuvBmps[i].height();
|
| /external/skia/samplecode/ |
| SampleDitherBitmap.cpp | 69 for (int y = 0; y < bm.height(); y++) { 115 canvas->drawBitmap(bitmap, 0, SkIntToScalar(bm.height() + 10), &paint); 122 canvas->drawBitmap(bitmap, x, SkIntToScalar(bm.height() + 10), &paint); 129 canvas->translate(0, SkIntToScalar(fBM8.height() *3)); 132 canvas->translate(0, SkIntToScalar(fBM8.height() *3));
|
| /external/skia/src/android/ |
| SkBitmapRegionCodec.cpp | 15 : INHERITED(codec->getInfo().width(), codec->getInfo().height()) 55 SkImageInfo decodeInfo = SkImageInfo::Make(scaledSize.width(), scaledSize.height(), 82 int scaledOutHeight = scaledSize.height(); 88 const int extraY = SkTMax(0, desiredSubset.height() - outY - subset.height());
|
| /external/skia/src/gpu/batches/ |
| GrAADistanceFieldPathRenderer.cpp | 105 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); 237 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); 349 int height = devPathBounds.height(); local 353 devPathBounds.fBottom = intPad + height; 367 devPathBounds.height()))) { 392 height = devPathBounds.height(); 394 SkAutoSMalloc<1024> dfStorage(width * height * sizeof(unsigned char)); 399 dst.width(), dst.height(), dst.rowBytes()) 458 SkScalar height = pathData->fBounds.height(); local [all...] |
| /external/skia/src/images/ |
| SkImageDecoder_libwebp.cpp | 54 static bool webp_parse_header(SkStream* stream, int* width, int* height, int* alpha) { 76 *height = features.height; 81 int64_t size = sk_64_mul(*width, *height); 118 bool setDecodeConfig(SkBitmap* decodedBitmap, int width, int height); 158 SkDEBUGF(("libwebp error %s [%d %d]", msg, bm.width(), bm.height())); 236 int width, int height, bool premultiply) { 252 if (width != decodedBitmap->width() || height != decodedBitmap->height()) { 255 config->options.scaled_height = decodedBitmap->height(); 536 int width, height, hasAlpha; local 546 int width, height, hasAlpha; local [all...] |
| /external/skia/tests/ |
| VkUploadPixelsTests.cpp | 21 void fill_pixel_data(int width, int height, GrColor* data) { 24 for (int j = 0; j < height; ++j) { 27 unsigned int green = (unsigned int)(256.f*(j / (float)height)); 37 int height) { 40 for (int j = 0; j < height; ++j) {
|
| YUVTest.cpp | 57 size_t totalBytes = info.fYWidthBytes * info.fYSize.height() + 58 info.fUWidthBytes * info.fUSize.height() + 59 info.fVWidthBytes * info.fVSize.height(); 63 planes[1] = SkTAddOffset<void>(planes[0], info.fYWidthBytes * info.fYSize.height()); 64 planes[2] = SkTAddOffset<void>(planes[1], info.fUWidthBytes * info.fUSize.height());
|