/external/mesa3d/src/mesa/swrast/ |
s_lines.c | 65 const GLint width = (GLint) CLAMP(ctx->Line.Width, local 72 if (width & 1) 73 start = width / 2; 75 start = width / 2 - 1; 81 for (w = 0; w < width; w++) { 97 for (w = 0; w < width; w++) { 117 /* Simple RGBA index line (no stipple, width=1, no Z, no fog, no tex)*/ 133 if (ctx->Line.Width > 1.0) { \ 152 if (ctx->Line.Width > 1.0) { [all...] |
/external/pdfium/fpdfsdk/src/pdfwindow/ |
PWL_Signature.cpp | 36 (int32_t)rcClient.Width(), 53 fHScale = rcClient.Width() / fImageW; 119 if (rcClient.Width() >= rcClient.Height()) { 120 rcText.right = rcText.left + rcClient.Width() / 2.0f; 121 rcDescription.left = rcDescription.right - rcClient.Width() / 2.0f;
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
image_util_numpy_impl.py | 19 def Width(image): 38 metadata['size'] = (Width(image), Height(image)) 45 def FromRGBPixels(width, height, pixels, bpp): 47 img.resize((height, width, bpp)) 67 width, height, pixels, meta = png.Reader(bytes=png_data).read_flat() 68 return FromRGBPixels(width, height, pixels, 4 if meta['alpha'] else 3) 106 width = max(Width(image1), Width(image2)) 108 self_image = np.zeros((width, height, image1.shape[2]), np.uint8 [all...] |
image_util_bitmap_impl.py | 13 def Width(bitmap): 14 return bitmap.width 28 def FromRGBPixels(width, height, pixels, bpp): 29 return _bitmap.Bitmap(bpp, width, height, pixels) 46 def Crop(bitmap, left, top, width, height): 47 return bitmap.Crop(left, top, width, height)
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tex/ |
d3d11tex.cpp | 55 texd.Width = 32; 92 virtual void draw(ID3D11DeviceContext* ctx, ID3D11RenderTargetView* rtv, unsigned width, unsigned height, double time) 96 vp.Width = (float)width;
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
small_glyph_metrics.cc | 34 int32_t SmallGlyphMetrics::Width() { 72 int32_t SmallGlyphMetrics::Builder::Width() { 76 void SmallGlyphMetrics::Builder::SetWidth(byte_t width) { 77 InternalWriteData()->WriteByte(Offset::kWidth, width);
|
/external/skia/src/images/ |
SkMovie_gif.cpp | 122 int transparent, int width) 124 for (; width > 0; width--, src++, dst++) { 143 src += imageDesc.Width; 147 src += imageDesc.Width * ((imageDesc.Height - row + rowStep - 1) / rowStep); 153 int width = bm->width(); local 155 GifWord copyWidth = frame->ImageDesc.Width; 156 if (frame->ImageDesc.Left + copyWidth > width) { 157 copyWidth = width - frame->ImageDesc.Left 184 int width = bm->width(); local 355 const int width = gif->SWidth; local [all...] |
/external/llvm/include/llvm/Support/ |
ScaledNumber.h | 42 /// \brief Get the width of a number. 76 /// \brief Adjust a 64-bit scaled number down to the appropriate width. 84 const int Width = getWidth<DigitsT>(); 85 if (Width == 64 || Digits <= std::numeric_limits<DigitsT>::max()) 89 int Shift = 64 - Width - countLeadingZeros(Digits); 309 assert(ShiftL < getWidth<DigitsT>() && "can't shift more than width"); 424 static void dump(uint64_t D, int16_t E, int Width); 425 static raw_ostream &print(raw_ostream &OS, uint64_t D, int16_t E, int Width, 427 static std::string toString(uint64_t D, int16_t E, int Width, 503 static const int Width = sizeof(DigitsType) * 8 [all...] |
/hardware/intel/img/psb_video/src/ |
pnw_hostcode.c | 373 int width, height; local 376 /* width and height should be source surface's w and h or ?? */ 377 width = ctx->obj_context->picture_width; 402 ctx->in_params_size = ((~0xf) & (15 + 1 + (width + 15) * (height + 15) / (16 * 16))) * sizeof(MTX_CURRENT_IN_PARAMS); 403 ctx->below_params_size = ((BELOW_PARAMS_SIZE * width * height / (16 * 16)) + 0xf) & (~0xf); 404 ctx->above_params_size = ((width / 16) * 128 + 15) & (~0xf) ; 498 int width, height; local 504 width = obj_context->picture_width; 512 ctx->RawWidth = (unsigned short) width; 516 ctx->Width = (unsigned short)(~0xf & (width + 0xf)) [all...] |
/development/perftests/panorama/feature_mos/src/mosaic/ |
MosaicTypes.h | 40 inline int Width() 72 int width, height; member in class:MosaicFrame 80 width = _width; 84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 100 return (image + (width*height)); 108 return (image + (width*height*2)); 116 ImageType U = image + (width*height); 117 return U[y*width+x]; 125 ImageType U = image + (width*height*2); 126 return U[y*width+x] 139 double width; member in struct:__anon2766 [all...] |
/external/clang/lib/AST/ |
MicrosoftCXXABI.cpp | 244 // to a pointer width if any are present and an int width otherwise. 251 uint64_t Width = Ptrs * PtrSize + Ints * IntSize; 265 Width = llvm::RoundUpToAlignment(Width, Align); 266 return std::make_pair(Width, Align);
|
/external/mesa3d/src/egl/main/ |
eglimage.c | 76 attrs->Width = val;
|
eglimage.h | 48 EGLint Width;
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_fbo.c | 87 GLuint width, GLuint height) 94 rb->Width = width; 98 rb->Format, width, height); 175 GLuint width, GLuint height) 180 rb->Width = width; 286 rb->Width = ti->Width;
|
/external/mesa3d/src/mesa/main/ |
texgetimage.c | 79 const GLint width = texImage->Width; local 83 GLfloat *depthRow = (GLfloat *) malloc(width * sizeof(GLfloat)); 96 0, 0, width, height, GL_MAP_READ_BIT, 102 width, height, format, type, 105 _mesa_unpack_float_z_row(texImage->TexFormat, width, src, depthRow); 106 _mesa_pack_depth_span(ctx, width, dest, type, depthRow, &ctx->Pack); 129 const GLint width = texImage->Width; local 140 0, 0, width, height, GL_MAP_READ_BIT 174 const GLint width = texImage->Width; local 234 const GLuint width = texImage->Width; local 325 const GLuint width = texImage->Width; local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_viewport.c | 68 GLfloat half_width = (GLfloat)ctx->Viewport.Width * 0.5f;
|
st_cb_clear.c | 199 const GLfloat fb_width = (GLfloat) fb->Width; 341 ctx->Scissor.Width < rb->Width || 371 ctx->Scissor.Width < rb->Width || 395 ctx->Scissor.Width < rb->Width || 427 ctx->Scissor.Width < rb->Width ||
|
/external/opencv3/cmake/checks/ |
directx.cpp | 17 UINT width = 640; local 41 sd.BufferDesc.Width = width;
|
/external/sfntly/cpp/src/sfntly/table/core/ |
horizontal_device_metrics_table.h | 55 int32_t Width(int32_t record_index, int32_t glyph_num);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
MosaicTypes.h | 40 inline int Width() 72 int width, height; member in class:MosaicFrame 80 width = _width; 84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 100 return (image + (width*height)); 108 return (image + (width*height*2)); 116 ImageType U = image + (width*height); 117 return U[y*width+x]; 125 ImageType U = image + (width*height*2); 126 return U[y*width+x] 139 double width; member in struct:__anon35459 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
qedit.idl | 134 LONG Width, 140 LONG Width,
|
qedit.h | 416 LONG Width, 421 LONG Width, 503 LONG Width, 509 LONG Width, 552 #define IMediaDet_GetBitmapBits(This,StreamTime,pBufferSize,pBuffer,Width,Height) (This)->lpVtbl->GetBitmapBits(This,StreamTime,pBufferSize,pBuffer,Width,Height) 553 #define IMediaDet_WriteBitmapBits(This,StreamTime,Width,Height,Filename) (This)->lpVtbl->WriteBitmapBits(This,StreamTime,Width,Height,Filename) 600 static FORCEINLINE HRESULT IMediaDet_GetBitmapBits(IMediaDet* This,double StreamTime,LONG *pBufferSize,char *pBuffer,LONG Width,LONG Height) { 601 return This->lpVtbl->GetBitmapBits(This,StreamTime,pBufferSize,pBuffer,Width,Height) [all...] |
/hardware/intel/img/psb_video/src/mrst/ |
lnc_H263ES.c | 271 ASSERT(ctx->Width == pBuffer->picture_width); 276 if ((ctx->Width == 128) && (ctx->Height == 96)) 278 else if ((ctx->Width == 176) && (ctx->Height == 144)) 280 else if ((ctx->Width == 352) && (ctx->Height == 288)) 282 else if ((ctx->Width == 704) && (ctx->Height == 576)) 284 else if ((ctx->Width <= 720) && (ctx->Height <= 576)) 301 ctx->Width,
|
/packages/apps/Messaging/jni/ |
GifTranscoder.cpp | 70 // the specified width. 72 T* getPixel(T* buffer, int width, int x, int y) { 73 return buffer + (y * width + x); 179 gifIn->Image.Left + gifIn->Image.Width > gifIn->SWidth || 200 srcBuffer.resize(gifIn->Image.Width * gifIn->Image.Height); 245 prevImageDimens.Width = gifIn->Image.Width; 334 rasterBits + j * gifIn->Image.Width, 335 gifIn->Image.Width) == GIF_ERROR) { 342 if (DGifGetLine(gifIn, rasterBits, gifIn->Image.Width * gifIn->Image.Height) == GIF_ERROR) [all...] |
/external/lzma/CPP/7zip/UI/Console/ |
List.cpp | 167 int Width;
177 int Width;
189 const int kNumSpacesMax = 32; // it must be larger than max CFieldInfoInit.Width
207 static void PrintString(EAdjustment adj, int width, const UString &textString)
209 const int numSpaces = width - textString.Len();
222 static void PrintString(EAdjustment adj, int width, const char *textString)
224 const int numSpaces = width - (int)strlen(textString);
237 static void PrintStringToString(char *dest, EAdjustment adj, int width, const char *textString)
240 const int numSpaces = width - len;
359 f.Width = fii.Width; 533 int width = f.Width; local [all...] |