Home
last modified time | relevance | path

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

123

/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()
/external/opencv3/modules/core/include/opencv2/core/
Dwimage.hpp183 T* ImageData() { return reinterpret_cast<T*>(image_->imageData); } in ImageData()
185 return reinterpret_cast<const T*>(image_->imageData); in ImageData()
206 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep); in Row()
210 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep); in Row()
215 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep) + in operator ()()
220 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep) + in operator ()()
538 header_.imageData = reinterpret_cast<char*>((*img)(c, r)); in WImageView()
549 header_.imageData = reinterpret_cast<char*>(data); in WImageView()
561 header_.imageData = reinterpret_cast<char*>((*img)(c, r)); in WImageViewC()
570 header_.imageData = reinterpret_cast<char*>(0); in WImageViewC()
[all …]
/external/skia/src/codec/
DSkRawCodec.cpp557 ::piex::PreviewImageData imageData; in initFromPiex()
559 && ::piex::GetPreviewImageData(&piexStream, &imageData) == ::piex::Error::kOk) in initFromPiex()
562 if (imageData.full_width == 0 || imageData.full_height == 0) { in initFromPiex()
566 dng_point cfaPatternSize(imageData.cfa_pattern_dim[1], imageData.cfa_pattern_dim[0]); in initFromPiex()
567 this->init(static_cast<int>(imageData.full_width), in initFromPiex()
568 static_cast<int>(imageData.full_height), cfaPatternSize); in initFromPiex()
636 ::piex::PreviewImageData imageData; in NewFromStream()
638 ::piex::Error error = ::piex::GetPreviewImageData(&piexStream, &imageData); in NewFromStream()
642 if (error == ::piex::Error::kOk && imageData.preview.length > 0 && in NewFromStream()
643 imageData.preview.format == ::piex::Image::kJpegCompressed) in NewFromStream()
[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()
/external/opencv3/modules/videoio/src/
Dcap_xine.cpp109 capture->yuv_frame->imageData[ offset + 1 ] = v[ 3 ]; in icvYUY2toBGR()
110 capture->yuv_frame->imageData[ offset + 2 ] = v[ 1 ]; in icvYUY2toBGR()
113 capture->yuv_frame->imageData[ offset ] = v[ 2 ]; in icvYUY2toBGR()
118 capture->yuv_frame->imageData[ offset ] = v[ 0 ]; in icvYUY2toBGR()
162 yuv->imageData[ offset ] = *( addr_Y++ ); in icvYV12toBGR()
163 yuv->imageData[ offset + 1 ] = *addr_U; in icvYV12toBGR()
164 yuv->imageData[ offset + 2 ] = *addr_V; in icvYV12toBGR()
Dcap_v4l.cpp980 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize); in _capture_V4L2()
1102 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize); in _capture_V4L()
2135 cvFree(&capture->frame.imageData); in icvRetrieveFrameCAM_V4L()
2140 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize); in icvRetrieveFrameCAM_V4L()
2153 cvFree(&capture->frame.imageData); in icvRetrieveFrameCAM_V4L()
2158 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize); in icvRetrieveFrameCAM_V4L()
2171 memcpy((char *)capture->frame.imageData, in icvRetrieveFrameCAM_V4L()
2180 (unsigned char*)capture->frame.imageData); in icvRetrieveFrameCAM_V4L()
2187 (unsigned char*)capture->frame.imageData); in icvRetrieveFrameCAM_V4L()
2196 (unsigned char*)capture->frame.imageData)) in icvRetrieveFrameCAM_V4L()
[all …]
Dcap_pvapi.cpp573 Camera.Frame.ImageBuffer = frame->imageData; in resizeCaptureFrame()
580 Camera.Frame.ImageBuffer = frame->imageData; in resizeCaptureFrame()
587 Camera.Frame.ImageBuffer = frame->imageData; in resizeCaptureFrame()
594 Camera.Frame.ImageBuffer = frame->imageData; in resizeCaptureFrame()
Dcap_ximea.cpp204 case XI_RAW8 : memcpy( frame->imageData, image.bp, image.width*image.height); break; in retrieveFrame()
206 …case XI_RAW16 : memcpy( frame->imageData, image.bp, image.width*image.height*sizeof(WORD)); … in retrieveFrame()
208 case XI_RGB_PLANAR : memcpy( frame->imageData, image.bp, image.width*image.height*3); break; in retrieveFrame()
209 case XI_RGB32 : memcpy( frame->imageData, image.bp, image.width*image.height*4); break; in retrieveFrame()
Dcap_libv4l.cpp867 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize); in _capture_V4L2()
1021 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize); in _capture_V4L()
1296 cvFree(&capture->frame.imageData); in icvRetrieveFrameCAM_V4L()
1302 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize); in icvRetrieveFrameCAM_V4L()
1310 cvFree(&capture->frame.imageData); in icvRetrieveFrameCAM_V4L()
1316 capture->frame.imageData = (char *)cvAlloc(capture->frame.imageSize); in icvRetrieveFrameCAM_V4L()
1325 memcpy((char *)capture->frame.imageData, in icvRetrieveFrameCAM_V4L()
1338 memcpy((char *)capture->frame.imageData, in icvRetrieveFrameCAM_V4L()
1838 if (capture->frame.imageData) in icvCloseCAM_V4L()
1839 cvFree(&capture->frame.imageData); in icvCloseCAM_V4L()
Dcap_unicap.cpp172 raw_buffer.data = (unsigned char*)raw_frame->imageData; in initDevice()
188 buffer.data = (unsigned char*)frame->imageData; in initDevice()
Dcap_dc1394.cpp353 cvFree(&capture->frame.imageData); in icvCloseCAM_DC1394()
385 unsigned char * dst = (unsigned char *)capture->frame.imageData; in icvRetrieveFrameCAM_DC1394()
442 capture->frame.imageData = (char *) capture->camera->capture_buffer; in icvRetrieveFrameCAM_DC1394()
519 capture->frame.imageData == NULL || in icvResizeFrame()
522 if(capture->frame.imageData && capture->buffer_is_writeable){ in icvResizeFrame()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_doc.cpp203 CPDF_CountedImage* imageData = curr_it->second; in Clear() local
204 if (!imageData->get()) in Clear()
207 if (bForceRelease || imageData->use_count() < 2) { in Clear()
208 delete imageData->get(); in Clear()
209 delete imageData; in Clear()
477 CPDF_CountedImage* imageData = new CPDF_CountedImage(pImage); in GetImage() local
478 m_ImageMap[dwImageObjNum] = imageData; in GetImage()
479 return imageData->AddRef(); in GetImage()
/external/skia/tests/
DSwizzlerTest.cpp37 uint8_t* imageData = storage.get() + offset; in check_fill() local
38 uint8_t* imageStart = imageData + rowBytes * startRow; in check_fill()
44 uint8_t* indexPtr = imageData + startRow * rowBytes; in check_fill()
/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()
/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/skia/experimental/GLFWTest/
Dglfw_main.cpp86 SkAutoTUnref<SkData> imageData(SkData::NewFromFileName("ship.png")); in main() local
87 atlas.reset(SkImage::NewFromEncoded(imageData)); in main()
/external/opencv3/samples/gpu/
Dopticalflow_nvidia_api.cpp91 unsigned char *row = reinterpret_cast<unsigned char*> (image->imageData); in CopyData()
115 unsigned char *row = reinterpret_cast<unsigned char*> (image->imageData); in CopyData()
222 unsigned char *row = reinterpret_cast<unsigned char *> (flowField->imageData); in ShowFlow()
253 unsigned char *row = reinterpret_cast<unsigned char*> (image->imageData); in CreateImage()
/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 …]

123