/frameworks/base/graphics/java/android/graphics/drawable/ |
PictureDrawable.java | 25 import android.graphics.Picture; 31 * Drawable subclass that wraps a Picture, allowing the picture to be used 36 private Picture mPicture; 39 * Construct a new drawable referencing the specified picture. The picture 42 * @param picture The picture to associate with the drawable. May be null. 44 public PictureDrawable(Picture picture) { [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Picture.java | 23 * A Picture records drawing calls (via the canvas returned by beginRecording) 24 * and can then play them back into Canvas (via {@link Picture#draw(Canvas)} or 25 * {@link Canvas#drawPicture(Picture)}).For most content (e.g. text, lines, rectangles), 26 * drawing a sequence from a picture can be faster than the equivalent API 27 * calls, since the picture performs its playback without incurring any 30 public class Picture { 42 * Creates an empty picture that is ready to record. 44 public Picture() { 49 * Create a picture by making a copy of what has already been recorded in 51 * changes will not be reflected in this picture [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
decode.c | 195 vlVdpDecoderRenderMpeg12(struct pipe_mpeg12_picture_desc *picture, 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->concealment_motion_vectors = picture_info->concealment_motion_vectors [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
decode.c | 195 vlVdpDecoderRenderMpeg12(struct pipe_mpeg12_picture_desc *picture, 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->concealment_motion_vectors = picture_info->concealment_motion_vectors [all...] |
/external/chromium-trace/trace-viewer/src/cc/ |
picture_debugger_test.js | 7 base.require('cc.picture'); 12 var picture = new cc.PictureSnapshot({id: '31415'}, 10, { 19 picture.preInitialize(); 20 picture.initialize(); 23 dbg.picture = picture;
|
picture_as_canvas.js | 12 function PictureAsCanvas(picture, errorOrCanvas) { 13 this.picture_ = picture; 28 PictureAsCanvas.Pending = function(picture) { 29 return new PictureAsCanvas(picture, undefined); 33 get picture() {
|
picture_debugger.css | 6 picture-debugger { 12 picture-debugger > x-generic-object-view { 18 picture-debugger > left-panel { 23 picture-debugger > left-panel > picture-info { 28 picture-debugger > left-panel > picture-info > .title { 34 picture-debugger > x-drag-handle { 38 picture-debugger .filename { 43 picture-debugger > raster-area [all...] |
/external/chromium_org/cc/debug/ |
traced_picture.h | 12 #include "cc/resources/picture.h" 18 explicit TracedPicture(scoped_refptr<Picture>); 21 AsTraceablePicture(Picture* picture); 24 AsTraceablePictureAlias(Picture* original); 34 scoped_refptr<Picture> picture_;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
PictureDrawableTest.java | 23 import android.graphics.Picture; 31 assertNotNull((new PictureDrawable(new Picture())).getPicture()); 37 // Create Picture for drawing 38 Picture picture = new Picture(); local 39 Canvas recodingCanvas = picture.beginRecording(100, 200); 41 picture.endRecording(); 42 pictureDrawable.setPicture(picture); 62 // Test with null Picture objec 66 Picture picture = new Picture(); local 106 Picture picture = new Picture(); local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PictureTest.java | 28 import android.graphics.Picture; 39 Picture picture = new Picture(); local 42 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT); 45 picture.endRecording(); 49 picture.draw(canvas); 50 checkSize(picture); 53 picture.writeToStream(bout); 54 picture = Picture.createFromStream(new ByteArrayInputStream(bout.toByteArray())) [all...] |
/external/chromium_org/third_party/skia/include/effects/ |
SkPictureImageFilter.h | 17 * Refs the passed-in picture. 19 explicit SkPictureImageFilter(SkPicture* picture); 22 * Refs the passed-in picture. rect 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 SkPictureImageFilter(SkPicture* picture, const SkRect& rect);
|
/external/skia/include/effects/ |
SkPictureImageFilter.h | 17 * Refs the passed-in picture. 19 explicit SkPictureImageFilter(SkPicture* picture); 22 * Refs the passed-in picture. rect 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 SkPictureImageFilter(SkPicture* picture, const SkRect& rect);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkPictureImageFilter.cpp | 14 SkPictureImageFilter::SkPictureImageFilter(SkPicture* picture) 16 fPicture(picture), 17 fRect(SkRect::MakeWH(picture ? SkIntToScalar(picture->width()) : 0, 18 picture ? SkIntToScalar(picture->height()) : 0)) { 22 SkPictureImageFilter::SkPictureImageFilter(SkPicture* picture, const SkRect& rect) 24 fPicture(picture), 36 // FIXME: unflatten picture here. 42 // FIXME: flatten picture here [all...] |
/external/skia/src/effects/ |
SkPictureImageFilter.cpp | 14 SkPictureImageFilter::SkPictureImageFilter(SkPicture* picture) 16 fPicture(picture), 17 fRect(SkRect::MakeWH(picture ? SkIntToScalar(picture->width()) : 0, 18 picture ? SkIntToScalar(picture->height()) : 0)) { 22 SkPictureImageFilter::SkPictureImageFilter(SkPicture* picture, const SkRect& rect) 24 fPicture(picture), 36 // FIXME: unflatten picture here. 42 // FIXME: flatten picture here [all...] |
/external/chromium_org/cc/resources/ |
picture.h | 39 class CC_EXPORT Picture 40 : public base::RefCountedThreadSafe<Picture> { 46 static scoped_refptr<Picture> Create(gfx::Rect layer_rect); 47 static scoped_refptr<Picture> CreateFromValue(const base::Value* value); 48 static scoped_refptr<Picture> CreateFromSkpValue(const base::Value* value); 54 scoped_refptr<Picture> GetCloneForDrawingOnThread( 78 // Draw the picture directly into the given canvas, without applying any 87 PixelRefIterator(gfx::Rect layer_rect, const Picture* picture); 107 const Picture* picture_ [all...] |
picture.cc | 5 #include "cc/resources/picture.h" 84 scoped_refptr<Picture> Picture::Create(gfx::Rect layer_rect) { 85 return make_scoped_refptr(new Picture(layer_rect)); 88 Picture::Picture(gfx::Rect layer_rect) 92 // the picture to be recorded in Picture::Record. 95 scoped_refptr<Picture> Picture::CreateFromSkpValue(const base::Value* value) [all...] |
picture_unittest.cc | 5 #include "cc/resources/picture.h" 43 // Invalid picture (not a dict). 45 scoped_refptr<Picture> invalid_picture = 46 Picture::CreateFromValue(tmp.get()); 49 // Single full-size rect picture. 51 scoped_refptr<Picture> one_rect_picture = Picture::Create(layer_rect); 57 // Reconstruct the picture. 58 scoped_refptr<Picture> one_rect_picture_check = 59 Picture::CreateFromValue(serialized_one_rect.get()) 136 scoped_refptr<Picture> picture = Picture::Create(layer_rect); local 233 scoped_refptr<Picture> picture = Picture::Create(layer_rect); local 354 scoped_refptr<Picture> picture = Picture::Create(layer_rect); local [all...] |
/external/chromium_org/media/video/ |
picture.cc | 5 #include "media/video/picture.h" 25 Picture::Picture(int32 picture_buffer_id, int32 bitstream_buffer_id)
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/ |
omxVC_s.h | 56 OMX_VIDEO_INTER EQU 0; /** P picture or P-VOP */ 57 OMX_VIDEO_INTER_Q EQU 1; /** P picture or P-VOP */ 58 OMX_VIDEO_INTER4V EQU 2; /** P picture or P-VOP */ 59 OMX_VIDEO_INTRA EQU 3; /** I and P picture; I- and P-VOP */ 60 OMX_VIDEO_INTRA_Q EQU 4; /** I and P picture; I- and P-VOP */ 61 OMX_VIDEO_INTER4V_Q EQU 5; /** P picture or P-VOP (H.263)*/ 62 OMX_VIDEO_DIRECT EQU 6; /** B picture or B-VOP (MPEG-4 only) */ 63 OMX_VIDEO_INTERPOLATE EQU 7; /** B picture or B-VOP */ 64 OMX_VIDEO_BACKWARD EQU 8; /** B picture or B-VOP */ 65 OMX_VIDEO_FORWARD EQU 9; /** B picture or B-VOP * [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/ |
omxVC_s.h | 56 OMX_VIDEO_INTER EQU 0; /** P picture or P-VOP */ 57 OMX_VIDEO_INTER_Q EQU 1; /** P picture or P-VOP */ 58 OMX_VIDEO_INTER4V EQU 2; /** P picture or P-VOP */ 59 OMX_VIDEO_INTRA EQU 3; /** I and P picture; I- and P-VOP */ 60 OMX_VIDEO_INTRA_Q EQU 4; /** I and P picture; I- and P-VOP */ 61 OMX_VIDEO_INTER4V_Q EQU 5; /** P picture or P-VOP (H.263)*/ 62 OMX_VIDEO_DIRECT EQU 6; /** B picture or B-VOP (MPEG-4 only) */ 63 OMX_VIDEO_INTERPOLATE EQU 7; /** B picture or B-VOP */ 64 OMX_VIDEO_BACKWARD EQU 8; /** B picture or B-VOP */ 65 OMX_VIDEO_FORWARD EQU 9; /** B picture or B-VOP * [all...] |
/external/chromium-trace/trace-viewer/test_data/ |
picture_trace.json | 5 "picture" : "AQAAAJABAACQAAAAIQAAAB8AAACQAQAAkAAAAAAAAAAAAAAACwAAACEAAAAfAAAAAwAAAAFkYWVyTAEAAAgAAB4DAAAACAAAHgMAAAAMAAAjAADIwwAAEMMcAAADAADIQwAAEEMAgNhDAAAvQwEAAABEAQAAGAAAFQEAAAAAAMhDAAAQQwCA2EMAAC9DDAAAIwAAAAAAAAAADAAAIwAAAAAAAAAAGAAAFQIAAAAAAMhDAAAQQwCA2EMAAC9DGAAAFQIAAAAAAMhDAAAQQwCA2EMAAC9DCAAAHgMAAAAcAAADAADQQwAAIEMAgAFEAAAxQwEAAADUAAAAGAAAFQMAAAAAANBDAAAgQwCAAUQAADFDBAAAHGwAABQEAAAAGgAAADMASwBMAE8ATABTAAMANQBSAEoASABVAFYAAAANAAAAANYdQwAGNEMAAC5DAADQQwCA1UMAgNpDAIDcQwCA3kMAgOBDAIDlQwAA50MAAO1DAADyQwAA90MAgPtDAID+QwQAABwEAAAcdGNhZgIAAAAPU2tDbGVhclhmZXJtb2RlDVNrU3JjWGZlcm1vZGVjZnB0AQAAAAEBBUFyaWFsBApBcmlhbCBCb2xkBgxBcmlhbC1Cb2xkTVT+/wAAeWFyYfQAAAAgdG5wBAAAAAAAQEEAAIA/AAAAAAAAgD8AAAAAAACAQAAAAP8CMAAAAAAAAAAAAAAAAAAAAQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQQAAgD8AAAAAAACAPwAAAAAAAIBA/////wIwAQAAAAAAAAAAAAAAAAACAAAABAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBBAACAPwAAAAAAAIA/AAAAAAAAgED+uYKZADABAAAAAAAAAIBBAACAPwAAAAAAAIA/AAAAAAAAgEAzMzP/ARCBAAMAAAABAAAAIGZvZQ==" 10 "name" : "cc::Picture::Raster", 24 "name" : "Picture::Raster", 32 "name" : "Picture::Raster",
|
/external/skia/dm/ |
DMUtil.h | 15 // Draw gm to picture. Passes recordFlags to SkPicture::beginRecording(). 16 void RecordPicture(skiagm::GM* gm, SkPicture* picture, uint32_t recordFlags = 0); 21 // Draw picture to bitmap. 22 void DrawPicture(SkPicture* picture, SkBitmap* bitmap);
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
JavaBrowserViewRendererHelper.java | 9 import android.graphics.Picture; 16 * Provides auxiliary methods related to Picture objects and native SkPictures. 67 * Creates a new Picture that records drawing a provided bitmap. 68 * Will return an empty Picture if the Bitmap is null. 71 private static Picture recordBitmapIntoPicture(Bitmap bitmap) { 72 Picture picture = new Picture(); local 74 Canvas recordingCanvas = picture.beginRecording(bitmap.getWidth(), bitmap.getHeight()); 76 picture.endRecording() [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
picture.c | 41 int WebPPictureAlloc(WebPPicture* picture) { 42 if (picture != NULL) { 43 const WebPEncCSP uv_csp = picture->colorspace & WEBP_CSP_UV_MASK; 44 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT; 45 const int width = picture->width; 46 const int height = picture->height; 48 if (!picture->use_argb) { 92 WebPPictureFree(picture); // erase previous buffer 97 picture->memory_ = (void*)mem; 98 picture->y_stride = y_stride [all...] |
/external/webp/src/enc/ |
picture.c | 41 int WebPPictureAlloc(WebPPicture* picture) { 42 if (picture != NULL) { 43 const WebPEncCSP uv_csp = picture->colorspace & WEBP_CSP_UV_MASK; 44 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT; 45 const int width = picture->width; 46 const int height = picture->height; 48 if (!picture->use_argb) { 92 WebPPictureFree(picture); // erase previous buffer 97 picture->memory_ = (void*)mem; 98 picture->y_stride = y_stride [all...] |