HomeSort by relevance Sort by last modified time
    Searched refs:height (Results 1201 - 1225 of 9458) sorted by null

<<41424344454647484950>>

  /external/mesa3d/src/glx/
xfont.c 82 dump_bitmap(unsigned int width, unsigned int height, GLubyte * bitmap)
90 for (y = 0; y < height; y++) {
93 putchar((bitmap[width * (height - y - 1) + x / 8] & (1 << (7 - (x %
98 printf("0x%02x, ", bitmap[width * (height - y - 1) + x]);
109 and HEIGHT is the height in bits.
133 unsigned int width, unsigned int height,
141 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1);
143 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height);
151 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap)
296 unsigned int width, height, bm_width, bm_height; local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i915/
i915_tex_layout.c 160 GLuint height = mt->height0; local
171 width, height, depth);
173 stack_height += MAX2(2, height);
176 height = minify(height);
203 GLuint height = mt->height0; local
213 width, height, 1);
216 img_height = ALIGN(height, 4) / 4;
218 img_height = ALIGN(height, 2);
223 height = minify(height)
406 GLuint height = mt->height0; local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/intel/
intel_regions.c 170 GLuint width, GLuint height, GLuint pitch,
181 region->height = height;
195 GLuint cpp, GLuint width, GLuint height,
207 width, height, cpp,
212 region = intel_region_alloc_internal(screen, cpp, width, height,
241 GLuint width, GLuint height, GLuint pitch,
252 if (region->width != width || region->height != height ||
275 width, height, pitch, tiling, buffer)
    [all...]
  /external/mesa3d/src/mesa/drivers/x11/
xfonts.c 83 dump_bitmap(unsigned int width, unsigned int height, GLubyte * bitmap)
91 for (y = 0; y < height; y++) {
94 putchar((bitmap[width * (height - y - 1) + x / 8] & (1 << (7 - (x %
99 printf("0x%02x, ", bitmap[width * (height - y - 1) + x]);
110 and HEIGHT is the height in bits.
134 unsigned int width, unsigned int height,
142 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1);
144 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height);
152 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap)
299 unsigned int width, height, bm_width, bm_height; local
    [all...]
  /external/opencv3/apps/traincascade/
HOGfeatures.cpp 20 int cols = (_winSize.width + 1) * (_winSize.height + 1);
36 integralHist.push_back( Mat(winSize.height + 1, winSize.width + 1, hist[bin].type(), hist[bin].ptr<float>((int)idx)) );
38 Mat integralNorm(winSize.height + 1, winSize.width + 1, normSum.type(), normSum.ptr<float>((int)idx));
75 h = 2*t; //height of a block
78 for (y = 0; y <= winSize.height - h; y += blockStep.height)
87 for (y = 0; y <= winSize.height - h; y += blockStep.height)
96 for (y = 0; y <= winSize.height - h; y += blockStep.height)
    [all...]
  /external/skia/src/codec/
SkSampledCodec.cpp 70 get_scaled_dimension(size.height(), sampleSize));
102 int scaledSubsetHeight = info.height();
106 scaledSize.height());
109 scaledSize.height()), &codecOptions, options.fColorPtr, options.fColorCount);
156 int subsetHeight = nativeSize.height();
170 subsetHeight = get_scaled_dimension(subsetPtr->height(), nativeSampleSize);
173 subset.setXYWH(subsetX, 0, subsetWidth, nativeSize.height());
179 info.makeWH(nativeSize.width(), nativeSize.height()), &sampledOptions,
194 const int sampleY = subsetHeight / info.height();
198 if (get_scaled_dimension(subsetHeight, sampleY) != info.height()) {
    [all...]
  /external/skia/src/core/
SkBitmapCache.cpp 44 return SkIRect::MakeXYWH(origin.fX, origin.fY, bm.width(), bm.height());
53 return SkIRect::MakeWH(image->width(), image->height());
56 SkBitmapCacheDesc SkBitmapCacheDesc::Make(const SkBitmap& bm, int width, int height) {
60 desc.fHeight = height;
66 return Make(bm, bm.width(), bm.height());
69 SkBitmapCacheDesc SkBitmapCacheDesc::Make(const SkImage* image, int width, int height) {
73 desc.fHeight = height;
79 return Make(image, image->width(), image->height());
87 BitmapKey(uint32_t genID, int width, int height, const SkIRect& bounds)
90 , fHeight(height)
    [all...]
SkSpriteBlitter_ARGB32.cpp 35 void blitRect(int x, int y, int width, int height) override {
36 SkASSERT(width > 0 && height > 0);
48 } while (--height != 0);
120 void blitRect(int x, int y, int width, int height) override {
121 SkASSERT(width > 0 && height > 0);
145 } while (--height != 0);
166 void blitRect(int x, int y, int width, int height) override {
167 SkASSERT(width > 0 && height > 0);
190 } while (--height != 0);
212 void blitRect(int x, int y, int width, int height) override
    [all...]
  /external/toybox/kconfig/lxdialog/
checklist.c 60 int y, int x, int height)
76 y = y + height + 1;
79 if ((height < item_no) && (scroll + choice < item_no - 1)) {
95 static void print_buttons(WINDOW * dialog, int height, int width, int selected)
98 int y = height - 2;
111 int dialog_checklist(const char *title, const char *prompt, int height,
129 if (getmaxy(stdscr) < (height + 6))
138 y = (LINES - height) / 2;
140 draw_shadow(stdscr, y, x, height, width);
142 dialog = newwin(height, width, y, x)
    [all...]
  /frameworks/av/cmds/screenrecord/
Overlay.cpp 144 int height = mEglWindow.getHeight(); local
146 glViewport(0, 0, width, height);
164 mTextRenderer.setScreenSize(width, height);
178 mGlConsumer->setDefaultBufferSize(width, height);
221 int height = mEglWindow.getHeight(); local
224 100, 100, width-200, height-200);
227 0, 0, width, height);
234 100, 100, width-200, height-200);
297 int height = window.getHeight(); local
298 glViewport(0, 0, width, height);
332 int height = window.getHeight(); local
    [all...]
  /frameworks/av/media/libstagefright/codecs/avc/enc/test/
h264_enc_test.cpp 83 fprintf(stderr, "Usage %s <input yuv> <output file> <width> <height>"
86 fprintf(stderr, "Max height %d\n", kMaxHeight);
92 // Read height and width.
94 int32_t height;
96 height = atoi(argv[4]);
97 if (width > kMaxWidth || height > kMaxHeight || width <= 0 || height <= 0) {
98 fprintf(stderr, "Unsupported dimensions %dx%d\n", width, height);
102 if (width % 16 != 0 || height % 16 != 0) {
104 width, height);
    [all...]
  /external/opencv3/modules/objdetect/test/
test_cascadeandhog.cpp 288 validationFS << it->x << it->y << it->width << it->height;
309 float dist = min(imgSize.height, imgSize.width) * eps.dist;
311 float hDiff = imgSize.height * eps.s;
326 it2 >> r.x >> r.y >> r.width >> r.height;
338 Point2f cp1 = Point2f( cr->x + (float)cr->width/2.0f, cr->y + (float)cr->height/2.0f );
340 float minDist = (float)norm( Point(imgSize.width, imgSize.height) );
344 Point2f cp2 = Point2f( vr->x + (float)vr->width/2.0f, vr->y + (float)vr->height/2.0f );
360 (abs(cr->height - vr.height) > hDiff) )
663 int rawBlockSize = blockSize.width*blockSize.height;
1385 int height = rng.uniform(1, 100); local
    [all...]
  /external/opencv/cxcore/src/
cxlogic.cpp 66 for( ; size.height--; src1 += step1, src2 += step2, dst += step ) \
117 for( ; size.height--; src0 += step1, dst0 += step ) \
266 dy = size.height;
283 dy = CV_MAX_LOCAL_SIZE/(elem_size*size.height);
285 dy = MIN(dy,size.height);
309 for( y = 0; y < size.height; y += dy )
312 tsize.height = dy;
313 if( y + dy > size.height )
314 tsize.height = size.height - y
    [all...]
  /external/v8/benchmarks/
navier-stokes.js 93 x[i + (height+1) *rowSize] = x[i + height * rowSize];
96 for (var j = 1; i <= height; i++) {
103 x[i + (height + 1) * rowSize] = -x[i + height * rowSize];
106 for (var j = 1; j <= height; j++) {
113 x[i + (height + 1) * rowSize] = x[i + height * rowSize];
116 for (var j = 1; j <= height; j++) {
121 var maxEdge = (height + 1) * rowSize
320 this.height = function() { return height; } method in class:FluidField.Field
    [all...]
  /developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 46 * @param h The height of the view.
66 // minimum difference between view and camera height.
69 // Target view height
76 double ratio = (double) size.width / size.height;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /developers/build/prebuilts/gradle/BasicRenderScript/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 46 * @param h The height of the view.
66 // minimum difference between view and camera height.
69 // Target view height
76 double ratio = (double) size.width / size.height;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 46 * @param h The height of the view.
66 // minimum difference between view and camera height.
69 // Target view height
76 double ratio = (double) size.width / size.height;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /developers/samples/android/common/src/java/com/example/android/common/media/
CameraHelper.java 46 * @param h The height of the view.
66 // minimum difference between view and camera height.
69 // Target view height
76 double ratio = (double) size.width / size.height;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
CameraHelper.java 46 * @param h The height of the view.
66 // minimum difference between view and camera height.
69 // Target view height
76 double ratio = (double) size.width / size.height;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
CameraHelper.java 46 * @param h The height of the view.
66 // minimum difference between view and camera height.
69 // Target view height
76 double ratio = (double) size.width / size.height;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
CameraHelper.java 46 * @param h The height of the view.
66 // minimum difference between view and camera height.
69 // Target view height
76 double ratio = (double) size.width / size.height;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /external/autotest/client/site_tests/camera_V4L2/src/
media_v4l2_test.cc 22 "--height=[NUM] Picture height to capture\n"
40 { "height", required_argument, NULL, 'h' },
53 uint32_t height = 480; local
92 height = atoi(optarg);
117 width, height, (pixfmt >> 0) & 0xff, (pixfmt >> 8) & 0xff,
121 width, height, (pixfmt >> 0) & 0xff, (pixfmt >> 8) & 0xff,
132 if (!retcode && !device->InitDevice(width, height, pixfmt, fps))
  /external/chromium-trace/catapult/third_party/flot/
jquery.flot.symbol.js 39 var height = size * Math.sin(Math.PI / 3);
40 ctx.moveTo(x - size/2, y + height/2);
41 ctx.lineTo(x + size/2, y + height/2);
43 ctx.lineTo(x, y - height/2);
44 ctx.lineTo(x - size/2, y + height/2);
jquery.flot.symbol.min.js 7 (function($){function processRawData(plot,series,datapoints){var handlers={square:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(Math.PI)/2;ctx.rect(x-size,y-size,size+size,size+size)},diamond:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(Math.PI/2);ctx.moveTo(x-size,y);ctx.lineTo(x,y-size);ctx.lineTo(x+size,y);ctx.lineTo(x,y+size);ctx.lineTo(x-size,y)},triangle:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(2*Math.PI/Math.sin(Math.PI/3));var height=size*Math.sin(Math.PI/3);ctx.moveTo(x-size/2,y+height/2);ctx.lineTo(x+size/2,y+height/2);if(!shadow){ctx.lineTo(x,y-height/2);ctx.lineTo(x-size/2,y+height/2)}},cross:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(Math.PI)/2;ctx.moveTo(x-size, (…)
  /external/deqp/framework/platform/win32/
tcuWin32Window.cpp 40 Window::Window (HINSTANCE instance, int width, int height)
68 width, height,
77 setSize(width, height);
104 void Window::setSize (int width, int height)
111 rc.bottom = height;

Completed in 1925 milliseconds

<<41424344454647484950>>