Searched refs:pic (Results 1 - 25 of 159) sorted by relevance

1234567

/external/webp/src/enc/
H A Dpicture_rescale.c35 static void SnapTopLeftPosition(const WebPPicture* const pic, argument
37 if (!pic->use_argb) {
44 static int AdjustAndCheckRectangle(const WebPPicture* const pic, argument
47 SnapTopLeftPosition(pic, left, top);
50 if ((*left) + width > pic->width) return 0;
51 if ((*top) + height > pic->height) return 0;
122 int WebPPictureCrop(WebPPicture* pic, argument
126 if (pic == NULL) return 0;
127 if (!AdjustAndCheckRectangle(pic, &left, &top, width, height)) return 0;
129 PictureGrabSpecs(pic,
181 AlphaMultiplyARGB(WebPPicture* const pic, int inverse) argument
187 AlphaMultiplyY(WebPPicture* const pic, int inverse) argument
194 WebPPictureRescale(WebPPicture* pic, int width, int height) argument
[all...]
H A Dpicture_tools.c70 void WebPCleanupTransparentArea(WebPPicture* pic) { argument
72 if (pic == NULL) return;
73 w = pic->width / SIZE;
74 h = pic->height / SIZE;
77 if (pic->use_argb) {
82 const int off = (y * pic->argb_stride + x) * SIZE;
83 if (is_transparent_argb_area(pic->argb + off, pic->argb_stride, SIZE)) {
85 argb_value = pic->argb[off];
88 flatten_argb(pic
125 WebPCleanupTransparentAreaLossless(WebPPicture* const pic) argument
151 WebPBlendAlpha(WebPPicture* pic, uint32_t background_rgb) argument
[all...]
H A Dsyntax.c29 static int PutPaddingByte(const WebPPicture* const pic) { argument
31 return !!pic->writer(pad_byte, 1, pic);
39 const WebPPicture* const pic = enc->pic_; local
45 if (!pic->writer(riff, sizeof(riff), pic)) {
52 const WebPPicture* const pic = enc->pic_; local
59 assert(pic->width >= 1 && pic->height >= 1);
60 assert(pic
77 const WebPPicture* const pic = enc->pic_; local
102 PutVP8Header(const WebPPicture* const pic, size_t vp8_size) argument
115 PutVP8FrameHeader(const WebPPicture* const pic, int profile, size_t size0) argument
151 WebPPicture* const pic = enc->pic_; local
248 EmitPartitionsSize(const VP8Encoder* const enc, WebPPicture* const pic) argument
312 WebPPicture* const pic = enc->pic_; local
[all...]
H A Dwebpenc.c290 int WebPEncodingSetError(const WebPPicture* const pic, argument
294 ((WebPPicture*)pic)->error_code = error;
298 int WebPReportProgress(const WebPPicture* const pic, argument
302 if (pic->progress_hook && !pic->progress_hook(percent, pic)) {
304 WebPEncodingSetError(pic, VP8_ENC_ERROR_USER_ABORT);
312 int WebPEncode(const WebPConfig* config, WebPPicture* pic) { argument
315 if (pic == NULL)
317 WebPEncodingSetError(pic, VP8_ENC_O
[all...]
H A Diterator.c130 const WebPPicture* const pic = enc->pic_; local
131 const uint8_t* const ysrc = pic->y + (y * pic->y_stride + x) * 16;
132 const uint8_t* const usrc = pic->u + (y * pic->uv_stride + x) * 8;
133 const uint8_t* const vsrc = pic->v + (y * pic->uv_stride + x) * 8;
134 const int w = MinSize(pic->width - x * 16, 16);
135 const int h = MinSize(pic->height - y * 16, 16);
139 ImportBlock(ysrc, pic
191 const WebPPicture* const pic = enc->pic_; local
[all...]
/external/skia/tools/
H A Dpinspect.cpp37 SkPicture* pic = SkPicture::CreateFromStream(&stream); local
38 if (nullptr == pic) {
43 pic->cullRect().fLeft, pic->cullRect().fTop,
44 pic->cullRect().fRight, pic->cullRect().fBottom);
45 return pic;
48 static void dumpOps(SkPicture* pic) { argument
52 canvas.drawPicture(pic);
75 SkAutoTUnref<SkPicture> pic(inspec
[all...]
/external/ImageMagick/Magick++/demo/
H A Dgravity.cpp59 Image pic = base; local
60 pic.annotate( "NorthWest", Geometry(0,0,x,y), NorthWestGravity, angle );
61 pic.annotate( "North", Geometry(0,0,0,y), NorthGravity, angle );
62 pic.annotate( "NorthEast", Geometry(0,0,x,y), NorthEastGravity, angle );
63 pic.annotate( "East", Geometry(0,0,x,0), EastGravity, angle );
64 pic.annotate( "Center", Geometry(0,0,0,0), CenterGravity, angle );
65 pic.annotate( "SouthEast", Geometry(0,0,x,y), SouthEastGravity, angle );
66 pic.annotate( "South", Geometry(0,0,0,y), SouthGravity, angle );
67 pic.annotate( "SouthWest", Geometry(0,0,x,y), SouthWestGravity, angle );
68 pic
[all...]
/external/webp/include/webp/
H A Dextras.h39 WEBP_EXTERN(int) WebPImportRGB565(const uint8_t* rgb565, WebPPicture* pic);
43 WEBP_EXTERN(int) WebPImportRGB4444(const uint8_t* rgb4444, WebPPicture* pic);
/external/webp/src/webp/
H A Dextras.h39 WEBP_EXTERN(int) WebPImportRGB565(const uint8_t* rgb565, WebPPicture* pic);
43 WEBP_EXTERN(int) WebPImportRGB4444(const uint8_t* rgb4444, WebPPicture* pic);
/external/opencv3/3rdparty/libwebp/enc/
H A Dsyntax.c33 static int PutPaddingByte(const WebPPicture* const pic) { argument
35 return !!pic->writer(pad_byte, 1, pic);
43 const WebPPicture* const pic = enc->pic_; local
49 if (!pic->writer(riff, sizeof(riff), pic)) {
56 const WebPPicture* const pic = enc->pic_; local
63 assert(pic->width >= 1 && pic->height >= 1);
64 assert(pic
81 const WebPPicture* const pic = enc->pic_; local
106 PutVP8Header(const WebPPicture* const pic, size_t vp8_size) argument
119 PutVP8FrameHeader(const WebPPicture* const pic, int profile, size_t size0) argument
155 WebPPicture* const pic = enc->pic_; local
252 EmitPartitionsSize(const VP8Encoder* const enc, WebPPicture* const pic) argument
277 WebPPicture* const pic = enc->pic_; local
357 WebPPicture* const pic = enc->pic_; local
[all...]
H A Dwebpenc.c337 int WebPEncodingSetError(const WebPPicture* const pic, argument
341 ((WebPPicture*)pic)->error_code = error;
345 int WebPReportProgress(const WebPPicture* const pic, argument
349 if (pic->progress_hook && !pic->progress_hook(percent, pic)) {
351 WebPEncodingSetError(pic, VP8_ENC_ERROR_USER_ABORT);
359 int WebPEncode(const WebPConfig* config, WebPPicture* pic) { argument
362 if (pic == NULL)
364 WebPEncodingSetError(pic, VP8_ENC_O
[all...]
H A Dpicture.c209 static void SnapTopLeftPosition(const WebPPicture* const pic, argument
211 if (!pic->use_argb) {
212 const int is_yuv422 = IS_YUV_CSP(pic->colorspace, WEBP_YUV422);
213 if (IS_YUV_CSP(pic->colorspace, WEBP_YUV420) || is_yuv422) {
221 static int AdjustAndCheckRectangle(const WebPPicture* const pic, argument
224 SnapTopLeftPosition(pic, left, top);
227 if ((*left) + width > pic->width) return 0;
228 if ((*top) + height > pic->height) return 0;
320 int WebPPictureCrop(WebPPicture* pic, argument
324 if (pic
398 WebPPictureRescale(WebPPicture* pic, int width, int height) argument
876 WebPCleanupTransparentArea(WebPPicture* pic) argument
1056 WebPPicture pic; local
[all...]
H A Diterator.c109 const WebPPicture* const pic = enc->pic_; local
110 const uint8_t* const ysrc = pic->y + (y * pic->y_stride + x) * 16;
111 const uint8_t* const usrc = pic->u + (y * pic->uv_stride + x) * 8;
112 const uint8_t* const vsrc = pic->v + (y * pic->uv_stride + x) * 8;
116 int w = (pic->width - x * 16);
117 int h = (pic->height - y * 16);
123 ImportBlock(ysrc, pic
152 const WebPPicture* const pic = enc->pic_; local
[all...]
/external/e2fsprogs/lib/
H A DMakefile.bsd-lib16 @echo " MKDIR pic"
17 @mkdir -p pic
25 (cd pic; ld -Bshareable -o $(BSD_LIB) $(LDFLAGS) $(OBJS))
26 $(MV) pic/$(BSD_LIB) .
45 $(RM) -rf pic
H A DMakefile.darwin-lib16 $(E) " MKDIR pic"
17 $(Q) mkdir -p pic
26 $(Q) (cd pic; $(CC) -dynamiclib -compatibility_version 1.0 -current_version $(BSDLIB_VERSION) \
28 $(Q) $(MV) pic/$(BSD_LIB) .
48 $(RM) -rf pic
/external/clang/test/Analysis/engine/
H A Dreplay-without-inlining.c37 static void readILBM(IB *st, Info *pic) { argument
39 pic->usedtobeundef.w = 5;
52 Info pic; local
56 readILBM(&st,&pic);
57 return pic.usedtobeundef.w; // No undefined value warning here.
/external/libjpeg-turbo/simd/
H A Dnasm_lt.sh5 pic=no
12 if [ "$pic" != "yes" ] ; then
14 pic=yes
/external/skia/samplecode/
H A DSamplePictFile.cpp154 SkAutoTUnref<SkPicture> pic; local
164 pic.reset(recorder.endRecording());
168 pic.reset(SkPicture::CreateFromStream(&stream));
175 pic->playback(recorder.beginRecording(pic->cullRect().width(),
176 pic->cullRect().height(),
187 if (nullptr == pic) {
195 return pic.detach();
204 pic->playback(recorder.beginRecording(pic
[all...]
H A DSamplePdfFileViewer.cpp45 SkPicture* pic = new SkPicture; local
46 SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(),
49 pic->endRecording();
50 return pic;
H A DSampleClamp.cpp53 SkPicture pic; local
54 SkCanvas* c = pic.beginRecording(100, 100, 0);
/external/skia/tests/
H A DRecordReplaceDrawTest.cpp36 SkAutoTUnref<const SkPicture> pic; local
46 pic.reset(recorder.endRecording());
53 GrRecordReplaceDraw(pic, &canvas, nullptr, SkMatrix::I(), &callback);
71 SkAutoTUnref<const SkPicture> pic; local
80 pic.reset(recorder.endRecording());
86 GrRecordReplaceDraw(pic, &canvas, nullptr, SkMatrix::I(), nullptr/*callback*/);
94 SkAutoTUnref<const SkPicture> pic; local
105 pic.reset(recorder.endRecording());
115 GrCachedLayer* layer = layerCache->findLayerOrCreate(pic->uniqueID(), 0, 2,
134 GrRecordReplaceDraw(pic,
[all...]
/external/llvm/test/MC/Mips/
H A Dcprestore-warning-unused.s1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32 -relocation-model=pic 2>%t1
/external/skia/bench/
H A DRecordingBench.cpp13 RecordingBench::RecordingBench(const char* name, const SkPicture* pic, bool useBBH) argument
14 : fSrc(SkRef(pic))
/external/skia/gm/
H A Dimage_shader.cpp29 static SkImage* make_raster(GrContext*, const SkPicture* pic, const SkImageInfo& info) { argument
32 surface->getCanvas()->drawPicture(pic);
36 static SkImage* make_texture(GrContext* ctx, const SkPicture* pic, const SkImageInfo& info) { argument
43 surface->getCanvas()->drawPicture(pic);
47 static SkImage* make_pict_gen(GrContext*, const SkPicture* pic, const SkImageInfo& info) { argument
48 return SkImage::NewFromPicture(pic, info.dimensions(), nullptr, nullptr);
51 static SkImage* make_encode_gen(GrContext* ctx, const SkPicture* pic, const SkImageInfo& info) { argument
52 SkAutoTUnref<SkImage> src(make_raster(ctx, pic, info));
/external/skia/tools/VisualBench/
H A DVisualSKPBench.cpp15 VisualSKPBench::VisualSKPBench(const char* name, const SkPicture* pic) argument
16 : fPic(SkRef(pic))

Completed in 1811 milliseconds

1234567