Searched refs:picture (Results 1 - 25 of 49) sorted by relevance

12

/external/webp/src/enc/
H A Dpicture.c39 int WebPPictureAlloc(WebPPicture* picture) { argument
40 if (picture != NULL) {
41 const WebPEncCSP uv_csp = picture->colorspace & WEBP_CSP_UV_MASK;
42 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT;
43 const int width = picture->width;
44 const int height = picture->height;
46 if (!picture->use_argb) {
90 WebPPictureFree(picture); // erase previous buffer
95 picture->memory_ = (void*)mem;
96 picture
140 PictureResetARGB(WebPPicture* const picture) argument
147 PictureResetYUVA(WebPPicture* const picture) argument
168 PictureAllocARGB(WebPPicture* const picture) argument
184 WebPPictureFree(WebPPicture* picture) argument
268 WebPPictureIsView(const WebPPicture* picture) argument
477 WebPMemoryWrite(const uint8_t* data, size_t data_size, const WebPPicture* picture) argument
527 WebPPictureHasTransparency(const WebPPicture* picture) argument
575 MakeGray(WebPPicture* const picture) argument
585 ImportYUVAFromRGBA(const uint8_t* const r_ptr, const uint8_t* const g_ptr, const uint8_t* const b_ptr, const uint8_t* const a_ptr, int step, int rgb_stride, WebPPicture* const picture) argument
668 Import(WebPPicture* const picture, const uint8_t* const rgb, int rgb_stride, int step, int swap_rb, int import_alpha) argument
724 WebPPictureImportRGB(WebPPicture* picture, const uint8_t* rgb, int rgb_stride) argument
729 WebPPictureImportBGR(WebPPicture* picture, const uint8_t* rgb, int rgb_stride) argument
734 WebPPictureImportRGBA(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
739 WebPPictureImportBGRA(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
744 WebPPictureImportRGBX(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
749 WebPPictureImportBGRX(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
757 WebPPictureYUVAToARGB(WebPPicture* picture) argument
816 WebPPictureARGBToYUVA(WebPPicture* picture, WebPEncCSP colorspace) argument
[all...]
H A Dvp8li.h26 const WebPPicture* pic_; // input picture.
51 // Encodes the picture.
52 // Returns 0 if config or picture is NULL or picture doesn't have valid argb
55 const WebPPicture* const picture);
59 const WebPPicture* const picture,
H A Dalpha.c55 WebPPicture picture; local
58 WebPPictureInit(&picture);
59 picture.width = width;
60 picture.height = height;
61 picture.use_argb = 1;
62 picture.stats = stats;
63 if (!WebPPictureAlloc(&picture)) return 0;
68 uint32_t* dst = picture.argb;
70 for (j = 0; j < picture.height; ++j) {
71 for (i = 0; i < picture
[all...]
H A Dwebpenc.c42 const WebPPicture* const picture) {
46 (void)picture;
50 int WebPPictureInitInternal(WebPPicture* picture, int version) { argument
54 if (picture != NULL) {
55 memset(picture, 0, sizeof(*picture));
56 picture->writer = DummyWriter;
57 WebPEncodingSetError(picture, VP8_ENC_OK);
129 // Typical memory footprint (768x510 picture)
148 WebPPicture* const picture) {
41 DummyWriter(const uint8_t* data, size_t data_size, const WebPPicture* const picture) argument
147 InitVP8Encoder(const WebPConfig* const config, WebPPicture* const picture) argument
[all...]
H A Dvp8l.c917 const WebPPicture* const picture = enc->pic_; local
921 enc->histo_bits_ = GetHistoBits(config, picture);
929 const WebPPicture* const picture) {
932 WebPEncodingSetError(picture, VP8_ENC_ERROR_OUT_OF_MEMORY);
936 enc->pic_ = picture;
949 const WebPPicture* const picture,
953 const int width = picture->width;
954 const int height = picture->height;
955 VP8LEncoder* const enc = VP8LEncoderNew(config, picture);
987 picture
928 VP8LEncoderNew(const WebPConfig* const config, const WebPPicture* const picture) argument
948 VP8LEncodeStream(const WebPConfig* const config, const WebPPicture* const picture, VP8LBitWriter* const bw) argument
1056 VP8LEncodeImage(const WebPConfig* const config, const WebPPicture* const picture) argument
[all...]
H A DAndroid.mk29 picture.c \
/external/webkit/Source/WebCore/platform/graphics/android/layers/
H A DPicturePileLayerContent.cpp34 SkPicture picture;
35 draw(picture.beginRecording(width(), height(),
37 picture.endRecording();
38 picture.serialize(stream);
H A DPictureLayerContent.h35 PictureLayerContent(SkPicture* picture);
H A DPictureLayerContent.cpp13 PictureLayerContent::PictureLayerContent(SkPicture* picture) argument
14 : m_picture(picture)
71 // no content to draw, discard picture so UI / tile generation
H A DLayerAndroid.h417 LayerAndroid(SkPicture* picture) :
418 m_recordingPicture(picture), // does not assign ownership
421 SkPicture* picture() const { return m_recordingPicture; }
/external/webp/include/webp/
H A Dencode.h71 WEBP_HINT_PICTURE, // digital picture, like portrait, inner shot
104 int show_compressed; // if true, export the compressed picture back.
117 // of source picture. These presets are used when calling WebPConfigPreset().
120 WEBP_PRESET_PICTURE, // digital picture, like portrait, inner shot
188 // data/data_size is the segment of data to write, and 'picture' is for
189 // reference (and so one can make use of picture->custom_ptr).
191 const WebPPicture* picture);
208 const WebPPicture* picture);
213 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture);
237 VP8_ENC_ERROR_BAD_DIMENSION, // picture ha
326 WebPPictureInit(WebPPicture* picture) argument
337 WEBP_EXTERN(int) WebPPictureAlloc(WebPPicture* picture); variable
344 WEBP_EXTERN(void) WebPPictureFree(WebPPicture* picture); variable
386 WEBP_EXTERN(int) WebPPictureIsView(const WebPPicture* picture); variable
430 WEBP_EXTERN(int) WebPPictureYUVAToARGB(WebPPicture* picture); variable
435 WEBP_EXTERN(void) WebPCleanupTransparentArea(WebPPicture* picture); variable
440 WEBP_EXTERN(int) WebPPictureHasTransparency(const WebPPicture* picture); variable
[all...]
/external/webkit/Source/WebKit/android/jni/
H A DPicturePile.cpp59 : picture(other.picture)
64 SkSafeRef(picture);
69 SkSafeUnref(picture);
105 if (pc.picture && !canvas->quickReject(pc.area, SkCanvas::kBW_EdgeType)) {
184 Picture* picture = recordPicture(painter, pc); local
185 SkSafeUnref(pc.picture);
186 pc.picture = picture;
295 if (m_pile[i].picture)
312 Recording* picture = new Recording(); local
339 SkPicture* picture = new SkPicture(); local
[all...]
H A DPicturePile.h70 Picture* picture; member in class:WebCore::PictureContainer
77 : picture(0)
H A DViewStateSerializer.cpp159 SkPicture* picture = new SkPicture(stream); local
160 PictureLayerContent* content = new PictureLayerContent(picture);
170 SkSafeUnref(picture);
512 SkPicture* picture = new SkPicture(stream); local
513 PictureLayerContent* content = new PictureLayerContent(picture);
516 SkSafeUnref(picture);
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestwin.c24 SDL_Surface *picture; local
34 fprintf(stderr, "Loading picture: %s\n", bmpfile);
35 picture = SDL_LoadBMP(bmpfile);
36 if ( picture == NULL ) {
43 if ( picture->format->palette ) {
44 ncolors = picture->format->palette->ncolors;
47 memcpy(colors, picture->format->palette->colors,
94 /* Display the picture */
98 fprintf(stderr, "Converting picture\n");
99 displayfmt = SDL_DisplayFormat(picture);
[all...]
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DInspectorCanvas.h43 InspectorCanvas(SkBounder* bounder, SkPicture* picture) argument
44 : m_picture(picture)
/external/skia/bench/
H A DPicturePlaybackBench.cpp29 N = SkBENCHLOOP(1000), // number of times to playback the picture
41 SkPicture picture; local
43 SkCanvas* pCanvas = picture.beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT);
45 picture.endRecording();
50 picture.draw(canvas);
/external/chromium/chrome/browser/resources/options/chromeos/
H A Daccounts_user_list.js42 user.picture = this.user_pictures_[user.email];
160 if (this.user.picture) {
161 icon.src = this.user.picture;
/external/flac/libFLAC/
H A Dmetadata_object.c489 object->data.picture.type = FLAC__STREAM_METADATA_PICTURE_TYPE_OTHER;
490 object->data.picture.mime_type = 0;
491 object->data.picture.description = 0;
493 object->data.picture.width = 0;
494 object->data.picture.height = 0;
495 object->data.picture.depth = 0;
496 object->data.picture.colors = 0;
497 object->data.picture.data_length = 0;
498 object->data.picture.data = 0;
501 if(!copy_cstring_(&object->data.picture
[all...]
H A Dstream_encoder_framing.c183 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.picture.type, FLAC__STREAM_METADATA_PICTURE_TYPE_LEN))
185 len = strlen(metadata->data.picture.mime_type);
188 if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)metadata->data.picture.mime_type, len))
190 len = strlen((const char *)metadata->data.picture.description);
193 if(!FLAC__bitwriter_write_byte_block(bw, metadata->data.picture.description, len))
195 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.picture.width, FLAC__STREAM_METADATA_PICTURE_WIDTH_LEN))
197 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.picture.height, FLAC__STREAM_METADATA_PICTURE_HEIGHT_LEN))
199 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.picture.depth, FLAC__STREAM_METADATA_PICTURE_DEPTH_LEN))
201 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.picture.colors, FLAC__STREAM_METADATA_PICTURE_COLORS_LEN))
203 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.picture
[all...]
/external/skia/src/utils/
H A DSkDumpCanvas.cpp367 void SkDumpCanvas::drawPicture(SkPicture& picture) { argument
368 this->dump(kDrawPicture_Verb, NULL, "drawPicture(%p) %d:%d", &picture,
369 picture.width(), picture.height());
371 this->INHERITED::drawPicture(picture);
373 this->dump(kDrawPicture_Verb, NULL, "endPicture(%p) %d:%d", &picture,
374 picture.width(), picture.height());
/external/webkit/Source/WebCore/platform/graphics/android/context/
H A DRecordingContextCanvasProxy.h87 virtual void drawPicture(SkPicture& picture) { /* NOT IMPLEMENTED*/ CRASH(); } argument
/external/webkit/Source/WebCore/platform/graphics/android/
H A DGraphicsLayerAndroid.cpp754 SkPicture* picture = new SkPicture(); local
755 SkCanvas* canvas = picture->beginRecording(layerBounds.width(),
770 picture->endRecording();
773 PictureLayerContent* layerContent = new PictureLayerContent(picture);
777 SkSafeUnref(picture);
794 // picture.
840 PicturePile& picture)
847 picture.setSize(IntSize(layer->getWidth(), layer->getHeight()));
850 picture.updatePicturesIfNeeded(this);
853 PicturePileLayerContent* content = new PicturePileLayerContent(picture);
839 paintContext(LayerAndroid* layer, PicturePile& picture) argument
[all...]
/external/flac/include/FLAC/
H A Dformat.h768 /**< The kind of picture stored. */
773 * use picture data of MIME type \c image/jpeg or \c image/png. A
774 * MIME type of '-->' is also allowed, in which case the picture
798 /**< For indexed palettes (like GIF), picture's number of colors (the
803 /**< Length of binary picture data in bytes. */
806 /**< Binary picture data. */
850 FLAC__StreamMetadata_Picture picture; member in union:__anon5433::__anon5434
986 /** Check picture data to see if it conforms to the FLAC specification.
990 * \param picture A pointer to existing picture dat
[all...]
/external/skia/src/core/
H A DSkPictureRecord.h61 virtual void drawPicture(SkPicture& picture) SK_OVERRIDE;
120 void addPicture(SkPicture& picture);

Completed in 332 milliseconds

12