/external/opencv3/samples/cpp/tutorial_code/core/Matrix/ |
H A D | Drawing_2.cpp | 27 int Drawing_Random_Lines( Mat image, char* window_name, RNG rng ); 28 int Drawing_Random_Rectangles( Mat image, char* window_name, RNG rng ); 29 int Drawing_Random_Ellipses( Mat image, char* window_name, RNG rng ); 30 int Drawing_Random_Polylines( Mat image, char* window_name, RNG rng ); 31 int Drawing_Random_Filled_Polygons( Mat image, char* window_name, RNG rng ); 32 int Drawing_Random_Circles( Mat image, char* window_name, RNG rng ); 33 int Displaying_Random_Text( Mat image, char* window_name, RNG rng ); 34 int Displaying_Big_End( Mat image, char* window_name, RNG rng ); 51 Mat image = Mat::zeros( window_height, window_width, CV_8UC3 ); local 53 imshow( window_name, image ); 108 Drawing_Random_Lines( Mat image, char* window_name, RNG rng ) argument 131 Drawing_Random_Rectangles( Mat image, char* window_name, RNG rng ) argument 157 Drawing_Random_Ellipses( Mat image, char* window_name, RNG rng ) argument 188 Drawing_Random_Polylines( Mat image, char* window_name, RNG rng ) argument 223 Drawing_Random_Filled_Polygons( Mat image, char* window_name, RNG rng ) argument 258 Drawing_Random_Circles( Mat image, char* window_name, RNG rng ) argument 282 Displaying_Random_Text( Mat image, char* window_name, RNG rng ) argument 306 Displaying_Big_End( Mat image, char* window_name, RNG ) argument [all...] |
/external/opencv3/samples/gpu/ |
H A D | farneback_optical_flow.cpp | 48 "{ l left | ../data/basketball1.png | specify left image }" 49 "{ r right | ../data/basketball2.png | specify right image }" 63 if (pathL.empty()) cout << "Specify left image path\n"; 64 if (pathR.empty()) cout << "Specify right image path\n"; 76 Mat flowxy, flowx, flowy, image; local 112 colorizeFlow(flowx, flowy, image); 116 putText(image, s.str(), Point(5, 25), FONT_HERSHEY_SIMPLEX, 1., Scalar(255,0,255), 2); 120 putText(image, s.str(), Point(5, 65), FONT_HERSHEY_SIMPLEX, 1., Scalar(255,0,255), 2); 124 putText(image, s.str(), Point(5, 105), FONT_HERSHEY_SIMPLEX, 1., Scalar(255,0,255), 2); 126 imshow("flow", image); [all...] |
H A D | generalized_hough.cpp | 18 Mat image = imread(name, IMREAD_GRAYSCALE); local 19 if (image.empty()) 21 cerr << "Can't load image - " << name << endl; 24 return image; 30 "{ image i | ../data/pic1.png | input image }" 31 "{ template t | templ.png | template image }" 40 "{ dp | 2 | inverse ratio of the accumulator resolution to the image resolution }" 60 const string imageName = cmd.get<string>("image"); 85 Mat image local [all...] |
/external/opencv3/samples/tapi/ |
H A D | squares.cpp | 3 // each image 33 // returns sequence of squares detected on the image. 35 static void findSquares( const UMat& image, vector<vector<Point> >& squares ) argument 38 UMat pyr, timg, gray0(image.size(), CV_8U), gray; 40 // down-scale and upscale the image to filter out the noise 41 pyrDown(image, pyr, Size(image.cols/2, image.rows/2)); 42 pyrUp(pyr, timg, image.size()); 45 // find squares in every color plane of the image 118 Mat image = _image.getMat(ACCESS_WRITE); local 129 drawSquaresBoth( const UMat& image, const vector<vector<Point> >& sqs) argument 171 UMat image; local [all...] |
/external/opencv3/samples/winrt/OcvImageProcessing/OcvImageProcessing/ |
H A D | MainPage.xaml.cpp | 48 cv::Mat image = cv::imread("Assets/Lena.png"); local 49 Lena = cv::Mat(image.rows, image.cols, CV_8UC4); 50 cvtColor(image, Lena, CV_BGR2BGRA); 104 bool OcvImageProcessing::MainPage::SaveImage(cv::Mat image) { argument 108 return cv::imwrite(localFile, image); 160 void OcvImageProcessing::MainPage::UpdateImage(const cv::Mat& image) argument 163 WriteableBitmap^ bitmap = ref new WriteableBitmap(image.cols, image.rows); 176 memcpy(dstPixels, image 183 ApplyGrayFilter(const cv::Mat& image) argument 192 ApplyCannyFilter(const cv::Mat& image) argument 201 ApplyBlurFilter(const cv::Mat& image) argument 208 ApplyFindFeaturesFilter(const cv::Mat& image) argument 228 ApplySepiaFilter(const cv::Mat& image) argument [all...] |
/external/pdfium/third_party/libopenjpeg20/ |
H A D | image.c | 35 opj_image_t *image = (opj_image_t*)opj_calloc(1, sizeof(opj_image_t)); local 36 return image; 41 opj_image_t *image = NULL; local 43 image = (opj_image_t*) opj_calloc(1, sizeof(opj_image_t)); 44 if(image) { 45 image->color_space = clrspc; 46 image->numcomps = numcmpts; 48 image->comps = (opj_image_comp_t*)opj_calloc(1,image->numcomps * sizeof(opj_image_comp_t)); 49 if(!image 80 opj_image_destroy(opj_image_t *image) argument 210 opj_image_t *image = 00; local [all...] |
/external/pdfium/xfa/src/fxbarcode/pdf417/ |
H A D | BC_PDF417BoundingBox.cpp | 27 CBC_BoundingBox::CBC_BoundingBox(CBC_CommonBitMatrix* image,
argument 39 init(image, topLeft, bottomLeft, topRight, bottomRight);
160 void CBC_BoundingBox::init(CBC_CommonBitMatrix* image,
argument 169 m_image = image;
|
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
H A D | BC_QRAlignmentPatternFinder.cpp | 29 CBC_CommonBitMatrix* image,
35 : m_image(image),
28 CBC_QRAlignmentPatternFinder( CBC_CommonBitMatrix* image, int32_t startX, int32_t startY, int32_t width, int32_t height, FX_FLOAT moduleSize) argument
|
H A D | BC_QRGridSampler.cpp | 33 void CBC_QRGridSampler::CheckAndNudgePoints(CBC_CommonBitMatrix* image,
argument 36 int32_t width = image->GetWidth();
37 int32_t height = image->GetHeight();
88 CBC_CommonBitMatrix* CBC_QRGridSampler::SampleGrid(CBC_CommonBitMatrix* image,
argument 126 CheckAndNudgePoints(image, &points, e);
129 if (image->Get((int32_t)points[x], (int32_t)points[x + 1])) {
|
/external/rmi4utils/rmi4update/ |
H A D | main.cpp | 44 fprintf(stdout, "\t-f, --force\tForce updating firmware even it the image provided is older\n\t\t\tthen the current firmware on the device.\n"); 57 int UpdateDevice(FirmwareImage & image, bool force, bool performLockdown, const char * deviceFile) argument 66 RMI4Update update(rmidevice, image); 102 FirmwareImage image; local 171 rc = image.Initialize(firmwareName); 173 fprintf(stderr, "Failed to initialize the firmware image: %s\n", update_err_to_string(rc)); 178 rc = UpdateDevice(image, force, performLockdown, deviceName); 194 rc = UpdateDevice(image, force, performLockdown, deviceFile);
|
/external/skia/bench/ |
H A D | SkLinearBitmapPipelineBench.cpp | 176 SkImage* image = SkImage::NewRasterCopy( variable 178 fImage.reset(image);
|
/external/skia/gm/ |
H A D | aaclip.cpp | 143 CGImageRef image = SkCreateCGImageRefWithColorspace(bm, nullptr); local 146 SkCreateBitmapFromCGImage(&bm2, image); 147 CGImageRelease(image);
|
H A D | imagefiltersgraph.cpp | 241 static void DrawClippedImage(SkCanvas* canvas, const SkImage* image, const SkPaint& paint) { argument 243 canvas->clipRect(SkRect::MakeIWH(image->width(), image->height())); 244 canvas->drawImage(image, 0, 0, &paint);
|
/external/skia/src/core/ |
H A D | SkSpecialSurface.cpp | 59 SkSpecialImage* image = as_SB(this)->onNewImageSnapshot(); local 61 return image; // the caller gets the creation ref
|
/external/skia/src/gpu/text/ |
H A D | GrFontScaler.cpp | 69 // Retrieving the image from the cache can actually change the mask format. 80 // Retrieving the image from the cache can actually change the mask format. 125 // Retrieving the image from the cache can actually change the mask format. This case is very 173 const void* image = fStrike->findImage(glyph); local 174 if (nullptr == image) { 181 // make the distance field from the image 183 (unsigned char*)image, 187 // make the distance field from the image 189 (unsigned char*)image,
|
/external/skia/src/gpu/vk/ |
H A D | GrVkImage.h | 34 Resource(VkImage image, VkDeviceMemory alloc, Flags flags) argument 35 : fImage(image), fAlloc(alloc), fFlags(flags) {}
|
/external/skia/src/image/ |
H A D | SkImageShader.cpp | 54 SkShader* SkImageShader::Create(const SkImage* image, TileMode tx, TileMode ty, argument 56 if (!image) { 59 return new SkImageShader(image, tx, ty, localMatrix);
|
H A D | SkSurface_Gpu.cpp | 100 SkImage* image = nullptr; local 102 image = new SkImage_Gpu(info.width(), info.height(), kNeedNewImageUniqueID, 105 return image; 113 // are we sharing our render target with the image? Note this call should never create a new 114 // image because onCopyOnWrite is only called when there is a cached image. 115 SkAutoTUnref<SkImage> image(this->refCachedImage(SkBudgeted::kNo, kNo_ForceUnique)); 116 SkASSERT(image); 117 if (rt->asTexture() == as_IB(image)->getTexture()) { 119 SkTextureImageApplyBudgetedDecision(image); [all...] |
/external/skia/tests/ |
H A D | ImageFilterCacheTest.cpp | 28 // Ensure the cache can return a cached image 30 SkSpecialImage* image, 36 SkImageFilter::Cache::Key key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); 40 cache->set(key1, image, offset); 52 // cached image won't be found. Even if it is caching the same bitmap. 54 SkSpecialImage* image, 61 SkImageFilter::Cache::Key key0(0, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); 62 SkImageFilter::Cache::Key key1(1, SkMatrix::I(), clip1, image 29 test_find_existing(skiatest::Reporter* reporter, SkSpecialImage* image, SkSpecialImage* subset) argument 53 test_dont_find_if_diff_key(skiatest::Reporter* reporter, SkSpecialImage* image, SkSpecialImage* subset) argument 79 test_internal_purge(skiatest::Reporter* reporter, SkSpecialImage* image) argument 103 test_explicit_purging(skiatest::Reporter* reporter, SkSpecialImage* image, SkSpecialImage* subset) argument [all...] |
/external/webrtc/webrtc/examples/peerconnection/client/linux/ |
H A D | main_wnd.h | 84 const uint8_t* image() const { return image_.get(); } function in class:GtkMainWnd::VideoRenderer
|
/external/deqp/executor/ |
H A D | xeTestLogWriter.cpp | 265 const ri::Image& image = static_cast<const ri::Image&>(item); local 267 << Writer::Attribute("Name", image.name) 268 << Writer::Attribute("Description", image.description) 269 << Writer::Attribute("Width", de::toString(image.width)) 270 << Writer::Attribute("Height", de::toString(image.height)) 271 << Writer::Attribute("Format", getImageFormatName(image.format)) 272 << Writer::Attribute("CompressionMode", getImageCompressionName(image.compression)) 273 << toBase64(&image.data[0], (int)image.data.size())
|
/external/deqp/external/vulkancts/framework/vulkan/ |
H A D | vkQueryUtil.cpp | 133 TCU_FAIL("Returned sparse image properties count changes between queries"); 146 VkMemoryRequirements getImageMemoryRequirements (const DeviceInterface& vk, VkDevice device, VkImage image) argument 149 vk.getImageMemoryRequirements(device, image, &req);
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeTestsUtil.cpp | 197 const VkImage image, 207 image, // VkImage image; 257 const VkImage image, 270 image, // VkImage image; 195 makeImageView(const DeviceInterface& vk, const VkDevice vkDevice, const VkImage image, const VkImageViewType imageViewType, const VkFormat format, const VkImageSubresourceRange subresourceRange) argument 253 makeImageMemoryBarrier(const VkAccessFlags srcAccessMask, const VkAccessFlags dstAccessMask, const VkImageLayout oldLayout, const VkImageLayout newLayout, const VkImage image, const VkImageSubresourceRange subresourceRange) argument
|
/external/deqp/framework/delibs/deimage/ |
H A D | deImage.c | 36 static void* getPixelAddress (const deImage* image, int x, int y) argument 38 int offset = ((y*image->width) + x) * deImageFormat_getBytesPerPixel(image->format); 39 DE_ASSERT(deInBounds32(x, 0, image->width)); 40 DE_ASSERT(deInBounds32(y, 0, image->height)); 41 return (void*)((deUint8*)image->pixels + offset); 46 deImage* image = DE_NEW(deImage); local 48 if (!image) 51 image->width = width; 52 image 65 deImage_destroy(deImage* image) argument 71 deImage_getPixel(const deImage* image, int x, int y) argument 84 deImage_setPixel(deImage* image, int x, int y, deARGB argb) argument 96 deImage_convertFormat(const deImage* image, deImageFormat format) argument 161 deImage_copyToUint8RGBA(const deImage* image, deUint8* pixels) argument 179 deImage_getPixelPtr(const deImage* image) argument 184 deImage_getWidth(const deImage* image) argument 189 deImage_getHeight(const deImage* image) argument [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fFboCompletenessTests.cpp | 199 const Image* image); 212 void ES2Checker::check (GLenum attPoint, const Attachment& att, const Image* image) argument 219 m_width = image->width; 220 m_height = image->height; 222 else if (image->width != m_width || image->height != m_height)
|