/external/chromium_org/extensions/renderer/resources/ |
D | set_icon.js | 21 var imageData = canvas_context.getImageData(0, 0, canvas.width, 23 callback(imageData); 28 function verifyImageData(imageData, iconSize) { argument 35 if (!('width' in imageData) || 36 !('height' in imageData) || 37 !('data' in imageData)) { 43 if (imageData.width > iconSize || 44 imageData.height > iconSize) { 76 if (sizeKey in details.imageData) { 77 verifyImageData(details.imageData[sizeKey], iconSizes[i]); [all …]
|
D | image_util.js | 42 var imageData = canvas_context.getImageData( 46 imageData.width, imageData.height, imageData.data.buffer); 58 return function(width, height, imageData) { argument 60 finished[index] = { width: width, height: height, data: imageData };
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | C_B_D_T_.py | 48 self.imageData = data[:dataLen] 53 dataList.append(struct.pack(">L", len(self.imageData))) 54 dataList.append(self.imageData) 67 self.imageData = data[:dataLen] 72 dataList.append(struct.pack(">L", len(self.imageData))) 73 dataList.append(self.imageData) 83 self.imageData = data[:dataLen] 86 return struct.pack(">L", len(self.imageData)) + self.imageData
|
D | sbixBitmap.py | 19 …renceGlyphName=None, usReserved1=0, usReserved2=0, imageFormatTag=None, imageData=None, rawdata=No… argument 27 self.imageData = imageData 47 self.imageData = self.rawdata[sbixBitmapHeaderFormatSize:] 63 self.rawdata = sstruct.pack(sbixBitmapHeaderFormat, self) + self.imageData 85 xmlWriter.dumphex(self.imageData) 99 self.imageData = struct.pack(">H", ttFont.getGlyphID(attrs["glyphname"])) 101 self.imageData = readHex(content)
|
D | E_B_D_T_.py | 259 writer.dumphex(bitmapObject.imageData) 264 bitmapObject.imageData = readHex(content) 354 file.write(bitmapObject.imageData) 359 bitmapObject.imageData = file.read() 527 curByte = _reverseBytes(self.imageData[firstByteLoc]) 531 if firstByteLoc < secondByteLoc and secondByteLoc < len(self.imageData): 532 curByte = _reverseBytes(self.imageData[secondByteLoc]) 573 self.imageData = _reverseBytes(bytesjoin(map(bytechr, ordDataList))) 587 data = self.imageData[slice(*byteRange)] 597 self.imageData = bytesjoin(dataRows) [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | BitmapImageTest.cpp | 79 RefPtr<SharedBuffer> imageData = readFile(fileName); in loadImage() local 80 ASSERT_TRUE(imageData.get()); in loadImage() 82 m_image->setData(imageData, true); in loadImage() 169 RefPtr<SharedBuffer> imageData = readFile("/LayoutTests/fast/images/resources/green.jpg"); in TEST_F() local 170 ASSERT_TRUE(imageData.get()); in TEST_F() 175 image->setData(imageData, false); in TEST_F() 178 image->setData(imageData, true); in TEST_F() 184 image->setData(imageData, true); in TEST_F()
|
/external/opencv/cvaux/src/ |
D | cvbgfg_acmmm2003.cpp | 255 uchar* rowStart1 = (uchar*)curr_frame->imageData + y * curr_frame->widthStep + b; in cvChangeDetection() 256 uchar* rowStart2 = (uchar*)prev_frame->imageData + y * prev_frame->widthStep + b; in cvChangeDetection() 296 uchar* rowStart1 = (uchar*)(curr_frame->imageData) + y * curr_frame->widthStep + b; in cvChangeDetection() 297 uchar* rowStart2 = (uchar*)(prev_frame->imageData) + y * prev_frame->widthStep + b; in cvChangeDetection() 298 uchar* rowStart3 = (uchar*)(change_mask->imageData) + y * change_mask->widthStep; in cvChangeDetection() 358 …if( ((uchar*)model->Fbd->imageData)[i*mask_step+j] || ((uchar*)model->Ftd->imageData)[i*mask_step+… in icvUpdateFGDStatModel() 369 uchar* curr_data = (uchar*)(curr_frame->imageData) + i*curr_frame->widthStep + j*3; in icvUpdateFGDStatModel() 370 uchar* prev_data = (uchar*)(prev_frame->imageData) + i*prev_frame->widthStep + j*3; in icvUpdateFGDStatModel() 375 if( ((uchar*)model->Ftd->imageData)[i*mask_step+j] ) in icvUpdateFGDStatModel() 419 ((uchar*)model->foreground->imageData)[i*mask_step+j] = (uchar)(val*255); in icvUpdateFGDStatModel() [all …]
|
D | extendededges.cpp | 148 ((uchar*)image->imageData)[image->widthStep * cur.y + cur.x]++; in icvCutContourRaster() 149 assert( ((uchar*)image->imageData)[image->widthStep * cur.y + cur.x] != 255 ); in icvCutContourRaster() 161 uchar flag = image->imageData[image->widthStep * cur.y + cur.x]; in icvCutContourRaster() 171 if( flag < 3 ) ((uchar*)image->imageData)[image->widthStep * cur.y + cur.x] = 255; in icvCutContourRaster()
|
D | enmin.cpp | 1298 allLinesCorr( ( unsigned char* )m_left_img -> imageData, 1300 ( unsigned char* )m_right_img -> imageData, 1316 Morph( ( unsigned char* )m_left_img -> imageData, 1318 ( unsigned char* )m_right_img -> imageData, 1320 ( unsigned char* )m_virtual_img -> imageData, 1334 Morph( ( unsigned char* )m_left_img -> imageData, 1336 ( unsigned char* )m_right_img -> imageData, 1338 ( unsigned char* )m_disparity_img -> imageData, 1352 Morph( ( unsigned char* )m_left_img -> imageData, 1354 ( unsigned char* )m_right_img -> imageData, [all …]
|
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
D | filter.js | 91 var imageData; 93 imageData = source.getContext('2d'). 96 imageData = source; 109 var data = imageData.data; 110 var maxIndex = 4 * imageData.width * imageData.height; 289 filter.getAverageColor = function(imageData) { argument 290 var data = imageData.data; 291 var width = imageData.width; 292 var height = imageData.height; 317 filter.getWeightedAverageColor = function(imageData) { argument [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_doc.cpp | 185 CPDF_CountedObject<CPDF_Image*>* imageData; in Clear() local 186 m_ImageMap.GetNextAssoc(pos, objNum, imageData); in Clear() 187 nCount = imageData->m_nCount; in Clear() 189 delete imageData->m_Obj; in Clear() 190 delete imageData; in Clear() 529 CPDF_CountedObject<CPDF_Image*>* imageData; in GetImage() local 530 if (m_ImageMap.Lookup(dwImageObjNum, imageData)) { in GetImage() 531 imageData->m_nCount ++; in GetImage() 532 return imageData->m_Obj; in GetImage() 534 imageData = FX_NEW CPDF_CountedObject<CPDF_Image*>; in GetImage() [all …]
|
/external/chromium_org/ui/file_manager/image_loader/ |
D | request.js | 342 var imageData; 346 imageData = this.image_.src; 355 imageData = this.canvas_.toDataURL('image/png'); 359 imageData = this.canvas_.toDataURL('image/jpeg', 0.9); 364 this.sendImageData_(imageData); 365 this.saveToCache_(imageData);
|
/external/opencv/cxcore/include/ |
D | cvwimage.h | 187 T* ImageData() { return reinterpret_cast<T*>(image_->imageData); } in ImageData() 189 return reinterpret_cast<const T*>(image_->imageData); in ImageData() 210 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep); in Row() 214 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep); in Row() 219 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep) + in operator() 224 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep) + in operator() 558 header_.imageData = reinterpret_cast<char*>((*img)(c, r)); in WImageView() 569 header_.imageData = reinterpret_cast<char*>(data); in WImageView() 581 header_.imageData = reinterpret_cast<char*>((*img)(c, r)); in WImageViewC() 590 header_.imageData = reinterpret_cast<char*>(0); in WImageViewC() [all …]
|
D | cxcore.hpp | 157 uchar* data() { return image ? (uchar*)image->imageData : 0; } in data() 158 const uchar* data() const { return image ? (const uchar*)image->imageData : 0; } in data() 171 (uchar*)(image->imageData + y*image->widthStep) : in roi_row() 172 (uchar*)(image->imageData + (y+image->roi->yOffset)*image->widthStep + in roi_row() 185 (const uchar*)(image->imageData + y*image->widthStep) : in roi_row() 186 (const uchar*)(image->imageData + (y+image->roi->yOffset)*image->widthStep + in roi_row()
|
/external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/ |
D | PNGImageEncoder.cpp | 127 bool PNGImageEncoder::encode(const ImageDataBuffer& imageData, Vector<unsigned char>* output) in encode() argument 129 return encodePixels(imageData.size(), imageData.data(), false, output); in encode()
|
D | WEBPImageEncoder.cpp | 128 bool WEBPImageEncoder::encode(const ImageDataBuffer& imageData, int quality, Vector<unsigned char>*… in encode() argument 130 return encodePixels(imageData.size(), imageData.data(), false, quality, output); in encode()
|
D | JPEGImageEncoder.cpp | 210 bool JPEGImageEncoder::encode(const ImageDataBuffer& imageData, int quality, Vector<unsigned char>*… in encode() argument 212 return encodePixels(imageData.size(), imageData.data(), false, quality, output); in encode()
|
/external/chromium-trace/trace-viewer/src/cc/ |
D | picture.js | 147 var imageData = ctx.createImageData(raster.width, raster.height); 148 imageData.data.set(new Uint8ClampedArray(raster.data)); 149 ctx.putImageData(imageData, 0, 0);
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | ImageData.cpp | 84 …RefPtrWillBeRawPtr<ImageData> imageData = adoptRefWillBeNoop(new ImageData(IntSize(width, height))… in create() local 85 imageData->data()->zeroFill(); in create() 86 return imageData.release(); in create()
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/ |
D | background.js | 158 var imageData = {}; 159 imageData['' + canvas1.width] = canvas1.getContext('2d').getImageData( 161 imageData['' + canvas2.width] = canvas2.getContext('2d').getImageData( 163 chrome.browserAction.setIcon({imageData:imageData}); property
|
/external/opencv/otherlibs/highgui/ |
D | image.cpp | 109 ((IplImage*)img)->imageData != 0) 208 if( pDstRect && m_img && m_img->depth == IPL_DEPTH_8U && m_img->imageData ) in DrawToHDC() 242 m_img->imageData, bmi, DIB_RGB_COLORS, SRCCOPY ); in DrawToHDC()
|
/external/chromium_org/native_client_sdk/src/examples/demo/earth_simd/ |
D | example.js | 52 var imageData = context.getImageData(0, 0, img.width, img.height); 58 'data' : imageData.data.buffer});
|
/external/chromium_org/native_client_sdk/src/examples/demo/earth/ |
D | example.js | 52 var imageData = context.getImageData(0, 0, img.width, img.height); 58 'data' : imageData.data.buffer});
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
D | FilterEffect.cpp | 308 …RefPtr<Uint8ClampedArray> imageData = Uint8ClampedArray::createUninitialized(rect.width() * rect.h… in asUnmultipliedImage() local 309 copyUnmultipliedImage(imageData.get(), rect); in asUnmultipliedImage() 310 return imageData.release(); in asUnmultipliedImage() 316 …RefPtr<Uint8ClampedArray> imageData = Uint8ClampedArray::createUninitialized(rect.width() * rect.h… in asPremultipliedImage() local 317 copyPremultipliedImage(imageData.get(), rect); in asPremultipliedImage() 318 return imageData.release(); in asPremultipliedImage()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
D | FingerPrintGraph.java | 362 ImageData imageData = warning.getImageData(); in drawBars() 368 Rectangle warningZone = new Rectangle(xi, labelvpos, imageData.width, imageData.height); in drawBars() 371 int warningImageEnd = xi+imageData.width; in drawBars() 372 …mptyZone = new Rectangle(warningImageEnd, labelvpos, titleStart-warningImageEnd, imageData.height); in drawBars() 398 ImageData imageData = warning.getImageData(); in drawBars() 399 Rectangle warningZone = new Rectangle(x+e.x, labelvpos, imageData.width, imageData.height); in drawBars()
|