/external/opencv3/samples/cpp/ |
H A D | lkdemo.cpp | 64 Mat gray, prevGray, image, frame; local 73 frame.copyTo(image); 74 cvtColor(image, gray, COLOR_BGR2GRAY); 77 image = Scalar::all(0); 110 circle( image, points[1][i], 3, Scalar(0,255,0), -1, 8); 125 imshow("LK Demo", image);
|
/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ |
H A D | RobustMatcher.cpp | 18 void RobustMatcher::computeKeyPoints( const cv::Mat& image, std::vector<cv::KeyPoint>& keypoints) argument 20 detector_->detect(image, keypoints); 23 void RobustMatcher::computeDescriptors( const cv::Mat& image, std::vector<cv::KeyPoint>& keypoints, cv::Mat& descriptors) argument 25 extractor_->compute(image, keypoints, descriptors); 59 // for all matches image 1 -> image 2 68 // for all matches image 2 -> image 1 87 break; // next match in image 1 -> image [all...] |
/external/opencv3/samples/cpp/tutorial_code/core/ippasync/ |
H A D | ippasync_sample.cpp | 32 " [--file_name]=<path to movie or image file>\n" 39 "{fn file_name|../data/baboon.jpg | image file }" 50 Mat image, gray, result; local 73 printf("used image %s\n", file.c_str()); 103 cap >> image; local 104 if(image.empty()) 107 cvtColor( image, gray, COLOR_BGR2GRAY ); 109 result.create( image.rows, image.cols, CV_8U); 131 imshow("image", imag [all...] |
/external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/ |
H A D | Direct3DInterop.cpp | 19 void Direct3DInterop::ApplyGrayFilter(const cv::Mat& image) argument 22 cv::cvtColor(image, intermediateMat, CV_RGBA2GRAY); 23 cv::cvtColor(intermediateMat, image, CV_GRAY2BGRA); 26 void Direct3DInterop::ApplyCannyFilter(const cv::Mat& image) argument 29 cv::Canny(image, intermediateMat, 80, 90); 30 cv::cvtColor(intermediateMat, image, CV_GRAY2BGRA); 33 void Direct3DInterop::ApplySepiaFilter(const cv::Mat& image) argument 44 cv::transform(image, image, SepiaKernel);
|
/external/pdfium/xfa/src/fxbarcode/pdf417/ |
H A D | BC_PDF417Reader.cpp | 56 CFX_ByteString CBC_PDF417Reader::Decode(CBC_BinaryBitmap* image, int32_t& e) {
argument 57 return Decode(image, 0, e);
59 CFX_ByteString CBC_PDF417Reader::Decode(CBC_BinaryBitmap* image,
argument 65 CBC_Detector::detect(image, hints, multiple, e);
85 CFX_ByteString CBC_PDF417Reader::Decode(CBC_BinaryBitmap* image,
argument 88 CFX_ByteString bs = Decode(image, FALSE, 0, e);
|
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
H A D | BC_QRCoderDecoder.cpp | 47 CBC_CommonDecoderResult* CBC_QRCoderDecoder::Decode(FX_BOOL* image,
argument 55 if (image[i * width + j]) {
|
/external/skia/gm/ |
H A D | dftext.cpp | 204 SkImage* image = surface->newImageSnapshot(); variable 205 inputCanvas->drawImage(image, 0, 0, nullptr); 206 image->unref();
|
H A D | image_shader.cpp | 71 * Exercise drawing pictures inside an image, showing that the image version is pixelated 72 * (correctly) when it is inside an image. 82 return SkString("image-shader"); 96 void testImage(SkCanvas* canvas, SkImage* image) { argument 99 canvas->drawImage(image, 0, 0); 104 SkAutoTUnref<SkShader> shader(image->newShader(tile, tile, &localM)); 117 SkAutoTUnref<SkImage> image(gProcs[i](canvas->getGrContext(), fPicture, info)); 118 if (image) { 119 this->testImage(canvas, image); [all...] |
H A D | ninepatchstretch.cpp | 49 static void image_to_bitmap(const SkImage* image, SkBitmap* bm) { argument 50 SkImageInfo info = SkImageInfo::MakeN32Premul(image->width(), image->height()); 52 image->readPixels(info, bm->getPixels(), bm->rowBytes(), 0, 0);
|
H A D | offsetimagefilter.cpp | 50 const SkImage* image = (i & 0x01) ? fCheckerboard : fBitmap; variable 53 image->width() - i * 8, 54 image->height() - i * 12); 56 SkAutoTUnref<SkImageFilter> tileInput(SkImageSource::Create(image)); 62 DrawClippedImage(canvas, image, paint, 1, cropRect); 63 canvas->translate(SkIntToScalar(image->width() + MARGIN), 0); 73 static void DrawClippedImage(SkCanvas* canvas, const SkImage* image, const SkPaint& paint, argument 75 SkRect clipRect = SkRect::MakeIWH(image->width(), image->height()); 80 canvas->drawImage(image, [all...] |
H A D | textblobmixedsizes.cpp | 167 SkImage* image = surface->newImageSnapshot(); variable 168 inputCanvas->drawImage(image, 0, 0, nullptr); 169 image->unref();
|
/external/skia/src/effects/ |
H A D | SkImageSource.cpp | 17 SkImageFilter* SkImageSource::Create(const SkImage* image) { argument 18 return image ? new SkImageSource(image) : nullptr; 21 SkImageFilter* SkImageSource::Create(const SkImage* image, argument 25 return image ? new SkImageSource(image, srcRect, dstRect, filterQuality) : nullptr; 28 SkImageSource::SkImageSource(const SkImage* image) argument 30 , fImage(SkRef(image)) 31 , fSrcRect(SkRect::MakeIWH(image->width(), image 35 SkImageSource(const SkImage* image, const SkRect& srcRect, const SkRect& dstRect, SkFilterQuality filterQuality) argument [all...] |
/external/skia/src/gpu/vk/ |
H A D | GrVkImage.cpp | 37 fResource->fImage, // image 41 // TODO: restrict to area of image we're interested in 49 VkImage image = 0; local 81 err = VK_CALL(gpu, CreateImage(gpu->device(), &imageCreateInfo, nullptr, &image)); 84 if (!GrVkMemory::AllocAndBindImageMemory(gpu, image, imageDesc.fMemProps, &alloc)) { 85 VK_CALL(gpu, DestroyImage(gpu->device(), image, nullptr)); 93 return (new GrVkImage::Resource(image, alloc, flags));
|
H A D | GrVkMemory.cpp | 86 VkImage image, 93 GR_VK_CALL(interface, GetImageMemoryRequirements(device, image, &memReqs)); 100 VkResult err = GR_VK_CALL(interface, BindImageMemory(device, image, *memory, 0)); 133 // and the image is linear. 85 AllocAndBindImageMemory(const GrVkGpu* gpu, VkImage image, const VkMemoryPropertyFlags flags, VkDeviceMemory* memory) argument
|
H A D | GrVkTexture.cpp | 46 VkImage image = imageResource->fImage; local 47 const GrVkImageView* imageView = GrVkImageView::Create(gpu, image, format, 67 // Create() will increment the refCount of the image resource if it succeeds
|
H A D | GrVkTextureRenderTarget.cpp | 24 VkImage image = imageResource->fImage; local 26 const GrVkImageView* imageView = GrVkImageView::Create(gpu, image, format, 59 // Set color attachment image 68 resolveAttachmentView = GrVkImageView::Create(gpu, image, pixelFormat, 77 // Set color attachment image 132 // Create() will increment the refCount of the image resource if it succeeds
|
/external/skia/src/utils/ |
H A D | SkImageGeneratorUtils.cpp | 106 GeneratorFromImage(const SkImage* image, const SkImageInfo& info) argument 107 : SkImageGenerator(info), fImage(image) {} 124 SkImageGenerator* SkImageGeneratorUtils::NewFromImage(const SkImage* image) { argument 125 if (image) { 127 const SkAlphaType at = image->isOpaque() ? kOpaque_SkAlphaType : kPremul_SkAlphaType; 128 const SkImageInfo info = SkImageInfo::Make(image->width(), image->height(), ct, at); 129 return new GeneratorFromImage(image, info);
|
/external/skia/tests/ |
H A D | EGLImageTest.cpp | 100 GrEGLImage image = GR_EGL_NO_IMAGE; local 105 cleanup(glCtx0, externalTexture.fID, glCtx1, context1, backendTexture1, image); 111 cleanup(glCtx0, externalTexture.fID, glCtx1, context1, backendTexture1, image); 125 cleanup(glCtx0, externalTexture.fID, glCtx1, context1, backendTexture1, image); 130 cleanup(glCtx0, externalTexture.fID, glCtx1, context1, backendTexture1, image); 135 image = glCtx1->texture2DToEGLImage(backendTexture1->fID); 136 if (GR_EGL_NO_IMAGE == image) { 138 cleanup(glCtx0, externalTexture.fID, glCtx1, context1, backendTexture1, image); 143 // the EGL image. Also, this must be done after creating the EGLImage as the texture 144 // contents may not be preserved when the image i [all...] |
/external/autotest/client/deps/webgl_mpd/src/resources/ |
H A D | J3DI.js | 532 // Load the image at the passed url, place it in a new WebGLTexture object and return the WebGLTexture. 539 var image = new Image(); 540 g_loadingImages.push(image); 541 image.onload = function() { doLoadImageTexture(ctx, image, texture) } 542 image.src = url; 546 function doLoadImageTexture(ctx, image, texture) 548 g_loadingImages.splice(g_loadingImages.indexOf(image), 1); 551 ctx.TEXTURE_2D, 0, ctx.RGBA, ctx.RGBA, ctx.UNSIGNED_BYTE, image);
|
/external/ceres-solver/examples/ |
H A D | denoising.cc | 55 DEFINE_string(input, "", "File to which the output image should be written"); 57 DEFINE_string(output, "", "File to which the output image should be written"); 90 const PGMImage<double>& image, 96 for (unsigned index = 0; index < image.NumPixels(); ++index) { 99 image.PixelFromLinearIndex(index)); 114 // Add FoE regularization for each patch in the image. 115 for (int x = 0; x < image.width() - (foe.Size() - 1); ++x) { 116 for (int y = 0; y < image.height() - (foe.Size() - 1); ++y) { 176 usage("This program denoises an image using Ceres. Sample usage:\n"); 178 usage += " --input=<noisy image PG 89 CreateProblem(const FieldsOfExperts& foe, const PGMImage<double>& image, Problem* problem, PGMImage<double>* solution) argument [all...] |
/external/deqp/framework/delibs/deimage/ |
H A D | deTarga.c | 32 deImage* image = DE_NULL; local 73 /* Create image. */ 74 image = deImage_create(width, height, format); 75 DE_TEST_ASSERT(image); 86 deARGB* dst = (deUint32*)((deUint8*)image->pixels + dstY*image->width*bpp); 116 return image; 119 deBool deImage_saveTarga (const deImage* image, const char* fileName) argument 122 int width = image->width; 123 int height = image [all...] |
/external/dng_sdk/source/ |
H A D | dng_host.cpp | 132 // size image. 522 AutoPtr<dng_image> &image) 527 image); 520 ApplyOpcodeList(dng_opcode_list &list, dng_negative &negative, AutoPtr<dng_image> &image) argument
|
H A D | dng_jpeg_image.cpp | 70 const dng_image &image, 77 , fImage (image) 168 const dng_image &image) 175 DNG_ASSERT (image.PixelType () == ttByte, "Cannot JPEG encode non-byte image"); 177 fImageSize = image.Bounds ().Size (); 184 ifd.fSamplesPerPixel = image.Planes (); 207 image.Bounds ().Size () == negative.OriginalDefaultFinalSize (); 230 image, 68 dng_jpeg_image_encode_task(dng_host &host, dng_image_writer &writer, const dng_image &image, dng_jpeg_image &jpegImage, uint32 tileCount, const dng_ifd &ifd) argument 165 Encode(dng_host &host, const dng_negative &negative, dng_image_writer &writer, const dng_image &image) argument
|
/external/kernel-headers/original/uapi/linux/ |
H A D | cycx_cfm.h | 27 #define CFM_IMAGE_SIZE 0x20000 /* max size of CYCX code image file */ 80 * @checksum - info + image 84 * @image - code image (variable size) 93 unsigned char image[0]; member in struct:cycx_firmware
|
/external/libjpeg-turbo/ |
H A D | rdrle.c | 50 * For now, we ignore any alpha channel in the image. 58 * Since RLE stores scanlines bottom-to-top, we have to invert the image 60 * incoming image into a virtual array on the first get_pixel_rows call, 70 jvirt_sarray_ptr image; /* virtual array to hold the image */ member in struct:_rle_source_struct 79 * Read the file header; return image size and component count. 165 /* request a virtual array to hold the image */ 166 source->image = (*cinfo->mem->request_virt_sarray) 184 * Called only after load_image has read the image into the virtual array. 195 ((j_common_ptr) cinfo, source->image, sourc [all...] |