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

123

/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;
/external/opencv3/modules/core/include/opencv2/core/
H A Dwimage.hpp183 T* ImageData() { return reinterpret_cast<T*>(image_->imageData); }
185 return reinterpret_cast<const T*>(image_->imageData);
206 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep);
210 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep);
215 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep) +
220 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep) +
538 header_.imageData = reinterpret_cast<char*>((*img)(c, r));
549 header_.imageData = reinterpret_cast<char*>(data);
561 header_.imageData = reinterpret_cast<char*>((*img)(c, r));
570 header_.imageData
[all...]
/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/opencv3/modules/videoio/src/
H A Dcap_xine.cpp109 capture->yuv_frame->imageData[ offset + 1 ] = v[ 3 ];
110 capture->yuv_frame->imageData[ offset + 2 ] = v[ 1 ];
113 capture->yuv_frame->imageData[ offset ] = v[ 2 ];
118 capture->yuv_frame->imageData[ offset ] = v[ 0 ];
162 yuv->imageData[ offset ] = *( addr_Y++ );
163 yuv->imageData[ offset + 1 ] = *addr_U;
164 yuv->imageData[ offset + 2 ] = *addr_V;
H A Dcap_pvapi.cpp573 Camera.Frame.ImageBuffer = frame->imageData;
580 Camera.Frame.ImageBuffer = frame->imageData;
587 Camera.Frame.ImageBuffer = frame->imageData;
594 Camera.Frame.ImageBuffer = frame->imageData;
H A Dcap_ximea.cpp204 case XI_RAW8 : memcpy( frame->imageData, image.bp, image.width*image.height); break;
206 case XI_RAW16 : memcpy( frame->imageData, image.bp, image.width*image.height*sizeof(WORD)); break;
208 case XI_RGB_PLANAR : memcpy( frame->imageData, image.bp, image.width*image.height*3); break;
209 case XI_RGB32 : memcpy( frame->imageData, image.bp, image.width*image.height*4); break;
H A Dcap_v4l.cpp980 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize);
1102 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize);
2126 /* First, reallocate imageData if the frame size changed */
2135 cvFree(&capture->frame.imageData);
2140 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize);
2153 cvFree(&capture->frame.imageData);
2158 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize);
2171 memcpy((char *)capture->frame.imageData,
2180 (unsigned char*)capture->frame.imageData);
2187 (unsigned char*)capture->frame.imageData);
[all...]
H A Dcap_unicap.cpp172 raw_buffer.data = (unsigned char*)raw_frame->imageData;
188 buffer.data = (unsigned char*)frame->imageData;
H A Dcap_libv4l.cpp867 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize);
1021 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize);
1289 /* First, reallocate imageData if the frame size changed */
1296 cvFree(&capture->frame.imageData);
1302 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize);
1310 cvFree(&capture->frame.imageData);
1316 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize);
1325 memcpy((char *)capture->frame.imageData,
1338 memcpy((char *)capture->frame.imageData,
1838 if (capture->frame.imageData)
[all...]
/external/skia/src/codec/
H A DSkRawCodec.cpp557 ::piex::PreviewImageData imageData; local
559 && ::piex::GetPreviewImageData(&piexStream, &imageData) == ::piex::Error::kOk)
562 if (imageData.full_width == 0 || imageData.full_height == 0) {
566 dng_point cfaPatternSize(imageData.cfa_pattern_dim[1], imageData.cfa_pattern_dim[0]);
567 this->init(static_cast<int>(imageData.full_width),
568 static_cast<int>(imageData.full_height), cfaPatternSize);
636 ::piex::PreviewImageData imageData; local
638 ::piex::Error error = ::piex::GetPreviewImageData(&piexStream, &imageData);
[all...]
/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 );
/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));

Completed in 743 milliseconds

123