/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
AlignFeatures.h | 65 int addFrameRGB(ImageType image); 66 int addFrame(ImageType image);
|
ImageUtils.cpp | 34 ImageType image = in; local 38 r = (*image++); 39 g = (*image++); 40 b = (*image++); 41 a = (*image++); 79 ImageType image = in; local 83 r = (*image++); 84 g = (*image++); 85 b = (*image++); 120 ImageType image = in local 150 ImageType image = in; local 196 unsigned char *image = out; local 241 unsigned char *image = out; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/ |
CommonAction.java | 41 * @param image 43 public CommonAction(String text, ImageDescriptor image) { 44 super(text, image);
|
/external/autotest/client/cros/faft/utils/ |
flashrom_handler.py | 9 flashrom chip and to parse the flash rom image. 96 # make sure it does not accidentally overwrite the image. 99 self.image = '' 137 """Parse the full flashrom image and store sections into files. 141 flashrom image. If not passed in or empty - the actual 151 self.image = open(image_file, 'rb').read() 154 self.image = self.fum.read_whole() 160 blob = self.fum.get_section(self.image, subsection_name) 167 blob = self.fum.get_section(self.image, section.get_body_name()) 179 self.image, section.get_sig_name() [all...] |
/external/opencv/otherlibs/highgui/ |
loadsave.cpp | 272 * Image Readers & Writers Class * 346 // global image I/O filters 391 IplImage* image = 0; local 451 CV_CALL( image = cvCreateImage( size, type, cn )); 452 matrix = cvGetMat( image, &hdr ); 460 cvReleaseImage( &image ); 473 cvReleaseImage( &image ); 476 return load_as_matrix ? (void*)matrix : (void*)image; 504 CvMat stub, *image; local 510 CV_CALL( image = cvGetMat( arr, &stub )) [all...] |
/external/zopfli/src/zopflipng/ |
zopflipng_lib.cc | 87 // Counts amount of colors in the image, up to 257. If transparent_counts_as_one 91 const unsigned char* image, unsigned w, unsigned h, 95 unsigned index = ColorIndex(&image[i * 4]); 96 if (transparent_counts_as_one && image[i * 4 + 3] == 0) index = 0; 103 void LossyOptimizeTransparent(lodepng::State* inputstate, unsigned char* image, 109 if (image[i * 4 + 3] > 0 && image[i * 4 + 3] < 255) { 115 CountColors(&count, image, w, h, true); 124 if (image[i * 4 + 3] == 0) { 127 // existing in the input image palette is used 361 std::vector<unsigned char> image; local [all...] |
/external/opencv3/modules/imgcodecs/src/ |
grfmt_jpeg2000.cpp | 121 jas_image_t* image = jas_image_decode( stream, -1, 0 ); local 122 m_image = image; 123 if( image ) { 124 m_width = jas_image_width( image ); 125 m_height = jas_image_height( image ); 128 int numcmpts = jas_image_numcmpts( image ); 132 int depth_i = jas_image_cmptprec( image, i ); 134 if( jas_image_cmpttype( image, i ) > 2 ) 161 jas_image_t* image = (jas_image_t*)m_image; local 178 if( stream && image ) 291 jas_image_t* image = (jas_image_t*)m_image; local 355 jas_image_t* image = (jas_image_t*)m_image; local [all...] |
grfmt_webp.cpp | 212 const Mat *image = &img; local 245 cvtColor(*image, temp, CV_GRAY2BGR); 246 image = &temp; 258 size = WebPEncodeLosslessBGR(image->ptr(), width, height, (int)image->step, &out); 262 size = WebPEncodeLosslessBGRA(image->ptr(), width, height, (int)image->step, &out); 269 size = WebPEncodeBGR(image->ptr(), width, height, (int)image->step, quality, &out); 273 size = WebPEncodeBGRA(image->ptr(), width, height, (int)image->step, quality, &out) [all...] |
/external/skia/gm/ |
tileimagefilter.cpp | 59 const SkImage* image = (i & 0x01) ? fCheckerboard : fBitmap; variable 60 SkRect srcRect = SkRect::MakeXYWH(SkIntToScalar(image->width()/4), 61 SkIntToScalar(image->height()/4), 62 SkIntToScalar(image->width()/(i+1)), 63 SkIntToScalar(image->height()/(i+1))); 66 SkIntToScalar(image->width() - i * 12), 67 SkIntToScalar(image->height()) - i * 12); 68 SkAutoTUnref<SkImageFilter> tileInput(SkImageSource::Create(image)); 79 x += image->width() + MARGIN; 80 if (x + image->width() > WIDTH) [all...] |
/frameworks/av/media/ndk/ |
NdkImage.cpp | 109 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 123 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 137 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 151 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 165 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 183 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 238 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 346 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 501 void AImage_delete(AImage* image) { 503 if (image != nullptr) [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
SurfaceHolderTarget.java | 17 package androidx.media.filterpacks.image; 101 .addInputPort("image", Signature.PORT_REQUIRED, imageType) 126 FrameImage2D image = getConnectedInputPort("image").pullFrame().asFrameImage2D(); local 131 renderGL(image); 133 renderCanvas(image); 141 * @param image the image to render 143 private void renderGL(FrameImage2D image) { 148 Rect frameRect = new Rect(0, 0, image.getWidth(), image.getHeight()) [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_tex.c | 54 struct gl_texture_image *image) 57 struct intel_texture_image *intel_image = intel_texture_image(image); 58 struct gl_texture_object *texobj = image->TexObject; 62 assert(image->Border == 0); 68 ctx->Driver.FreeTextureImageBuffer(ctx, image); 74 slices = image->Depth; 77 slices = image->Height; 85 _swrast_init_texture_image(image); 88 intel_miptree_match_image(intel_texobj->mt, image)) { 91 __FUNCTION__, texobj, image->Level [all...] |
/external/opencv3/modules/videoio/src/ |
cap_cmu.cpp | 61 image = 0; 91 IplImage* image; member in class:CvCaptureCAM_CMU 197 // return the size of the image 357 // allocate image frame 358 image = cvCreateImage( size, 8, 3 ); 359 cvZero(image); 378 cvReleaseImage( &image ); 419 cmucam->getRGB((uchar*)image->imageData, image->imageSize); 420 cvConvertImage( image, image, CV_CVTIMG_SWAP_RB ) [all...] |
/external/opencv3/samples/cpp/ |
drawing.cpp | 30 Mat image = Mat::zeros(height, width, CV_8UC3); local 31 imshow(wndname, image); 42 line( image, pt1, pt2, randomColor(rng), rng.uniform(1,10), lineType ); 44 imshow(wndname, image); 58 rectangle( image, pt1, pt2, randomColor(rng), MAX(thickness, -1), lineType ); 60 imshow(wndname, image); 75 ellipse( image, center, axes, angle, angle - 100, angle + 200, 78 imshow(wndname, image); 101 polylines(image, ppt, npt, 2, true, randomColor(rng), rng.uniform(1,10), lineType); 103 imshow(wndname, image); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewWidget.java | 75 final ImageView image = (ImageView) findViewById(R.id.widget_preview); local 76 mOriginalImagePadding.left = image.getPaddingLeft(); 77 mOriginalImagePadding.top = image.getPaddingTop(); 78 mOriginalImagePadding.right = image.getPaddingRight(); 79 mOriginalImagePadding.bottom = image.getPaddingBottom(); 95 final ImageView image = (ImageView) findViewById(R.id.widget_preview); local 96 if (image != null) { 97 FastBitmapDrawable preview = (FastBitmapDrawable) image.getDrawable(); 102 image.setImageDrawable(null); 111 final ImageView image = (ImageView) findViewById(R.id.widget_preview) local 149 final PagedViewWidgetImageView image = local [all...] |
/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ |
Utils.cpp | 28 void drawQuestion(cv::Mat image, cv::Point3f point, cv::Scalar color) 35 cv::putText(image, text, cv::Point(25,50), fontFace, fontScale, color, thickness_font, 8); 39 void drawText(cv::Mat image, std::string text, cv::Scalar color) 41 cv::putText(image, text, cv::Point(25,50), fontFace, fontScale, color, thickness_font, 8); 45 void drawText2(cv::Mat image, std::string text, cv::Scalar color) 47 cv::putText(image, text, cv::Point(25,75), fontFace, fontScale, color, thickness_font, 8); 51 void drawFPS(cv::Mat image, double fps, cv::Scalar color) 55 cv::putText(image, text, cv::Point(500,50), fontFace, fontScale, color, thickness_font, 8); 59 void drawConfidence(cv::Mat image, double confidence, cv::Scalar color) 63 cv::putText(image, text, cv::Point(500,75), fontFace, fontScale, color, thickness_font, 8) [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
ImageUtils.java | 25 import java.awt.image.BufferedImage; 33 import static java.awt.image.BufferedImage.TYPE_INT_ARGB; 46 * Utilities related to image processing. 61 public static void requireSimilar(@NonNull String relativePath, @NonNull BufferedImage image) 63 int maxDimension = Math.max(image.getWidth(), image.getHeight()); 65 BufferedImage thumbnail = scale(image, scale, scale); 88 BufferedImage image, double maxPercentDifferent) throws IOException { 89 assertEquals("Only TYPE_INT_ARGB image types are supported", TYPE_INT_ARGB, image.getType()) [all...] |
/development/perftests/panorama/feature_mos/src/mosaic/ |
ImageUtils.cpp | 34 ImageType image = in; local 38 r = (*image++); 39 g = (*image++); 40 b = (*image++); 41 a = (*image++); 79 ImageType image = in; local 83 r = (*image++); 84 g = (*image++); 85 b = (*image++); 120 ImageType image = in local 150 ImageType image = in; local 196 unsigned char *image = out; local 241 unsigned char *image = out; local [all...] |
/cts/apps/CameraITS/tests/inprog/ |
test_rawstats.py | 15 import its.image namespace 36 mean_image, var_image = its.image.unpack_rawstats_capture(cap) 43 its.image.write_image(m, "%s_mean_ch%d.jpg" % (NAME,ch), True) 44 its.image.write_image(v, "%s_var_ch%d.jpg" % (NAME,ch), True)
|
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/ |
IconCardPresenter.java | 40 final ImageView image = imageCardView.getMainImageView(); local 41 image.setBackgroundResource(R.drawable.icon_focused); 42 image.getBackground().setAlpha(0); 46 animateIconBackground(image.getBackground(), hasFocus);
|
/device/generic/goldfish/camera/ |
JpegCompressor.h | 45 /* Compresses raw NV21 image into a JPEG. 46 * The compressed image will be saved in mStream member of this class. Use 47 * getCompressedSize method to obtain buffer size of the compressed image, 48 * and getCompressedImage to copy out the compressed image. 50 * image - Raw NV21 image. 51 * width, height - Image dimensions. 57 status_t compressRawImage(const void* image, 75 * entire image.
|
JpegStub.h | 29 int JpegStub_compress(JpegStub* stub, const void* image,
|
/external/eigen/doc/examples/ |
TutorialLinAlgRankRevealing.cpp | 19 << lu_decomp.image(A) << endl; // yes, have to pass the original A
|
/external/libpng/scripts/ |
def.c | 20 PNG_DFN "OS2 DESCRIPTION "PNG image compression library""
|
/external/opencv3/3rdparty/libjasper/ |
jp2_dec.h | 2 * Copyright (c) 1999-2000 Image Power, Inc. and the University of 13 * Copyright (c) 1999-2000 Image Power, Inc. 79 jas_image_t *image; member in struct:__anon20854
|