Home
last modified time | relevance | path

Searched refs:cimage (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/samples/cpp/
Dfitellipse.cpp70 Mat cimage = Mat::zeros(bimage.size(), CV_8UC3); in processImage() local
84 drawContours(cimage, contours, (int)i, Scalar::all(255), 1, 8); in processImage()
86 ellipse(cimage, box, Scalar(0,0,255), 1, LINE_AA); in processImage()
87 … ellipse(cimage, box.center, box.size*0.5f, box.angle, 0, 360, Scalar(0,255,255), 1, LINE_AA); in processImage()
91 line(cimage, vtx[j], vtx[(j+1)%4], Scalar(0,255,0), 1, LINE_AA); in processImage()
94 imshow("result", cimage); in processImage()
/external/skia/src/c/
Dsk_surface.cpp173 static const SkImage* AsImage(const sk_image_t* cimage) { in AsImage() argument
174 return reinterpret_cast<const SkImage*>(cimage); in AsImage()
177 static sk_image_t* ToImage(SkImage* cimage) { in ToImage() argument
178 return reinterpret_cast<sk_image_t*>(cimage); in ToImage()
235 sk_data_t* sk_image_encode(const sk_image_t* cimage) { in sk_image_encode() argument
236 return ToData(AsImage(cimage)->encode()); in sk_image_encode()
239 void sk_image_ref(const sk_image_t* cimage) { in sk_image_ref() argument
240 AsImage(cimage)->ref(); in sk_image_ref()
243 void sk_image_unref(const sk_image_t* cimage) { in sk_image_unref() argument
244 AsImage(cimage)->unref(); in sk_image_unref()
[all …]