Home
last modified time | relevance | path

Searched refs:imageData (Results 1 – 25 of 32) sorted by relevance

12

/external/fonttools/Lib/fontTools/ttLib/tables/
DC_B_D_T_.py48 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
DsbixBitmap.py19 …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)
DE_B_D_T_.py259 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/opencv/cvaux/src/
Dcvbgfg_acmmm2003.cpp255 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 …]
Dextendededges.cpp148 ((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()
Denmin.cpp1298 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 …]
Dcvbgfg_gaussmix.cpp207 … bg_model->g_point[n].g_values[0].mean[m] = (unsigned char)first_frame->imageData[p + m]; in cvCreateGaussianBGModel()
295 pixel[k] = (uchar)curr_frame->imageData[p+k]; in icvUpdateGaussianBGModel()
511 …_point->g_values[bg_model_params->n_gauss - 1].mean[m] = (unsigned char)gm_image->imageData[p + m]; in icvUpdateFullNoMatch()
583 …bg_model->background->imageData[ bg_model->background->widthStep*i + j*nChannels + m] = (unsigned… in icvBackgroundTest()
594 bg_model->foreground->imageData[ bg_model->foreground->widthStep*i + j] = pixelValue; in icvBackgroundTest()
Dcvsubdiv2.cpp150 uchar *ptr = (uchar*)(src->imageData + ip.y * src->widthStep + ip.x * 3); in draw_subdiv_facet()
Dcvcalibfilter.cpp785 if( src->imageData == dst->imageData ) in Rectify()
Dcvfacedetection.cpp138 uchar* buffImg = (uchar*)imgGray->imageData; in ThresholdingParam()
Dcvtexture.cpp629 destData = (float*)(dest->imageData); in cvCreateGLCMImage()
Dcv3dtracker.cpp107 if( samples[c]->imageData == 0 ) in cv3dTrackerCalibrateCameras()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DPFMLoader.java111 ByteBuffer imageData = BufferUtils.createByteBuffer(width * height * bytesPerPixel); in load()
116 imageData.position(scanLineBytes * y); in load()
129 imageData.put(scanline); in load()
131 imageData.rewind(); in load()
133 return new Image(format, width, height, imageData); in load()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_doc.cpp261 CPDF_CountedObject<CPDF_Image*>* imageData; in Clear() local
262 m_ImageMap.GetNextAssoc(pos, objNum, imageData); in Clear()
263 if (!imageData->m_Obj) { in Clear()
266 if (bForceRelease || imageData->m_nCount < 2) { in Clear()
267 delete imageData->m_Obj; in Clear()
268 delete imageData; in Clear()
543 CPDF_CountedObject<CPDF_Image*>* imageData; in GetImage() local
544 if (m_ImageMap.Lookup(dwImageObjNum, imageData)) { in GetImage()
545 imageData->m_nCount ++; in GetImage()
546 return imageData->m_Obj; in GetImage()
[all …]
/external/opencv/cxcore/include/
Dcvwimage.h187 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 …]
Dcxcore.hpp157 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()
Dcxtypes.h390 char *imageData; /* Pointer to aligned image data. */ member
449 (CV_IS_IMAGE_HDR(img) && ((IplImage*)img)->imageData != NULL)
458 (((elemtype*)((image)->imageData + (image)->widthStep*(row)))[(col)])
/external/skia/tests/
DSwizzlerTest.cpp35 uint8_t* imageData = storage.get() + offset; in check_fill() local
36 uint8_t* imageStart = imageData + rowBytes * startRow; in check_fill()
44 uint8_t* indexPtr = imageData + startRow * rowBytes; in check_fill()
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DPlaceholderAssets.java20 private static final byte[] imageData = { field in PlaceholderAssets
44 tempData.put(imageData).flip(); in getPlaceholderImage()
/external/opencv/otherlibs/highgui/
Dimage.cpp109 ((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()
Dcvcap_socket.cpp65 #define IMAGE( i, x, y, n ) *(( unsigned char * )(( i )->imageData \
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DFingerPrintGraph.java362 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()
/external/opencv/cxcore/src/
Dcxarray.cpp979 if( img->imageData != 0 ) in cvCreateData()
984 CV_CALL( img->imageData = img->imageDataOrigin = in cvCreateData()
1099 img->imageData = img->imageDataOrigin = (char*)data; in cvSetData()
1161 img->imageData = img->imageDataOrigin = 0; in cvReleaseData()
2037 ptr = (uchar*)img->imageData; in cvPtr2D()
2795 if( img->imageData == 0 ) in cvGetMat()
2816 img->imageData + (img->roi->coi-1)*img->imageSize + in cvGetMat()
2831 type, img->imageData + in cvGetMat()
2845 img->imageData, img->widthStep )); in cvGetMat()
3622 dst->imageData = dst->imageDataOrigin = 0; in cvCloneImage()
[all …]
/external/opencv/
Dcvjni.h42 #define IMAGE( i, x, y, n ) *(( unsigned char * )(( i )->imageData \
/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp1947 const LayeredImage imageData(m_imageType, m_format, imageSize.x(), imageSize.y(), imageSize.z()); in iterate() local
1955 imageData.setPixel(x, y, z, initial); in iterate()
1966 uploadTexture(glLog, imageData, *endResultTextureBuf); in iterate()
2349 const LayeredImage imageData(m_imageType, m_format, imageSize.x(), imageSize.y(), imageSize.z()); in iterate() local
2355 imageData.setPixel(x, y, z, IVec4(getCompareArg(IVec3(x, y, z), imageSize.x()))); in iterate()
2366 uploadTexture(glLog, imageData, *endResultTextureBuf); in iterate()

12