/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | decode.c | 195 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/webp/src/enc/ |
D | picture.c | 26 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 …]
|
D | picture_csp.c | 53 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 …]
|
/external/opencv3/3rdparty/libwebp/enc/ |
D | picture.c | 41 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 …]
|
/external/opencv3/3rdparty/libwebp/webp/ |
D | encode.h | 84 WEBP_HINT_PICTURE, // digital picture, like portrait, inner shot 118 int show_compressed; // if true, export the compressed picture back. 137 // of source picture. These presets are used when calling WebPConfigPreset(). 140 WEBP_PRESET_PICTURE, // digital picture, like portrait, inner shot 206 // data/data_size is the segment of data to write, and 'picture' is for 207 // reference (and so one can make use of picture->custom_ptr). 209 const WebPPicture* picture); 227 const WebPPicture* picture); 232 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture); 257 VP8_ENC_ERROR_BAD_DIMENSION, // picture has invalid width/height [all …]
|
/external/webp/src/webp/ |
D | encode.h | 87 WEBP_HINT_PICTURE, // digital picture, like portrait, inner shot 121 int show_compressed; // if true, export the compressed picture back. 153 // of source picture. These presets are used when calling WebPConfigPreset(). 156 WEBP_PRESET_PICTURE, // digital picture, like portrait, inner shot 232 // data/data_size is the segment of data to write, and 'picture' is for 233 // reference (and so one can make use of picture->custom_ptr). 235 const WebPPicture* picture); 256 const WebPPicture* picture); 261 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture); 279 VP8_ENC_ERROR_BAD_DIMENSION, // picture has invalid width/height [all …]
|
/external/webp/include/webp/ |
D | encode.h | 87 WEBP_HINT_PICTURE, // digital picture, like portrait, inner shot 121 int show_compressed; // if true, export the compressed picture back. 153 // of source picture. These presets are used when calling WebPConfigPreset(). 156 WEBP_PRESET_PICTURE, // digital picture, like portrait, inner shot 232 // data/data_size is the segment of data to write, and 'picture' is for 233 // reference (and so one can make use of picture->custom_ptr). 235 const WebPPicture* picture); 256 const WebPPicture* picture); 261 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture); 279 VP8_ENC_ERROR_BAD_DIMENSION, // picture has invalid width/height [all …]
|
/external/skia/include/effects/ |
D | SkPictureImageFilter.h | 17 * Refs the passed-in picture. 19 static SkImageFilter* Create(const SkPicture* picture) { in Create() argument 20 return new SkPictureImageFilter(picture); in Create() 24 * Refs the passed-in picture. cropRect can be used to crop or expand the destination rect when 25 * the picture is drawn. (No scaling is implied by the dest rect; only the CTM is applied.) 27 static SkImageFilter* Create(const SkPicture* picture, const SkRect& cropRect) { in Create() argument 28 return new SkPictureImageFilter(picture, cropRect, kDeviceSpace_PictureResolution, in Create() 33 * Refs the passed-in picture. The picture is rasterized at a resolution that matches the 34 * local coordinate space. If the picture needs to be resampled for drawing it into the 36 * expand the destination rect when the picture is drawn. (No scaling is implied by the [all …]
|
/external/chromium-trace/catapult/tracing/tracing/ui/extras/chrome/cc/ |
D | picture_debugger.html | 9 <link rel="import" href="/tracing/extras/chrome/cc/picture.html"> 23 <template id="tr-ui-e-chrome-cc-picture-debugger-template"> 25 * /deep/ tr-ui-e-chrome-cc-picture-debugger { 31 * /deep/ tr-ui-e-chrome-cc-picture-debugger > tr-ui-a-generic-object-view { 37 * /deep/ tr-ui-e-chrome-cc-picture-debugger > left-panel { 43 * /deep/ tr-ui-e-chrome-cc-picture-debugger > left-panel > picture-info { 48 * /deep/ tr-ui-e-chrome-cc-picture-debugger > left-panel > 49 picture-info .title { 55 * /deep/ tr-ui-e-chrome-cc-picture-debugger > tr-ui-b-drag-handle { 59 * /deep/ tr-ui-e-chrome-cc-picture-debugger .filename { [all …]
|
D | picture_ops_list_view.css | 6 * * /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/tests/ |
D | PictureTest.cpp | 57 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 107 // Ensure that serializing an empty picture does not assert. Likewise only runs in debug mode. 111 SkAutoTUnref<SkPicture> picture(recorder.endRecording()); in test_serializing_empty_picture() local 113 picture->serialize(&stream); in test_serializing_empty_picture() [all …]
|
D | GpuLayerCacheTest.cpp | 49 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 123 // Draw something, anything, to prevent an empty-picture optimization, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 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() [all …]
|
/external/skia/include/core/ |
D | SkPicture.h | 50 * Recreate a picture that was serialized into a stream. 51 * @param SkStream Serialized picture data. Ownership is unchanged by this call. 60 * Recreate a picture that was serialized into a stream. 65 * @param SkStream Serialized picture data. Ownership is unchanged by this call. 72 * Recreate a picture that was serialized into a buffer. If the creation requires bitmap 75 * @param SkReadBuffer Serialized picture data. 83 * of the picture, this callback will periodically be invoked. If its 84 * abort() returns true, then picture playback will be interrupted. 99 this has the effect of unfurling this picture into the destination 107 /** Return a cull rect for this picture. [all …]
|
/external/libmpeg2/decoder/ |
D | impeg2d_globals.c | 46 /* frame prediction in P frame picture */ 49 /* field prediction in P frame picture */ 52 /* frame prediction in B frame picture */ 55 /* field prediction in B frame picture */ 58 /* dual prime prediction in P frame picture */ 62 /* field prediction in P field picture */ 64 /* 16x8 prediction in P field picture */ 66 /* field prediction in B field picture */ 68 /* 16x8 prediction in B field picture */ 70 /* dual prime prediction in P field picture */ [all …]
|
/external/skia/platform_tools/android/apps/canvasproof/src/main/java/org/skia/canvasproof/ |
D | HwuiPictureView.java | 15 import android.graphics.Picture; 23 private Picture picture; field in HwuiPictureView 25 private Picture defaultPicture; 36 public void setPicture(Picture p) { in setPicture() 37 this.picture = p; in setPicture() 43 if (this.picture != null) { in onDraw() 46 HwuiPictureView.draw(canvas, this.picture); in onDraw() 54 static private void draw(Canvas canvas, Picture p) { in draw() 60 Log.e(TAG, "Exception while drawing picture in Hwui"); in draw()
|
D | CanvasProofActivity.java | 12 import android.graphics.Picture; 37 public Picture picture; field in CanvasProofActivity.PictureAsset 42 private static Picture ReadPicture(InputStream inputStream) in ReadPicture() 44 Picture p = null; in ReadPicture() 46 p = Picture.createFromStream(inputStream); in ReadPicture() 48 Log.e(TAG, "Exception in Picture.createFromStream", e); in ReadPicture() 82 Picture p = CanvasProofActivity.ReadPicture(mgr.open(path)); in getAssetPaths() 88 "empty picture" + path); in getAssetPaths() 91 this.assets[i].picture = p; in getAssetPaths() 145 this.hwuiPictureView.setPicture(assets[resourcesIndex].picture); in nextPicture()
|
/external/skia/tools/ |
D | dm_flags.json | 175 "image-cacherator-from-picture", 179 "image-cacherator-from-picture", 183 "image-cacherator-from-picture", 187 "image-cacherator-from-picture", 374 "image-cacherator-from-picture", 378 "image-cacherator-from-picture", 382 "image-cacherator-from-picture", 386 "image-cacherator-from-picture", 658 "image-cacherator-from-picture", 662 "image-cacherator-from-picture", [all …]
|
D | buildbot_spec.json | 171 "image-cacherator-from-picture", 175 "image-cacherator-from-picture", 179 "image-cacherator-from-picture", 183 "image-cacherator-from-picture", 434 "image-cacherator-from-picture", 438 "image-cacherator-from-picture", 442 "image-cacherator-from-picture", 446 "image-cacherator-from-picture", 695 "image-cacherator-from-picture", 699 "image-cacherator-from-picture", [all …]
|
/external/libvncserver/client_examples/ |
D | vnc2mpg.c | 43 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() 151 /* allocate the encoded raw picture */ in open_video() 152 picture = alloc_picture(c->pix_fmt, c->width, c->height); in open_video() 153 if (!picture) { in open_video() [all …]
|
/external/skia/platform_tools/android/apps/canvasproof/src/main/jni/ |
D | org_skia_canvasproof_GaneshPictureRenderer.cpp | 24 const SkPicture* picture, in render_picture() argument 27 if (!picture) { in render_picture() 28 SkDebugf(TAG "!picture\n"); 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/skia/src/effects/ |
D | SkPictureImageFilter.cpp | 16 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() 171 str->appendf("picture: (%f,%f,%f,%f)", in toString()
|
/external/skia/src/core/ |
D | SkMultiPictureDraw.cpp | 28 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() 182 // Render the entire picture using new layers in draw() 183 GrRecordReplaceDraw(picture, canvas, context->getLayerCache(), in draw() [all …]
|
D | SkLayerInfo.h | 28 // The picture owning the layer. If the owning picture is the top-most 29 // one (i.e., the picture for which this SkLayerInfo was created) then 30 // this pointer is nullptr. If it is a nested picture then the pointer 31 // is non-nullptr and owns a ref on the picture. 43 // The matrix state (in the leaf picture) in which this layer's draws 51 // The index of this saveLayer in the picture. 53 // The index of the matching restore in the picture.
|
D | SkPictureShader.cpp | 96 SkPictureShader::SkPictureShader(const SkPicture* picture, TileMode tmx, TileMode tmy, in SkPictureShader() argument 99 , fPicture(SkRef(picture)) in SkPictureShader() 100 , fTile(tile ? *tile : picture->cullRect()) in SkPictureShader() 105 SkShader* SkPictureShader::Create(const SkPicture* picture, TileMode tmx, TileMode tmy, in Create() argument 107 if (!picture || picture->cullRect().isEmpty() || (tile && tile->isEmpty())) { in Create() 110 return new SkPictureShader(picture, tmx, tmy, localMatrix, tile); in Create() 121 SkAutoTUnref<SkPicture> picture; in CreateProc() local 129 // Newer code won't serialize pictures in disallow-cross-process-picture mode. in CreateProc() 133 // Old code always serialized the picture. New code writes a 'true' first if it did. in CreateProc() 136 picture.reset(SkPicture::CreateFromBuffer(buffer)); in CreateProc() [all …]
|
/external/chromium-trace/catapult/tracing/tracing/extras/chrome/cc/ |
D | picture.html | 25 function Picture(skp64, layerRect) { 32 Picture.prototype = { 63 console.error('Failed to get picture ops.'); 82 console.error('Failed to get picture op timings.'); 118 * Rasterize the picture. 156 var error = 'Failed to rasterize picture. ' + 171 __proto__: Picture.prototype, 354 // If we have an alias args, that means this picture was represented 363 this.picture_ = new Picture(this.args.skp64, this.args.params.layerRect); 366 set picture(picture) { [all …]
|