Searched refs:imageData (Results 1 - 25 of 37) sorted by relevance

12

/external/fonttools/Lib/fontTools/ttLib/tables/
H A 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
H A DsbixBitmap.py19 def __init__(self, glyphName=None, referenceGlyphName=None, usReserved1=0, usReserved2=0, imageFormatTag=None, imageData=None, rawdata=None, gid=0):
27 self.imageData = imageData
47 self.imageData = self.rawdata[sbixBitmapHeaderFormatSize:]
63 self.rawdata = sstruct.pack(sbixBitmapHeaderFormat, self) + self.imageData
85 xmlWriter.dumphex(self.imageData)
97 # in this case imageData contains the glyph id of the reference glyph
99 self.imageData = struct.pack(">H", ttFont.getGlyphID(attrs["glyphname"]))
101 self.imageData = readHex(content)
H A 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
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A 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
H A DsbixBitmap.py19 def __init__(self, glyphName=None, referenceGlyphName=None, usReserved1=0, usReserved2=0, imageFormatTag=None, imageData=None, rawdata=None, gid=0):
27 self.imageData = imageData
47 self.imageData = self.rawdata[sbixBitmapHeaderFormatSize:]
63 self.rawdata = sstruct.pack(sbixBitmapHeaderFormat, self) + self.imageData
85 xmlWriter.dumphex(self.imageData)
97 # in this case imageData contains the glyph id of the reference glyph
99 self.imageData = struct.pack(">H", ttFont.getGlyphID(attrs["glyphname"]))
101 self.imageData = readHex(content)
H A 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
[all...]
/external/opencv/cvaux/src/
H A Dextendededges.cpp148 ((uchar*)image->imageData)[image->widthStep * cur.y + cur.x]++;
149 assert( ((uchar*)image->imageData)[image->widthStep * cur.y + cur.x] != 255 );
161 uchar flag = image->imageData[image->widthStep * cur.y + cur.x];
171 if( flag < 3 ) ((uchar*)image->imageData)[image->widthStep * cur.y + cur.x] = 255;
H A Dcvbgfg_acmmm2003.cpp255 uchar* rowStart1 = (uchar*)curr_frame->imageData + y * curr_frame->widthStep + b;
256 uchar* rowStart2 = (uchar*)prev_frame->imageData + y * prev_frame->widthStep + b;
296 uchar* rowStart1 = (uchar*)(curr_frame->imageData) + y * curr_frame->widthStep + b;
297 uchar* rowStart2 = (uchar*)(prev_frame->imageData) + y * prev_frame->widthStep + b;
298 uchar* rowStart3 = (uchar*)(change_mask->imageData) + y * change_mask->widthStep;
358 if( ((uchar*)model->Fbd->imageData)[i*mask_step+j] || ((uchar*)model->Ftd->imageData)[i*mask_step+j] )
369 uchar* curr_data = (uchar*)(curr_frame->imageData) + i*curr_frame->widthStep + j*3;
370 uchar* prev_data = (uchar*)(prev_frame->imageData) + i*prev_frame->widthStep + j*3;
375 if( ((uchar*)model->Ftd->imageData)[
[all...]
H A 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...]
H A Dcvbgfg_gaussmix.cpp57 //char *imageData; /* pointer to aligned image data */
207 bg_model->g_point[n].g_values[0].mean[m] = (unsigned char)first_frame->imageData[p + m];
295 pixel[k] = (uchar)curr_frame->imageData[p+k];
511 g_point->g_values[bg_model_params->n_gauss - 1].mean[m] = (unsigned char)gm_image->imageData[p + m];
583 bg_model->background->imageData[ bg_model->background->widthStep*i + j*nChannels + m] = (unsigned char)(g_point[n].g_values[0].mean[m]+0.5);
594 bg_model->foreground->imageData[ bg_model->foreground->widthStep*i + j] = pixelValue;
H A Dcvsubdiv2.cpp150 uchar *ptr = (uchar*)(src->imageData + ip.y * src->widthStep + ip.x * 3);
H A Dcvcalibfilter.cpp785 if( src->imageData == dst->imageData )
H A Dcvfacedetection.cpp138 uchar* buffImg = (uchar*)imgGray->imageData;
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
H A DPFMLoader.java111 ByteBuffer imageData = BufferUtils.createByteBuffer(width * height * bytesPerPixel);
116 imageData.position(scanLineBytes * y);
129 imageData.put(scanline);
131 imageData.rewind();
133 return new Image(format, width, height, imageData);
/external/jmonkeyengine/engine/src/core/com/jme3/util/
H A DPlaceholderAssets.java20 private static final byte[] imageData = { field in class:PlaceholderAssets
44 tempData.put(imageData).flip();
/external/skia/tests/
H A DSwizzlerTest.cpp37 uint8_t* imageData = storage.get() + offset; local
38 uint8_t* imageStart = imageData + rowBytes * startRow;
44 uint8_t* indexPtr = imageData + startRow * rowBytes;
/external/opencv/cxcore/include/
H A Dcvwimage.h187 T* ImageData() { return reinterpret_cast<T*>(image_->imageData); }
189 return reinterpret_cast<const T*>(image_->imageData);
210 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep);
214 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep);
219 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep) +
224 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep) +
558 header_.imageData = reinterpret_cast<char*>((*img)(c, r));
569 header_.imageData = reinterpret_cast<char*>(data);
581 header_.imageData = reinterpret_cast<char*>((*img)(c, r));
590 header_.imageData
[all...]
H A Dcxcore.hpp157 uchar* data() { return image ? (uchar*)image->imageData : 0; }
158 const uchar* data() const { return image ? (const uchar*)image->imageData : 0; }
171 (uchar*)(image->imageData + y*image->widthStep) :
172 (uchar*)(image->imageData + (y+image->roi->yOffset)*image->widthStep +
185 (const uchar*)(image->imageData + y*image->widthStep) :
186 (const uchar*)(image->imageData + (y+image->roi->yOffset)*image->widthStep +
/external/pdfium/core/src/fpdfapi/fpdf_page/
H A Dfpdf_page_doc.cpp203 CPDF_CountedImage* imageData = curr_it->second; local
204 if (!imageData->get())
207 if (bForceRelease || imageData->use_count() < 2) {
208 delete imageData->get();
209 delete imageData;
477 CPDF_CountedImage* imageData = new CPDF_CountedImage(pImage); local
478 m_ImageMap[dwImageObjNum] = imageData;
479 return imageData->AddRef();
/external/opencv/otherlibs/highgui/
H A Dimage.cpp109 ((IplImage*)img)->imageData != 0)
208 if( pDstRect && m_img && m_img->depth == IPL_DEPTH_8U && m_img->imageData )
242 m_img->imageData, bmi, DIB_RGB_COLORS, SRCCOPY );
H A Dcvcap_socket.cpp65 #define IMAGE( i, x, y, n ) *(( unsigned char * )(( i )->imageData \
/external/skia/src/codec/
H A DSkRawCodec.cpp559 ::piex::PreviewImageData imageData; local
561 && ::piex::GetPreviewImageData(&piexStream, &imageData) == ::piex::Error::kOk)
563 dng_point cfaPatternSize(imageData.cfa_pattern_dim[1], imageData.cfa_pattern_dim[0]);
564 return this->init(static_cast<int>(imageData.full_width),
565 static_cast<int>(imageData.full_height), cfaPatternSize);
631 ::piex::PreviewImageData imageData; local
633 ::piex::Error error = ::piex::GetPreviewImageData(&piexStream, &imageData);
637 if (error == ::piex::Error::kOk && imageData.preview.length > 0 &&
638 imageData
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DFingerPrintGraph.java362 ImageData imageData = warning.getImageData();
368 Rectangle warningZone = new Rectangle(xi, labelvpos, imageData.width, imageData.height);
371 int warningImageEnd = xi+imageData.width;
372 Rectangle emptyZone = new Rectangle(warningImageEnd, labelvpos, titleStart-warningImageEnd, imageData.height);
398 ImageData imageData = warning.getImageData();
399 Rectangle warningZone = new Rectangle(x+e.x, labelvpos, imageData.width, imageData.height);
/external/skia/experimental/GLFWTest/
H A Dglfw_main.cpp86 SkAutoTUnref<SkData> imageData(SkData::NewFromFileName("ship.png"));
87 atlas.reset(SkImage::NewFromEncoded(imageData));
/external/opencv/cxcore/src/
H A Dcxarray.cpp979 if( img->imageData != 0 )
984 CV_CALL( img->imageData = img->imageDataOrigin =
1099 img->imageData = img->imageDataOrigin = (char*)data;
1161 img->imageData = img->imageDataOrigin = 0;
2037 ptr = (uchar*)img->imageData;
2795 if( img->imageData == 0 )
2816 img->imageData + (img->roi->coi-1)*img->imageSize +
2831 type, img->imageData +
2845 img->imageData, img->widthStep ));
3622 dst->imageData
[all...]

Completed in 608 milliseconds

12