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

1234567891011>>

/external/chromium-trace/trace-viewer/src/cc/
H A Dpicture_debugger_test.js7 base.require('cc.picture');
12 var picture = new cc.PictureSnapshot({id: '31415'}, 10, {
19 picture.preInitialize();
20 picture.initialize();
23 dbg.picture = picture;
H A Dpicture_view.css6 .picture-snapshot-view {
H A Dpicture_as_canvas.js12 function PictureAsCanvas(picture, errorOrCanvas) {
13 this.picture_ = picture;
28 PictureAsCanvas.Pending = function(picture) {
29 return new PictureAsCanvas(picture, undefined);
33 get picture() {
H A Dpicture_debugger.css6 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
[all...]
H A Dpicture_ops_list_view.css6 picture-ops-list-view {
11 picture-ops-list-view > .x-list-view {
16 picture-ops-list-view > .x-list-view .list-item {
24 picture-ops-list-view > .x-list-view .list-item:hover {
29 picture-ops-list-view > .x-list-view .list-item > * {
37 picture-ops-list-view > .x-list-view .list-item > .elementInfo {
/external/chromium_org/third_party/libwebp/enc/
H A Dpicture.c25 const WebPPicture* const picture) {
29 (void)picture;
33 int WebPPictureInitInternal(WebPPicture* picture, int version) { argument
37 if (picture != NULL) {
38 memset(picture, 0, sizeof(*picture));
39 picture->writer = DummyWriter;
40 WebPEncodingSetError(picture, VP8_ENC_OK);
47 static void WebPPictureResetBufferARGB(WebPPicture* const picture) { argument
48 picture
24 DummyWriter(const uint8_t* data, size_t data_size, const WebPPicture* const picture) argument
53 WebPPictureResetBufferYUVA(WebPPicture* const picture) argument
60 WebPPictureResetBuffers(WebPPicture* const picture) argument
65 WebPPictureAllocARGB(WebPPicture* const picture, int width, int height) argument
89 WebPPictureAllocYUVA(WebPPicture* const picture, int width, int height) argument
152 WebPPictureAlloc(WebPPicture* picture) argument
168 WebPPictureFree(WebPPicture* picture) argument
185 WebPMemoryWrite(const uint8_t* data, size_t data_size, const WebPPicture* picture) argument
[all...]
H A Dpicture_csp.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
171 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, float dithering, WebPPicture* const picture) argument
246 WebPPictureARGBToYUVADithered(WebPPicture* picture, WebPEncCSP colorspace, float dithering) argument
264 WebPPictureARGBToYUVA(WebPPicture* picture, WebPEncCSP colorspace) argument
271 WebPPictureYUVAToARGB(WebPPicture* picture) argument
333 Import(WebPPicture* const picture, const uint8_t* const rgb, int rgb_stride, int step, int swap_rb, int import_alpha) argument
365 WebPPictureImportRGB(WebPPicture* picture, const uint8_t* rgb, int rgb_stride) argument
370 WebPPictureImportBGR(WebPPicture* picture, const uint8_t* rgb, int rgb_stride) argument
375 WebPPictureImportRGBA(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
380 WebPPictureImportBGRA(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
385 WebPPictureImportRGBX(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
390 WebPPictureImportBGRX(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
[all...]
/external/webp/src/enc/
H A Dpicture.c25 const WebPPicture* const picture) {
29 (void)picture;
33 int WebPPictureInitInternal(WebPPicture* picture, int version) { argument
37 if (picture != NULL) {
38 memset(picture, 0, sizeof(*picture));
39 picture->writer = DummyWriter;
40 WebPEncodingSetError(picture, VP8_ENC_OK);
47 static void WebPPictureResetBufferARGB(WebPPicture* const picture) { argument
48 picture
24 DummyWriter(const uint8_t* data, size_t data_size, const WebPPicture* const picture) argument
53 WebPPictureResetBufferYUVA(WebPPicture* const picture) argument
60 WebPPictureResetBuffers(WebPPicture* const picture) argument
65 WebPPictureAllocARGB(WebPPicture* const picture, int width, int height) argument
89 WebPPictureAllocYUVA(WebPPicture* const picture, int width, int height) argument
152 WebPPictureAlloc(WebPPicture* picture) argument
168 WebPPictureFree(WebPPicture* picture) argument
185 WebPMemoryWrite(const uint8_t* data, size_t data_size, const WebPPicture* picture) argument
[all...]
H A Dpicture_csp.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
171 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, float dithering, WebPPicture* const picture) argument
246 WebPPictureARGBToYUVADithered(WebPPicture* picture, WebPEncCSP colorspace, float dithering) argument
264 WebPPictureARGBToYUVA(WebPPicture* picture, WebPEncCSP colorspace) argument
271 WebPPictureYUVAToARGB(WebPPicture* picture) argument
333 Import(WebPPicture* const picture, const uint8_t* const rgb, int rgb_stride, int step, int swap_rb, int import_alpha) argument
365 WebPPictureImportRGB(WebPPicture* picture, const uint8_t* rgb, int rgb_stride) argument
370 WebPPictureImportBGR(WebPPicture* picture, const uint8_t* rgb, int rgb_stride) argument
375 WebPPictureImportRGBA(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
380 WebPPictureImportBGRA(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
385 WebPPictureImportRGBX(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
390 WebPPictureImportBGRX(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/
H A DWEBPImageEncoder.cpp43 static int writeOutput(const uint8_t* data, size_t size, const WebPPicture* const picture) argument
45 static_cast<Vector<unsigned char>*>(picture->custom_ptr)->append(data, size);
49 static bool rgbPictureImport(const unsigned char* pixels, bool premultiplied, WebPImporter importRGBX, WebPImporter importRGB, WebPPicture* picture) argument
52 return importRGBX(picture, pixels, picture->width * 4);
57 size_t pixelCount = picture->height * picture->width;
73 return importRGB(picture, rgb.data(), picture->width * 3);
76 template <bool Premultiplied> inline bool importPictureBGRX(const unsigned char* pixels, WebPPicture* picture) argument
81 importPictureRGBX(const unsigned char* pixels, WebPPicture* picture) argument
[all...]
/external/chromium_org/third_party/mesa/src/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/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/include/effects/
H A DSkPictureImageFilter.h17 * Refs the passed-in picture.
19 static SkPictureImageFilter* Create(SkPicture* picture) { argument
20 return SkNEW_ARGS(SkPictureImageFilter, (picture));
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 SkPictureImageFilter* Create(SkPicture* picture, const SkRect& cropRect) { argument
28 return SkNEW_ARGS(SkPictureImageFilter, (picture, cropRect));
34 explicit SkPictureImageFilter(SkPicture* picture);
35 SkPictureImageFilter(SkPicture* picture, const SkRect& cropRect);
41 * @param SkReadBuffer Serialized picture dat
[all...]
/external/chromium_org/third_party/webrtc/video_engine/
H A Dvie_file_image.cc72 const ViEPicture& picture,
74 int half_width = (picture.width + 1) / 2;
75 video_frame->CreateEmptyFrame(picture.width, picture.height,
76 picture.width, half_width, half_width);
77 return ConvertToI420(kI420, picture.data, 0, 0,
78 picture.width, picture.height,
71 ConvertPictureToI420VideoFrame(int engine_id, const ViEPicture& picture, I420VideoFrame* video_frame) argument
H A Dvie_file_image.h26 const ViEPicture& picture,
/external/chromium_org/android_webview/native/
H A Daw_picture.cc14 AwPicture::AwPicture(skia::RefPtr<SkPicture> picture) argument
15 : picture_(picture) {
34 bool RenderPictureToCanvas(SkPicture* picture, SkCanvas* canvas) { argument
35 picture->draw(canvas);
48 LOG_IF(ERROR, !ok) << "Couldn't draw picture";
/external/skia/src/gpu/
H A DGrLayerCache.cpp13 * PictureLayerKey just wraps a saveLayer's id in the picture for GrTHashTable.
69 GrCachedLayer* GrLayerCache::createLayer(const SkPicture* picture, int layerID) { argument
72 SkASSERT(picture->uniqueID() != SK_InvalidGenID);
73 layer->init(picture->uniqueID(), layerID);
74 fLayerHash.insert(PictureLayerKey(picture->uniqueID(), layerID), layer);
79 GrCachedLayer* GrLayerCache::findLayerOrCreate(const SkPicture* picture, int layerID) { argument
80 SkASSERT(picture->uniqueID() != SK_InvalidGenID);
81 GrCachedLayer* layer = fLayerHash.find(PictureLayerKey(picture->uniqueID(), layerID));
83 layer = this->createLayer(picture, layerID);
/external/skia/tests/
H A DPictureShaderTest.cpp13 // Test that attempting to create a picture shader with a NULL picture or
14 // empty picture returns NULL.
22 SkAutoTUnref<SkPicture> picture(factory.endRecording());
23 shader = SkShader::CreatePictureShader(picture.get(),
/external/chromium_org/third_party/skia/include/effects/
H A DSkPictureImageFilter.h17 * Refs the passed-in picture.
19 static SkPictureImageFilter* Create(const SkPicture* picture, int32_t uniqueID = 0) { argument
20 return SkNEW_ARGS(SkPictureImageFilter, (picture, uniqueID));
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 SkPictureImageFilter* Create(const SkPicture* picture, const SkRect& cropRect, uint32_t uniqueID = 0) { argument
28 return SkNEW_ARGS(SkPictureImageFilter, (picture, cropRect, uniqueID));
34 explicit SkPictureImageFilter(const SkPicture* picture, uint32_t uniqueID);
35 SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect, uint32_t uniqueID);
41 * @param SkReadBuffer Serialized picture dat
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkMultiPictureDraw.cpp20 fDrawData[i].picture->unref();
29 const SkPicture* picture,
32 if (NULL == canvas || NULL == picture) {
39 data->picture = SkRef(picture);
55 fDrawData[i].canvas->drawPicture(fDrawData[i].picture,
28 add(SkCanvas* canvas, const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) argument
/external/chromium_org/third_party/libwebp/webp/
H A Dencode.h84 WEBP_HINT_PICTURE, // digital picture, like portrait, inner shot
118 int show_compressed; // if true, export the compressed picture back.
138 // of source picture. These presets are used when calling WebPConfigPreset().
141 WEBP_PRESET_PICTURE, // digital picture, like portrait, inner shot
217 // data/data_size is the segment of data to write, and 'picture' is for
218 // reference (and so one can make use of picture->custom_ptr).
220 const WebPPicture* picture);
247 const WebPPicture* picture);
252 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture);
270 VP8_ENC_ERROR_BAD_DIMENSION, // picture ha
356 WebPPictureInit(WebPPicture* picture) argument
367 WEBP_EXTERN(int) WebPPictureAlloc(WebPPicture* picture); variable
374 WEBP_EXTERN(void) WebPPictureFree(WebPPicture* picture); variable
419 WEBP_EXTERN(int) WebPPictureIsView(const WebPPicture* picture); variable
470 WEBP_EXTERN(int) WebPPictureYUVAToARGB(WebPPicture* picture); variable
475 WEBP_EXTERN(void) WebPCleanupTransparentArea(WebPPicture* picture); variable
480 WEBP_EXTERN(int) WebPPictureHasTransparency(const WebPPicture* picture); variable
[all...]
/external/webp/include/webp/
H A Dencode.h84 WEBP_HINT_PICTURE, // digital picture, like portrait, inner shot
118 int show_compressed; // if true, export the compressed picture back.
138 // of source picture. These presets are used when calling WebPConfigPreset().
141 WEBP_PRESET_PICTURE, // digital picture, like portrait, inner shot
217 // data/data_size is the segment of data to write, and 'picture' is for
218 // reference (and so one can make use of picture->custom_ptr).
220 const WebPPicture* picture);
247 const WebPPicture* picture);
252 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture);
270 VP8_ENC_ERROR_BAD_DIMENSION, // picture ha
356 WebPPictureInit(WebPPicture* picture) argument
367 WEBP_EXTERN(int) WebPPictureAlloc(WebPPicture* picture); variable
374 WEBP_EXTERN(void) WebPPictureFree(WebPPicture* picture); variable
419 WEBP_EXTERN(int) WebPPictureIsView(const WebPPicture* picture); variable
470 WEBP_EXTERN(int) WebPPictureYUVAToARGB(WebPPicture* picture); variable
475 WEBP_EXTERN(void) WebPCleanupTransparentArea(WebPPicture* picture); variable
480 WEBP_EXTERN(int) WebPPictureHasTransparency(const WebPPicture* picture); variable
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkPictureImageFilter.cpp15 SkPictureImageFilter::SkPictureImageFilter(const SkPicture* picture, uint32_t uniqueID) argument
17 , fPicture(SkSafeRef(picture))
18 , fCropRect(picture ? picture->cullRect() : SkRect::MakeEmpty()) {
21 SkPictureImageFilter::SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect, argument
24 , fPicture(SkSafeRef(picture))
48 SkAutoTUnref<SkPicture> picture; local
53 picture.reset(SkPicture::CreateFromBuffer(buffer));
60 return Create(picture, cropRect);
/external/chromium_org/third_party/skia/tools/
H A Dgpuveto.cpp47 SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(&inputStream, proc));
48 if (NULL == picture.get()) {
56 // an isn't serialized. Replay the picture to regenerated the tracking data.
58 picture->playback(recorder.beginRecording(picture->cullRect().width(),
59 picture->cullRect().height(),
/external/skia/tools/
H A Dgpuveto.cpp47 SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(&inputStream, proc));
48 if (NULL == picture.get()) {
56 // an isn't serialized. Replay the picture to regenerated the tracking data.
58 picture->draw(recorder.beginRecording(picture->width(), picture->height(), NULL, 0));

Completed in 999 milliseconds

1234567891011>>