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

12345

/external/webp/src/enc/
H A Dpicture_enc.c26 const WebPPicture* const picture) {
30 (void)picture;
34 int WebPPictureInitInternal(WebPPicture* picture, int version) { argument
38 if (picture != NULL) {
39 memset(picture, 0, sizeof(*picture));
40 picture->writer = DummyWriter;
41 WebPEncodingSetError(picture, VP8_ENC_OK);
48 static void WebPPictureResetBufferARGB(WebPPicture* const picture) { argument
49 picture
25 DummyWriter(const uint8_t* data, size_t data_size, const WebPPicture* const picture) argument
54 WebPPictureResetBufferYUVA(WebPPicture* const picture) argument
61 WebPPictureResetBuffers(WebPPicture* const picture) argument
66 WebPPictureAllocARGB(WebPPicture* const picture, int width, int height) argument
90 WebPPictureAllocYUVA(WebPPicture* const picture, int width, int height) argument
154 WebPPictureAlloc(WebPPicture* picture) argument
170 WebPPictureFree(WebPPicture* picture) argument
187 WebPMemoryWrite(const uint8_t* data, size_t data_size, const WebPPicture* picture) argument
[all...]
H A Dpicture_csp_enc.c53 int WebPPictureHasTransparency(const WebPPicture* picture) { argument
54 if (picture == NULL) return 0;
55 if (!picture->use_argb) {
56 return CheckNonOpaque(picture->a, picture->width, picture->height,
57 1, picture->a_stride);
60 const uint32_t* argb = picture->argb;
62 for (y = 0; y < picture->height; ++y) {
63 for (x = 0; x < picture
389 ConvertWRGBToYUV(const fixed_y_t* best_y, const fixed_t* best_uv, WebPPicture* const picture) argument
434 PreprocessARGB(const uint8_t* r_ptr, const uint8_t* g_ptr, const uint8_t* b_ptr, int step, int rgb_stride, WebPPicture* const picture) argument
831 ImportYUVAFromRGBA(const uint8_t* r_ptr, const uint8_t* g_ptr, const uint8_t* b_ptr, const uint8_t* a_ptr, int step, int rgb_stride, float dithering, int use_iterative_conversion, WebPPicture* const picture) argument
985 PictureARGBToYUVA(WebPPicture* picture, WebPEncCSP colorspace, float dithering, int use_iterative_conversion) argument
1005 WebPPictureARGBToYUVADithered(WebPPicture* picture, WebPEncCSP colorspace, float dithering) argument
1010 WebPPictureARGBToYUVA(WebPPicture* picture, WebPEncCSP colorspace) argument
1014 WebPPictureSharpARGBToYUVA(WebPPicture* picture) argument
1018 WebPPictureSmartARGBToYUVA(WebPPicture* picture) argument
1025 WebPPictureYUVAToARGB(WebPPicture* picture) argument
1087 Import(WebPPicture* const picture, const uint8_t* const rgb, int rgb_stride, int step, int swap_rb, int import_alpha) argument
1133 WebPPictureImportRGB(WebPPicture* picture, const uint8_t* rgb, int rgb_stride) argument
1140 WebPPictureImportBGR(WebPPicture* picture, const uint8_t* rgb, int rgb_stride) argument
1147 WebPPictureImportRGBA(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
1154 WebPPictureImportBGRA(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
1161 WebPPictureImportRGBX(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
1168 WebPPictureImportBGRX(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
[all...]
H A Dvp8li_enc.h32 const WebPPicture* pic_; // input picture.
66 // Encodes the picture.
67 // Returns 0 if config or picture is NULL or picture doesn't have valid argb
70 const WebPPicture* const picture);
75 const WebPPicture* const picture,
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Ddecode.c195 vlVdpDecoderRenderMpeg12(struct pipe_mpeg12_picture_desc *picture, argument
202 r = vlVdpGetReferenceFrame(picture_info->forward_reference, &picture->ref[0]);
206 r = vlVdpGetReferenceFrame(picture_info->backward_reference, &picture->ref[1]);
210 picture->picture_coding_type = picture_info->picture_coding_type;
211 picture->picture_structure = picture_info->picture_structure;
212 picture->frame_pred_frame_dct = picture_info->frame_pred_frame_dct;
213 picture->q_scale_type = picture_info->q_scale_type;
214 picture->alternate_scan = picture_info->alternate_scan;
215 picture->intra_vlc_format = picture_info->intra_vlc_format;
216 picture
236 vlVdpDecoderRenderMpeg4(struct pipe_mpeg4_picture_desc *picture, VdpPictureInfoMPEG4Part2 *picture_info) argument
275 vlVdpDecoderRenderVC1(struct pipe_vc1_picture_desc *picture, VdpPictureInfoVC1 *picture_info) argument
324 vlVdpDecoderRenderH264(struct pipe_h264_picture_desc *picture, VdpPictureInfoH264 *picture_info) argument
[all...]
/external/skia/src/core/
H A DSkPictureAnalyzer.cpp27 SkPictureGpuAnalyzer::SkPictureGpuAnalyzer(const sk_sp<SkPicture>& picture, argument
30 this->analyzePicture(picture.get());
33 void SkPictureGpuAnalyzer::analyzePicture(const SkPicture* picture) { argument
34 if (!picture) {
38 fNumSlowPaths += picture->numSlowPaths();
H A DSkMultiPictureDraw.cpp18 void SkMultiPictureDraw::DrawData::init(SkCanvas* canvas, const SkPicture* picture, argument
20 fPicture = SkRef(picture);
57 const SkPicture* picture,
60 if (nullptr == canvas || nullptr == picture) {
66 array.append()->init(canvas, picture, matrix, paint);
102 const SkPicture* picture = data.fPicture; local
104 canvas->drawPicture(picture, &data.fMatrix, data.fPaint);
56 add(SkCanvas* canvas, const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) argument
H A DSkPictureImageGenerator.cpp18 SkPictureImageGenerator::Make(const SkISize& size, sk_sp<SkPicture> picture, const SkMatrix* matrix, argument
21 if (!picture || size.isEmpty()) {
41 new SkPictureImageGenerator(info, std::move(picture), matrix, paint));
44 SkPictureImageGenerator::SkPictureImageGenerator(const SkImageInfo& info, sk_sp<SkPicture> picture, argument
47 , fPicture(std::move(picture)) {
81 SkImageGenerator::MakeFromPicture(const SkISize& size, sk_sp<SkPicture> picture, argument
85 // has a private entry point to create legacy picture backed images.
90 return SkPictureImageGenerator::Make(size, std::move(picture), matrix, paint, bitDepth,
/external/skia/tools/
H A Dgpuveto.cpp44 sk_sp<SkPicture> picture(SkPicture::MakeFromStream(&inputStream));
45 if (nullptr == picture) {
53 // an isn't serialized. Replay the picture to regenerated the tracking data.
55 picture->playback(recorder.beginRecording(picture->cullRect().width(),
56 picture->cullRect().height(),
/external/webp/include/webp/
H A Dencode.h87 WEBP_HINT_PICTURE, // digital picture, like portrait, inner shot
121 int show_compressed; // if true, export the compressed picture back.
151 // of source picture. These presets are used when calling WebPConfigPreset().
154 WEBP_PRESET_PICTURE, // digital picture, like portrait, inner shot
230 // data/data_size is the segment of data to write, and 'picture' is for
231 // reference (and so one can make use of picture->custom_ptr).
233 const WebPPicture* picture);
254 const WebPPicture* picture);
259 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture);
277 VP8_ENC_ERROR_BAD_DIMENSION, // picture ha
363 WebPPictureInit(WebPPicture* picture) argument
374 WEBP_EXTERN(int) WebPPictureAlloc(WebPPicture* picture); variable
381 WEBP_EXTERN(void) WebPPictureFree(WebPPicture* picture); variable
441 WEBP_EXTERN(int) WebPPictureIsView(const WebPPicture* picture); variable
494 WEBP_EXTERN(int) WebPPictureSharpARGBToYUVA(WebPPicture* picture); variable
496 WEBP_EXTERN(int) WebPPictureSmartARGBToYUVA(WebPPicture* picture); variable
504 WEBP_EXTERN(int) WebPPictureYUVAToARGB(WebPPicture* picture); variable
509 WEBP_EXTERN(void) WebPCleanupTransparentArea(WebPPicture* picture); variable
514 WEBP_EXTERN(int) WebPPictureHasTransparency(const WebPPicture* picture); variable
[all...]
H A Dextras.h33 // Import luma sample (gray scale image) into 'picture'. The 'picture'
35 WEBP_EXTERN(int) WebPImportGray(const uint8_t* gray, WebPPicture* picture);
37 // Import rgb sample in RGB565 packed format into 'picture'. The 'picture'
41 // Import rgb sample in RGB4444 packed format into 'picture'. The 'picture'
/external/webp/src/webp/
H A Dencode.h87 WEBP_HINT_PICTURE, // digital picture, like portrait, inner shot
121 int show_compressed; // if true, export the compressed picture back.
151 // of source picture. These presets are used when calling WebPConfigPreset().
154 WEBP_PRESET_PICTURE, // digital picture, like portrait, inner shot
230 // data/data_size is the segment of data to write, and 'picture' is for
231 // reference (and so one can make use of picture->custom_ptr).
233 const WebPPicture* picture);
254 const WebPPicture* picture);
259 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture);
277 VP8_ENC_ERROR_BAD_DIMENSION, // picture ha
363 WebPPictureInit(WebPPicture* picture) argument
374 WEBP_EXTERN(int) WebPPictureAlloc(WebPPicture* picture); variable
381 WEBP_EXTERN(void) WebPPictureFree(WebPPicture* picture); variable
441 WEBP_EXTERN(int) WebPPictureIsView(const WebPPicture* picture); variable
494 WEBP_EXTERN(int) WebPPictureSharpARGBToYUVA(WebPPicture* picture); variable
496 WEBP_EXTERN(int) WebPPictureSmartARGBToYUVA(WebPPicture* picture); variable
504 WEBP_EXTERN(int) WebPPictureYUVAToARGB(WebPPicture* picture); variable
509 WEBP_EXTERN(void) WebPCleanupTransparentArea(WebPPicture* picture); variable
514 WEBP_EXTERN(int) WebPPictureHasTransparency(const WebPPicture* picture); variable
[all...]
/external/skia/include/effects/
H A DSkPictureImageFilter.h17 * Refs the passed-in picture.
19 static sk_sp<SkImageFilter> Make(sk_sp<SkPicture> picture);
22 * Refs the passed-in picture. cropRect can be used to crop or expand the destination rect when
23 * the picture is drawn. (No scaling is implied by the dest rect; only the CTM is applied.)
25 static sk_sp<SkImageFilter> Make(sk_sp<SkPicture> picture, const SkRect& cropRect);
28 * Refs the passed-in picture. The picture is rasterized at a resolution that matches the
29 * local coordinate space. If the picture needs to be resampled for drawing it into the
31 * expand the destination rect when the picture is drawn. (No scaling is implied by the
34 static sk_sp<SkImageFilter> MakeForLocalSpace(sk_sp<SkPicture> picture,
[all...]
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_mpeg12_bitstream.h51 struct pipe_mpeg12_picture_desc *picture,
/external/mesa3d/src/gallium/include/pipe/
H A Dp_video_decoder.h67 struct pipe_picture_desc *picture);
74 struct pipe_picture_desc *picture,
83 struct pipe_picture_desc *picture,
93 struct pipe_picture_desc *picture);
/external/skia/src/effects/
H A DSkPictureImageFilter.cpp17 sk_sp<SkImageFilter> SkPictureImageFilter::Make(sk_sp<SkPicture> picture) { argument
18 return sk_sp<SkImageFilter>(new SkPictureImageFilter(std::move(picture)));
21 sk_sp<SkImageFilter> SkPictureImageFilter::Make(sk_sp<SkPicture> picture, argument
23 return sk_sp<SkImageFilter>(new SkPictureImageFilter(std::move(picture),
29 sk_sp<SkImageFilter> SkPictureImageFilter::MakeForLocalSpace(sk_sp<SkPicture> picture, argument
32 return sk_sp<SkImageFilter>(new SkPictureImageFilter(std::move(picture),
38 SkPictureImageFilter::SkPictureImageFilter(sk_sp<SkPicture> picture) argument
40 , fPicture(std::move(picture))
46 SkPictureImageFilter::SkPictureImageFilter(sk_sp<SkPicture> picture, const SkRect& cropRect, argument
50 , fPicture(std::move(picture))
57 sk_sp<SkPicture> picture; local
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dmeye.h42 unsigned char picture; member in struct:meye_params
/external/libvncserver/client_examples/
H A Dvnc2mpg.c43 AVFrame *picture, *tmp_picture; variable
101 AVFrame *picture; local
105 picture = avcodec_alloc_frame();
106 if (!picture)
111 av_free(picture);
114 avpicture_fill((AVPicture *)picture, picture_buf,
116 return picture;
151 /* allocate the encoded raw picture */
152 picture = alloc_picture(c->pix_fmt, c->width, c->height);
153 if (!picture) {
[all...]
/external/skia/tests/
H A DGpuLayerCacheTest.cpp53 const SkPicture& picture,
59 GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(),
67 GrCachedLayer* temp = TestingAccess::Find(cache, picture.uniqueID(), SkMatrix::I(),
73 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID());
122 sk_sp<SkPicture> picture;
127 // Draw something, anything, to prevent an empty-picture optimization,
130 picture = recorder.finishRecordingAsPicture();
137 create_layers(reporter, &cache, *picture, kInitialNumLayers, 0);
141 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
170 GrCachedLayer* layer = TestingAccess::Find(&cache, picture
51 create_layers(skiatest::Reporter* reporter, GrLayerCache* cache, const SkPicture& picture, int numToAdd, int idOffset) argument
[all...]
H A DPictureTest.cpp56 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture());
58 REPORTER_ASSERT(reporter, picture->willPlayBackBitmaps());
69 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture());
70 REPORTER_ASSERT(reporter, !picture->willPlayBackBitmaps());
99 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture());
104 // Ensure that serializing an empty picture does not assert. Likewise only runs in debug mode.
108 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture());
110 picture->serialize(&stream);
175 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture());
180 !SkPictureGpuAnalyzer(picture)
366 check_save_state(skiatest::Reporter* reporter, SkPicture* picture, unsigned int numSaves, unsigned int numSaveLayers, unsigned int numRestores) argument
410 check_balance(skiatest::Reporter* reporter, SkPicture* picture) argument
710 const SkBigPicture* picture = p->asSkBigPicture(); local
[all...]
H A DPipeTest.cpp115 sk_sp<SkPicture> picture = []() { local
128 wc->drawPicture(picture);
131 REPORTER_ASSERT(reporter, offset0 > 100); // the raw picture must be sorta big
134 // try drawing the same picture again -- it should be much smaller
136 wc->drawPicture(picture);
142 // try writing the picture directly, it should also be small
143 sk_sp<SkData> data = serializer.writePicture(picture.get());
148 // try writing the picture directly, it should also be small
149 data = serializer.writePicture(picture.get());
157 sk_sp<SkPicture> picture local
[all...]
H A DPictureBBHTest.cpp48 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture());
49 playbackCanvas.drawPicture(picture);
57 // Test to verify the playback of an empty picture
68 // Test to verify the playback of a picture into a canvas that has
/external/skia/include/core/
H A DSkMultiPictureDraw.h20 The MultiPictureDraw object accepts several picture/canvas pairs and
34 * Add a canvas/picture pair for later rendering.
35 * @param canvas the canvas in which to draw picture
36 * @param picture the picture to draw into canvas
38 * @param paint if non-NULL, draw picture to a temporary buffer
42 const SkPicture* picture,
H A DSkPictureAnalyzer.h29 explicit SkPictureGpuAnalyzer(const sk_sp<SkPicture>& picture,
33 * Process the given picture and accumulate its stats.
/external/ImageMagick/coders/
H A Dwebp.c482 static int WebPEncodeProgress(int percent,const WebPPicture* picture)
492 image=(Image *) picture->custom_ptr;
499 const WebPPicture *const picture)
504 image=(Image *) picture->custom_ptr;
533 picture;
552 if ((WebPPictureInit(&picture) == 0) || (WebPConfigInit(&configure) == 0))
554 picture.writer=WebPEncodeWriter;
555 picture.custom_ptr=(void *) image;
557 picture.progress_hook=WebPEncodeProgress;
559 picture
475 WebPEncodeProgress(int percent,const WebPPicture* picture) argument
491 WebPEncodeWriter(const unsigned char *stream,size_t length, const WebPPicture *const picture) argument
526 picture; local
[all...]
/external/skia/samplecode/
H A DSamplePictFile.cpp123 SkPicture** picture = fPictures + fBBox; variable
129 if (!*picture) {
130 *picture = LoadPicture(fFilename.c_str(), fBBox).release();
132 if (*picture) {
137 canvas->drawPicture(*picture);
180 SkDebugf("coun't load picture at \"path\"\n", path);

Completed in 2779 milliseconds

12345