Home
last modified time | relevance | path

Searched refs:picture (Results 1 – 25 of 200) sorted by relevance

12345678

/external/webp/src/enc/
Dpicture.c26 const WebPPicture* const picture) { in DummyWriter() argument
30 (void)picture; in DummyWriter()
34 int WebPPictureInitInternal(WebPPicture* picture, int version) { in WebPPictureInitInternal() argument
38 if (picture != NULL) { in WebPPictureInitInternal()
39 memset(picture, 0, sizeof(*picture)); in WebPPictureInitInternal()
40 picture->writer = DummyWriter; in WebPPictureInitInternal()
41 WebPEncodingSetError(picture, VP8_ENC_OK); in WebPPictureInitInternal()
48 static void WebPPictureResetBufferARGB(WebPPicture* const picture) { in WebPPictureResetBufferARGB() argument
49 picture->memory_argb_ = NULL; in WebPPictureResetBufferARGB()
50 picture->argb = NULL; in WebPPictureResetBufferARGB()
[all …]
Dpicture_csp.c53 int WebPPictureHasTransparency(const WebPPicture* picture) { in WebPPictureHasTransparency() argument
54 if (picture == NULL) return 0; in WebPPictureHasTransparency()
55 if (!picture->use_argb) { in WebPPictureHasTransparency()
56 return CheckNonOpaque(picture->a, picture->width, picture->height, in WebPPictureHasTransparency()
57 1, picture->a_stride); in WebPPictureHasTransparency()
60 const uint32_t* argb = picture->argb; in WebPPictureHasTransparency()
62 for (y = 0; y < picture->height; ++y) { in WebPPictureHasTransparency()
63 for (x = 0; x < picture->width; ++x) { in WebPPictureHasTransparency()
66 argb += picture->argb_stride; in WebPPictureHasTransparency()
386 WebPPicture* const picture) { in ConvertWRGBToYUV() argument
[all …]
Dalpha.c55 WebPPicture picture; in EncodeLossless() local
57 WebPPictureInit(&picture); in EncodeLossless()
58 picture.width = width; in EncodeLossless()
59 picture.height = height; in EncodeLossless()
60 picture.use_argb = 1; in EncodeLossless()
61 picture.stats = stats; in EncodeLossless()
62 if (!WebPPictureAlloc(&picture)) return 0; in EncodeLossless()
65 WebPDispatchAlphaToGreen(data, width, picture.width, picture.height, in EncodeLossless()
66 picture.argb, picture.argb_stride); in EncodeLossless()
82 ok = (VP8LEncodeStream(&config, &picture, bw) == VP8_ENC_OK); in EncodeLossless()
[all …]
Dvp8l.c1164 const WebPPicture* const picture = enc->pic_; in MakeInputImageCopy() local
1165 const int width = picture->width; in MakeInputImageCopy()
1166 const int height = picture->height; in MakeInputImageCopy()
1172 picture->argb + y * picture->argb_stride, in MakeInputImageCopy()
1352 const WebPPicture* const picture) { in VP8LEncoderNew() argument
1355 WebPEncodingSetError(picture, VP8_ENC_ERROR_OUT_OF_MEMORY); in VP8LEncoderNew()
1359 enc->pic_ = picture; in VP8LEncoderNew()
1380 const WebPPicture* const picture, in VP8LEncodeStream() argument
1385 const int width = picture->width; in VP8LEncodeStream()
1386 const int height = picture->height; in VP8LEncodeStream()
[all …]
/external/mesa3d/src/gallium/state_trackers/vdpau/
Ddecode.c195 vlVdpDecoderRenderMpeg12(struct pipe_mpeg12_picture_desc *picture, in vlVdpDecoderRenderMpeg12() argument
202 r = vlVdpGetReferenceFrame(picture_info->forward_reference, &picture->ref[0]); in vlVdpDecoderRenderMpeg12()
206 r = vlVdpGetReferenceFrame(picture_info->backward_reference, &picture->ref[1]); in vlVdpDecoderRenderMpeg12()
210 picture->picture_coding_type = picture_info->picture_coding_type; in vlVdpDecoderRenderMpeg12()
211 picture->picture_structure = picture_info->picture_structure; in vlVdpDecoderRenderMpeg12()
212 picture->frame_pred_frame_dct = picture_info->frame_pred_frame_dct; in vlVdpDecoderRenderMpeg12()
213 picture->q_scale_type = picture_info->q_scale_type; in vlVdpDecoderRenderMpeg12()
214 picture->alternate_scan = picture_info->alternate_scan; in vlVdpDecoderRenderMpeg12()
215 picture->intra_vlc_format = picture_info->intra_vlc_format; in vlVdpDecoderRenderMpeg12()
216 picture->concealment_motion_vectors = picture_info->concealment_motion_vectors; in vlVdpDecoderRenderMpeg12()
[all …]
/external/opencv3/3rdparty/libwebp/enc/
Dpicture.c41 int WebPPictureAlloc(WebPPicture* picture) { in WebPPictureAlloc() argument
42 if (picture != NULL) { in WebPPictureAlloc()
43 const WebPEncCSP uv_csp = picture->colorspace & WEBP_CSP_UV_MASK; in WebPPictureAlloc()
44 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT; in WebPPictureAlloc()
45 const int width = picture->width; in WebPPictureAlloc()
46 const int height = picture->height; in WebPPictureAlloc()
48 if (!picture->use_argb) { in WebPPictureAlloc()
92 WebPPictureFree(picture); // erase previous buffer in WebPPictureAlloc()
97 picture->memory_ = (void*)mem; in WebPPictureAlloc()
98 picture->y_stride = y_stride; in WebPPictureAlloc()
[all …]
Dvp8l.c954 const WebPPicture* const picture) { in VP8LEncoderNew() argument
957 WebPEncodingSetError(picture, VP8_ENC_ERROR_OUT_OF_MEMORY); in VP8LEncoderNew()
961 enc->pic_ = picture; in VP8LEncoderNew()
974 const WebPPicture* const picture, in VP8LEncodeStream() argument
978 const int width = picture->width; in VP8LEncodeStream()
979 const int height = picture->height; in VP8LEncodeStream()
980 VP8LEncoder* const enc = VP8LEncoderNew(config, picture); in VP8LEncodeStream()
1012 picture->argb + y * picture->argb_stride, in VP8LEncodeStream()
1062 if (picture->stats != NULL) { in VP8LEncodeStream()
1063 WebPAuxStats* const stats = picture->stats; in VP8LEncodeStream()
[all …]
Dalpha.c57 WebPPicture picture; in EncodeLossless() local
60 WebPPictureInit(&picture); in EncodeLossless()
61 picture.width = width; in EncodeLossless()
62 picture.height = height; in EncodeLossless()
63 picture.use_argb = 1; in EncodeLossless()
64 picture.stats = stats; in EncodeLossless()
65 if (!WebPPictureAlloc(&picture)) return 0; in EncodeLossless()
70 uint32_t* dst = picture.argb; in EncodeLossless()
72 for (j = 0; j < picture.height; ++j) { in EncodeLossless()
73 for (i = 0; i < picture.width; ++i) { in EncodeLossless()
[all …]
Dwebpenc.c44 const WebPPicture* const picture) { in DummyWriter() argument
48 (void)picture; in DummyWriter()
52 int WebPPictureInitInternal(WebPPicture* picture, int version) { in WebPPictureInitInternal() argument
56 if (picture != NULL) { in WebPPictureInitInternal()
57 memset(picture, 0, sizeof(*picture)); in WebPPictureInitInternal()
58 picture->writer = DummyWriter; in WebPPictureInitInternal()
59 WebPEncodingSetError(picture, VP8_ENC_OK); in WebPPictureInitInternal()
169 WebPPicture* const picture) { in InitVP8Encoder() argument
172 const int mb_w = (picture->width + 15) >> 4; in InitVP8Encoder()
173 const int mb_h = (picture->height + 15) >> 4; in InitVP8Encoder()
[all …]
/external/webp/src/webp/
Dencode.h235 const WebPPicture* picture);
256 const WebPPicture* picture);
261 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture);
365 static WEBP_INLINE int WebPPictureInit(WebPPicture* picture) { in WebPPictureInit() argument
366 return WebPPictureInitInternal(picture, WEBP_ENCODER_ABI_VERSION); in WebPPictureInit()
376 WEBP_EXTERN(int) WebPPictureAlloc(WebPPicture* picture);
383 WEBP_EXTERN(void) WebPPictureFree(WebPPicture* picture);
408 WEBP_EXTERN(int) WebPPictureCrop(WebPPicture* picture,
428 WEBP_EXTERN(int) WebPPictureIsView(const WebPPicture* picture);
442 WebPPicture* picture, const uint8_t* rgb, int rgb_stride);
[all …]
/external/webp/include/webp/
Dencode.h235 const WebPPicture* picture);
256 const WebPPicture* picture);
261 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture);
365 static WEBP_INLINE int WebPPictureInit(WebPPicture* picture) { in WebPPictureInit() argument
366 return WebPPictureInitInternal(picture, WEBP_ENCODER_ABI_VERSION); in WebPPictureInit()
376 WEBP_EXTERN(int) WebPPictureAlloc(WebPPicture* picture);
383 WEBP_EXTERN(void) WebPPictureFree(WebPPicture* picture);
408 WEBP_EXTERN(int) WebPPictureCrop(WebPPicture* picture,
428 WEBP_EXTERN(int) WebPPictureIsView(const WebPPicture* picture);
442 WebPPicture* picture, const uint8_t* rgb, int rgb_stride);
[all …]
/external/opencv3/3rdparty/libwebp/webp/
Dencode.h209 const WebPPicture* picture);
227 const WebPPicture* picture);
232 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture);
345 static WEBP_INLINE int WebPPictureInit(WebPPicture* picture) { in WebPPictureInit() argument
346 return WebPPictureInitInternal(picture, WEBP_ENCODER_ABI_VERSION); in WebPPictureInit()
356 WEBP_EXTERN(int) WebPPictureAlloc(WebPPicture* picture);
363 WEBP_EXTERN(void) WebPPictureFree(WebPPicture* picture);
388 WEBP_EXTERN(int) WebPPictureCrop(WebPPicture* picture,
408 WEBP_EXTERN(int) WebPPictureIsView(const WebPPicture* picture);
420 WebPPicture* picture, const uint8_t* rgb, int rgb_stride);
[all …]
/external/skia/include/effects/
DSkPictureImageFilter.h19 static SkImageFilter* Create(const SkPicture* picture) { in Create() argument
20 return new SkPictureImageFilter(picture); in Create()
27 static SkImageFilter* Create(const SkPicture* picture, const SkRect& cropRect) { in Create() argument
28 return new SkPictureImageFilter(picture, cropRect, kDeviceSpace_PictureResolution, in Create()
39 static SkImageFilter* CreateForLocalSpace(const SkPicture* picture, in CreateForLocalSpace() argument
42 return new SkPictureImageFilter(picture, cropRect, kLocalSpace_PictureResolution, in CreateForLocalSpace()
68 explicit SkPictureImageFilter(const SkPicture* picture);
69 SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect,
/external/skia/tests/
DPictureTest.cpp57 SkAutoTUnref<SkPicture> picture(recorder.endRecording()); in test_images_are_found_by_willPlayBackBitmaps() local
59 REPORTER_ASSERT(reporter, picture->willPlayBackBitmaps()); in test_images_are_found_by_willPlayBackBitmaps()
70 SkAutoTUnref<SkPicture> picture(recorder.endRecording()); in test_analysis() local
71 REPORTER_ASSERT(reporter, !picture->willPlayBackBitmaps()); in test_analysis()
89 picture.reset(recorder.endRecording()); in test_analysis()
90 REPORTER_ASSERT(reporter, picture->willPlayBackBitmaps()); in test_analysis()
102 SkAutoTUnref<SkPicture> picture(recorder.endRecording()); in test_deleting_empty_picture() local
111 SkAutoTUnref<SkPicture> picture(recorder.endRecording()); in test_serializing_empty_picture() local
113 picture->serialize(&stream); in test_serializing_empty_picture()
159 SkAutoTUnref<SkPicture> picture(recorder.endRecording()); in test_gpu_veto() local
[all …]
DGpuLayerCacheTest.cpp49 const SkPicture& picture, in create_layers() argument
55 GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(), in create_layers()
63 GrCachedLayer* temp = TestingAccess::Find(cache, picture.uniqueID(), SkMatrix::I(), in create_layers()
69 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID()); in create_layers()
118 SkAutoTUnref<const SkPicture> picture; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
126 picture.reset(recorder.endRecording()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
133 create_layers(reporter, &cache, *picture, kInitialNumLayers, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
137 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
166 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
183 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/chromium-trace/catapult/tracing/tracing/ui/extras/chrome/cc/
Dpicture_ops_list_view.css6 * * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view {
12 * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view > .x-list-view {
17 * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view > .x-list-view .list-item {
25 * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view >
31 * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view >
40 * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view >
47 * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view >
52 * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view .x-list-view:focus >
59 * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view .x-list-view >
/external/skia/platform_tools/android/apps/canvasproof/src/main/jni/
Dorg_skia_canvasproof_GaneshPictureRenderer.cpp24 const SkPicture* picture, in render_picture() argument
27 if (!picture) { in render_picture()
48 SkRect cullRect = picture->cullRect(); in render_picture()
50 picture->playback(canvas); in render_picture()
83 SkPicture* picture = reinterpret_cast<SkPicture*>(pic); in Java_org_skia_canvasproof_GaneshPictureRenderer_DrawThisFrame() local
84 impl->render((int)width, (int)height, picture, matrix); in Java_org_skia_canvasproof_GaneshPictureRenderer_DrawThisFrame()
133 const SkPicture* picture = reinterpret_cast<SkPicture*>(picturePtr); in Java_org_skia_canvasproof_GaneshPictureRenderer_GetCullRect() local
135 if (picture) { in Java_org_skia_canvasproof_GaneshPictureRenderer_GetCullRect()
136 rect = picture->cullRect(); in Java_org_skia_canvasproof_GaneshPictureRenderer_GetCullRect()
/external/libvncserver/client_examples/
Dvnc2mpg.c43 AVFrame *picture, *tmp_picture; variable
101 AVFrame *picture; in alloc_picture() local
105 picture = avcodec_alloc_frame(); in alloc_picture()
106 if (!picture) in alloc_picture()
111 av_free(picture); in alloc_picture()
114 avpicture_fill((AVPicture *)picture, picture_buf, in alloc_picture()
116 return picture; in alloc_picture()
152 picture = alloc_picture(c->pix_fmt, c->width, c->height); in open_video()
153 if (!picture) { in open_video()
186 img_convert((AVPicture *)picture, c->pix_fmt, in write_video_frame()
[all …]
/external/skia/src/core/
DSkMultiPictureDraw.cpp28 void SkMultiPictureDraw::DrawData::init(SkCanvas* canvas, const SkPicture* picture, in init() argument
30 fPicture = SkRef(picture); in init()
68 const SkPicture* picture, in add() argument
71 if (nullptr == canvas || nullptr == picture) { in add()
77 array.append()->init(canvas, picture, matrix, paint); in add()
157 const SkPicture* picture = data.fPicture; in draw() local
167 SkAutoCanvasMatrixPaint acmp(canvas, &data.fMatrix, data.fPaint, picture->cullRect()); in draw()
176 GrLayerHoister::FindLayersToHoist(context, picture, initialMatrix, in draw()
183 GrRecordReplaceDraw(picture, canvas, context->getLayerCache(), in draw()
194 canvas->drawPicture(picture, &data.fMatrix, data.fPaint); in draw()
DSkPictureImageGenerator.cpp41 SkImageGenerator* SkPictureImageGenerator::Create(const SkISize& size, const SkPicture* picture, in Create() argument
43 if (!picture || size.isEmpty()) { in Create()
47 return new SkPictureImageGenerator(size, picture, matrix, paint); in Create()
50 SkPictureImageGenerator::SkPictureImageGenerator(const SkISize& size, const SkPicture* picture, in SkPictureImageGenerator() argument
53 , fPicture(SkRef(picture)) { in SkPictureImageGenerator()
124 SkImageGenerator* SkImageGenerator::NewFromPicture(const SkISize& size, const SkPicture* picture, in NewFromPicture() argument
126 return SkPictureImageGenerator::Create(size, picture, matrix, paint); in NewFromPicture()
/external/skia/src/effects/
DSkPictureImageFilter.cpp16 SkPictureImageFilter::SkPictureImageFilter(const SkPicture* picture) in SkPictureImageFilter() argument
18 , fPicture(SkSafeRef(picture)) in SkPictureImageFilter()
19 , fCropRect(picture ? picture->cullRect() : SkRect::MakeEmpty()) in SkPictureImageFilter()
24 SkPictureImageFilter::SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect, in SkPictureImageFilter() argument
28 , fPicture(SkSafeRef(picture)) in SkPictureImageFilter()
39 SkAutoTUnref<SkPicture> picture; in CreateProc() local
46 picture.reset(SkPicture::CreateFromBuffer(buffer)); in CreateProc()
65 return CreateForLocalSpace(picture, cropRect, filterQuality); in CreateProc()
67 return Create(picture, cropRect); in CreateProc()
/external/skia/tools/
Dgpuveto.cpp44 SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(&inputStream)); in tool_main() local
45 if (nullptr == picture.get()) { in tool_main()
55 picture->playback(recorder.beginRecording(picture->cullRect().width(), in tool_main()
56 picture->cullRect().height(), in tool_main()
/external/skia/src/gpu/
DGrRecordReplaceDraw.cpp59 const SkBigPicture* picture, in ReplaceDraw() argument
67 , fPicture(picture) in ReplaceDraw()
133 SkAutoCanvasMatrixPaint acmp(fCanvas, &dp.matrix, dp.paint, dp.picture->cullRect()); in operator ()()
135 if (const SkBigPicture* bp = dp.picture->asSkBigPicture()) { in operator ()()
144 dp.picture->playback(fCanvas, fCallback); in operator ()()
208 int GrRecordReplaceDraw(const SkPicture* picture, in GrRecordReplaceDraw() argument
215 if (const SkBigPicture* bp = picture->asSkBigPicture()) { in GrRecordReplaceDraw()
223 picture->playback(canvas, callback); in GrRecordReplaceDraw()
/external/mesa3d/src/gallium/include/pipe/
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/experimental/nanomsg/
Dpicture_demo.cpp82 SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(&stream)); in client() local
85 SkRandom rand(picture->cullRect().width() * picture->cullRect().height()); in client()
86 SkScalar r = rand.nextRangeScalar(0, picture->cullRect().width()), in client()
87 b = rand.nextRangeScalar(0, picture->cullRect().height()), in client()
146 SkAutoTUnref<SkPicture> picture(recv_picture(data, &header)); in server() local
155 picture->playback(canvas); in server()

12345678