/external/libvncserver/test/ |
copyrecttest.c | 11 for(i=0;i<server->width;i++) 13 server->frameBuffer[(j*server->width+i)*4+0]=i&0xff; 14 server->frameBuffer[(j*server->width+i)*4+1]=j&0xff; 15 server->frameBuffer[(j*server->width+i)*4+2]=(i*j)&0xff; 21 int width=400,height=300,w=20,x,y; local 24 rfbScreenInfoPtr server=rfbGetScreen(&argc,argv,width,height,8,3,4); 27 server->frameBuffer=(char*)malloc(width*height*4); 36 rfbMarkRectAsModified(server,0,0,width,height); 45 x=width*(0.5+cos(phi)*r); 47 if(x>=0 && y>=0 && x+w<=width && y+w<=height) [all...] |
/external/libvpx/libvpx/test/ |
comp_avg_pred_test.cc | 31 void reference_pred(const uint8_t *pred, const Buffer<uint8_t> &ref, int width, 34 for (int x = 0; x < width; ++x) { 35 avg[y * width + x] = avg_with_rounding( 36 pred[y * width + x], ref.TopLeftPixel()[y * ref.stride() + x]); 53 void fill(ACMRandom *r, uint8_t *a, const int width, const int height) { 55 for (int x = 0; x < width; ++x) { 56 a[x + width * y] = r->Rand8(); 75 // The sse2 special-cases when ref width == stride, so make sure to test 78 const int width = 1 << width_pow; local 80 // Only the reference buffer may have a stride not equal to width 98 const int width = 64; local 127 const int width = 1 << width_pow; local [all...] |
/external/libvterm/src/ |
unicode.c | 16 * In fixed-width output devices, Latin characters all occupy a single 17 * "cell" position of equal width, whereas ideographic CJK characters 28 * defines a character-cell width via the definition of the East Asian 29 * FullWidth (F), Wide (W), Half-width (H), and Narrow (Na) classes. 30 * In all these cases, there is no ambiguity about which width a 32 * class, the width choice depends purely on a preference of backward 34 * Choosing single-width for these characters is easy to justify as 36 * displaying these characters as double-width comes from historic 38 * single-width and 16-bit ones double-width, even for Greek 219 int w, width = 0; local 310 int w, width = 0; local [all...] |
/external/libyuv/files/unit_test/ |
unit_test.cc | 25 DEFINE_int32(libyuv_width, 0, "width of test image."); 54 const char* width = getenv("LIBYUV_WIDTH"); local 55 if (width) { 56 benchmark_width_ = atoi(width); // NOLINT 113 const char* width = getenv("LIBYUV_WIDTH"); local 114 if (width) { 115 benchmark_width_ = atoi(width); // NOLINT 172 const char* width = getenv("LIBYUV_WIDTH"); local 173 if (width) { 174 benchmark_width_ = atoi(width); // NOLIN 231 const char* width = getenv("LIBYUV_WIDTH"); local 290 const char* width = getenv("LIBYUV_WIDTH"); local 349 const char* width = getenv("LIBYUV_WIDTH"); local [all...] |
/external/mesa3d/src/egl/wayland/wayland-egl/ |
wayland-egl-priv.h | 20 int width; member in struct:wl_egl_window
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_linear.h | 44 /** Block width in pixels */ 45 unsigned width; member in struct:u_linear_format_block 82 * @tile_width the width of the tile in pixels
|
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_transfer.h | 12 uint32_t width; member in struct:nv50_m2mf_rect
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
native_modeset.h | 41 int width, height; member in struct:native_mode 72 uint width, uint height);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
image.h | 42 VGint width, height; member in struct:vg_image 53 VGint width, VGint height); 57 VGint x, VGint y, VGint width, VGint height); 64 VGint width, VGint height); 71 VGint width, VGint height); 75 VGint width, VGint height); 79 VGint width, VGint height, 86 VGint width, VGint height); 89 VGint width, VGint height); 102 VGint width, VGint height) [all...] |
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
test_context.c | 34 const unsigned int width = 16, height = 16; local 49 width, 72 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, NULL) == XvMCBadContext); 75 assert(XvMCCreateContext(display, -1, surface_type_id, width, height, XVMC_DIRECT, &context) == XvBadPort); 77 assert(XvMCCreateContext(display, port_num, -1, width, height, XVMC_DIRECT, &context) == BadMatch); 79 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, -1, &context) == BadValue); 80 /* Test huge width */ 83 assert(XvMCCreateContext(display, port_num, surface_type_id, width, 16384, XVMC_DIRECT, &context) == BadValue); 84 /* Test huge width & height */ 87 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success) [all...] |
test_surface.c | 34 const unsigned int width = 16, height = 16; local 50 width, 71 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success); 85 /* Test width & height assigned and correct */ 86 assert(surface.width == width && surface.height == height);
|
/external/mesa3d/src/glsl/ |
ir_set_program_inouts.cpp | 137 int width = 1; local 141 width = deref_var->type->fields.array->matrix_columns; 144 mark(this->prog, var, index->value.i[0] * width, width,
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_tex_layout.c | 52 * | | alignment unit width ("i") | 146 GLuint width = mt->width0; local 156 /* May need to adjust width to accomodate the placement of 159 * 2nd mipmap out past the width of its parent. 182 intel_miptree_set_level_info(mt, level, x, y, width, 197 x += ALIGN(width, mt->align_w); 203 width = minify(width);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_surface.h | 45 unsigned width, height; member in struct:nouveau_surface 52 unsigned width, unsigned height);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
VideoQuality.java | 21 int width; field in class:VideoQuality
|
/external/pdfium/core/fxcodec/jbig2/ |
JBig2_Image.h | 29 int32_t width() const { return m_nWidth; } function in class:CJBig2_Image
|
/external/pdfium/fpdfsdk/ |
fpdfedittext.cpp | 78 int width = pFont->GetGlyphWidth(glyphIndex); local 79 widthsArray->AddNew<CPDF_Number>(width);
|
/external/pdfium/testing/libfuzzer/ |
pdf_codec_fax_fuzzer.cc | 20 int width = GetInteger(data); local 33 fax_module.CreateDecoder(data, size, width, height, K, EndOfLine,
|
/external/pdfium/third_party/agg23/ |
agg_conv_stroke.h | 60 void width(FX_FLOAT w) function in struct:agg::conv_stroke 62 base_type::generator().width(w); 80 FX_FLOAT width() const function in struct:agg::conv_stroke 82 return base_type::generator().width();
|
/external/pdfium/third_party/freetype/src/raster/ |
ftrend1.c | 108 FT_UInt width, height, pitch; local 151 /* If either `width' or `height' round to 0, try */ 156 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); 157 if ( width == 0 ) 162 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); 174 if ( width > FT_USHORT_MAX || height > FT_USHORT_MAX ) 190 pitch = ( ( width + 15 ) >> 4 ) << 1; 193 bitmap->width = width;
|
/external/pdfium/xfa/fxgraphics/ |
cfx_graphics.cpp | 31 int32_t width; member in struct:__anon28733::FX_HATCHDATA 229 return CFX_Rect(r.left, r.top, r.Width(), r.Height()).As<FX_FLOAT>(); 330 source->StretchTo((int32_t)rect.Width(), (int32_t)rect.Height()); 331 CFX_Matrix m2(rect.Width(), 0.0, 0.0, rect.Height(), rect.left, rect.top); 341 FXSYS_round(r.Width()), FXSYS_round(r.Height()), 351 int32_t width = bitmap->GetWidth(); 354 bmp.Create(width, height, FXDIB_Argb); 361 mask.Create(data.width, data.height, FXDIB_1bppMask); 389 int32_t width = bitmap->GetWidth(); 396 bmp.Create(width, height, FXDIB_Argb) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
Texture.java | 28 public int width; field in class:Texture 40 width = 0;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowFrameLayout.java | 26 int width = MeasureSpec.getSize(widthMeasureSpec); local 29 layout(right, top, right + width, top + height);
|
/external/skia/samplecode/ |
SampleTextBox.cpp | 95 SkScalar width = this->width() / 3; local 96 drawTest(canvas, width, this->height(), SK_ColorBLACK, SK_ColorWHITE); 97 canvas->translate(width, 0); 98 drawTest(canvas, width, this->height(), SK_ColorWHITE, SK_ColorBLACK); 99 canvas->translate(width, 0); 100 drawTest(canvas, width, this->height()/2, SK_ColorGRAY, SK_ColorWHITE); 102 drawTest(canvas, width, this->height()/2, SK_ColorGRAY, SK_ColorBLACK);
|
/external/skia/src/core/ |
SkSpecialImage.h | 53 int width() const { return fSubset.width(); } function in class:SkSpecialImage
|