Searched refs:image_data (Results 1 - 25 of 122) sorted by relevance

12345

/external/chromium_org/ppapi/api/private/
H A Dpp_video_frame_private.idl25 PP_Resource image_data;
/external/chromium_org/ppapi/cpp/private/
H A Dvideo_frame_private.cc11 video_frame_.image_data = image_data_.pp_resource();
14 VideoFrame_Private::VideoFrame_Private(const ImageData& image_data, argument
16 : image_data_(image_data), video_frame_() {
18 video_frame_.image_data = image_data_.pp_resource();
25 // Take over the image_data resource in the frame.
26 image_data_ = ImageData(PASS_REF, video_frame_.image_data);
31 set_image_data(other.image_data());
43 set_image_data(other.image_data());
H A Dvideo_frame_private.h13 #include "ppapi/cpp/image_data.h"
30 /// structure. The 'image_data' PP_Resource field in the structure will be
36 VideoFrame_Private(const ImageData& image_data, PP_TimeTicks timestamp);
54 ImageData image_data() const { function in class:pp::VideoFrame_Private
57 void set_image_data(const ImageData& image_data) { argument
58 image_data_ = image_data;
61 video_frame_.image_data = image_data_.pp_resource();
/external/chromium_org/ppapi/c/
H A Dppb_image_data.h160 * @param[in] image_data A <code>PP_Resource</code> corresponding to image
167 PP_Bool (*IsImageData)(PP_Resource image_data);
172 * @param[in] image_data A <code>PP_Resource</code> corresponding to image
182 PP_Bool (*Describe)(PP_Resource image_data, struct PP_ImageDataDesc* desc);
186 * @param[in] image_data A <code>PP_Resource</code> corresponding to image
191 void* (*Map)(PP_Resource image_data);
196 * @param[in] image_data A <code>PP_Resource</code> corresponding to image
199 void (*Unmap)(PP_Resource image_data);
H A Dppb_graphics_2d.h132 PP_Resource image_data,
188 void (*ReplaceContents)(PP_Resource graphics_2d, PP_Resource image_data);
292 PP_Resource image_data,
298 void (*ReplaceContents)(PP_Resource graphics_2d, PP_Resource image_data);
/external/chromium_org/ppapi/c/private/
H A Dpp_video_frame_private.h39 PP_Resource image_data; member in struct:PP_VideoFrame_Private
/external/chromium_org/ppapi/api/
H A Dppb_image_data.idl138 * @param[in] image_data A <code>PP_Resource</code> corresponding to image
146 [in] PP_Resource image_data);
152 * @param[in] image_data A <code>PP_Resource</code> corresponding to image
164 [in] PP_Resource image_data,
170 * @param[in] image_data A <code>PP_Resource</code> corresponding to image
176 [in] PP_Resource image_data);
182 * @param[in] image_data A <code>PP_Resource</code> corresponding to image
186 [in] PP_Resource image_data);
H A Dppb_graphics_2d.idl123 [in] PP_Resource image_data,
184 [in] PP_Resource image_data);
/external/chromium_org/ppapi/thunk/
H A Dppb_image_data_thunk.cc46 PP_Bool IsImageData(PP_Resource image_data) { argument
48 EnterResource<PPB_ImageData_API> enter(image_data, false);
52 PP_Bool Describe(PP_Resource image_data, struct PP_ImageDataDesc* desc) { argument
54 EnterResource<PPB_ImageData_API> enter(image_data, true);
62 void* Map(PP_Resource image_data) { argument
64 EnterResource<PPB_ImageData_API> enter(image_data, true);
70 void Unmap(PP_Resource image_data) { argument
72 EnterResource<PPB_ImageData_API> enter(image_data, true);
H A Dppb_graphics_2d_api.h28 virtual void PaintImageData(PP_Resource image_data,
33 virtual void ReplaceContents(PP_Resource image_data) = 0;
H A Dppb_browser_font_trusted_api.h21 virtual PP_Bool DrawTextAt(PP_Resource image_data,
/external/libpng/contrib/gregbook/
H A Dreadppm.c69 uch *image_data = NULL; variable
157 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) {
166 fread(image_data, 1L, rowbytes*height, saved_infile);
169 return image_data;
175 if (free_image_data && image_data) {
176 free(image_data);
177 image_data = NULL;
H A Dreadpng.c74 uch *image_data = NULL; variable
218 free(image_data);
219 image_data = NULL;
266 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) {
272 free(image_data);
273 image_data = NULL;
284 row_pointers[i] = image_data + i*rowbytes;
300 return image_data;
306 if (free_image_data && image_data) {
307 free(image_data);
[all...]
/external/chromium_org/native_client_sdk/src/examples/api/var_array_buffer/
H A Dvar_array_buffer.cc10 #include "ppapi/cpp/image_data.h"
66 pp::ImageData image_data = local
68 uint32_t* image_buffer = static_cast<uint32_t*>(image_data.data());
71 return image_data;
75 /// <code>column</code> in <code>image_data</code>. <code>value</code> must be
77 void DrawBar(uint32_t column, double value, pp::ImageData* image_data) { argument
79 uint32_t* image_buffer = static_cast<uint32_t*>(image_data->data());
80 const uint32_t image_height = image_data->size().height();
81 const uint32_t image_width = image_data->size().width();
90 void PaintAndFlush(pp::ImageData* image_data) {
[all...]
/external/chromium_org/chrome/browser/
H A Dimage_decoder.cc17 const std::string& image_data,
20 image_data_(image_data.begin(), image_data.end()),
60 const std::vector<unsigned char>& image_data) {
66 new ChromeUtilityMsg_RobustJPEGDecodeImage(image_data));
69 new ChromeUtilityMsg_DecodeImage(image_data, shrink_to_fit_));
16 ImageDecoder(Delegate* delegate, const std::string& image_data, ImageCodec image_codec) argument
59 DecodeImageInSandbox( const std::vector<unsigned char>& image_data) argument
/external/chromium_org/ppapi/examples/video_effects/
H A Dvideo_effects.cc141 pp::ImageData image_data = video_frame.image_data(); local
142 pp::Size size = image_data.size();
143 std::vector<uint8_t> tmp_row(image_data.stride());
144 uint8_t* image = static_cast<uint8_t*>(image_data.data());
146 uint8_t* top = image + i * image_data.stride();
147 uint8_t* bottom = image + (size.height() - 1 - i) * image_data.stride();
148 memcpy(&tmp_row[0], top, image_data.stride());
149 memcpy(top, bottom, image_data.stride());
150 memcpy(bottom, &tmp_row[0], image_data
[all...]
/external/chromium_org/pdf/
H A Dpaint_manager.h36 pp::ImageData image_data; member in struct:PaintManager::ReadyRect
40 : rect(r), image_data(i), flush_now(f) {}
46 rv.image_data = image_data;
H A Dcontrol.cc38 void Control::PaintMultipleRects(pp::ImageData* image_data, argument
42 Paint(image_data, rects.front());
50 pp::ImageData buffer(owner()->GetInstance(), image_data->format(),
55 pp::Rect draw_rc = pp::Rect(image_data->size()).Intersect(rect());
57 CopyImage(*image_data, draw_rc, &buffer, ctrl_rc, false);
74 CopyImage(buffer, src_rc, image_data, draw_rc, false);
/external/chromium_org/skia/ext/
H A Dskia_utils_ios.h36 SK_API std::vector<SkBitmap> ImageDataToSkBitmaps(NSData* image_data);
/external/chromium_org/chrome/browser/bitmap_fetcher/
H A Dbitmap_fetcher.cc46 std::string image_data; local
47 source->GetResponseAsString(&image_data);
49 new ImageDecoder(this, image_data, ImageDecoder::DEFAULT_CODEC);
/external/chromium_org/chrome/browser/chromeos/login/users/avatar/
H A Duser_image_manager_test_util.cc54 std::string image_data; local
55 ReadFileToString(path_, &image_data);
58 image_data,
/external/chromium_org/ppapi/proxy/
H A Dgraphics_2d_resource.cc57 void Graphics2DResource::PaintImageData(PP_Resource image_data, argument
61 PpapiGlobals::Get()->GetResourceTracker()->GetResource(image_data);
83 void Graphics2DResource::ReplaceContents(PP_Resource image_data) { argument
85 image_data, true);
91 PpapiGlobals::Get()->GetResourceTracker()->GetResource(image_data);
H A Dppb_image_data_proxy.cc126 void Add(ImageData* image_data);
127 void ImageDataUsable(ImageData* image_data);
170 void ImageDataInstanceCache::Add(ImageData* image_data) { argument
171 images_[next_insertion_point_] = ImageDataCacheEntry(image_data);
175 void ImageDataInstanceCache::ImageDataUsable(ImageData* image_data) { argument
177 if (images_[i].image.get() == image_data) {
239 void Add(ImageData* image_data);
242 void ImageDataUsable(ImageData* image_data);
281 void ImageDataCache::Add(ImageData* image_data) { argument
282 cache_[image_data
293 ImageDataUsable(ImageData* image_data) argument
682 ImageData* image_data = static_cast<ImageData*>(enter.object()); local
[all...]
H A Dvideo_source_resource.cc98 const HostResource& image_data,
110 frame->image_data = 0;
111 frame->image_data =
113 image_data, image_desc, handle))->GetReference();
95 OnPluginMsgGetFrameComplete( PP_VideoFrame_Private* frame, const ResourceMessageReplyParams& reply_params, const HostResource& image_data, const PP_ImageDataDesc& image_desc, PP_TimeTicks timestamp) argument
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
H A Duser_image_screen_handler.cc148 scoped_ptr<base::DictionaryValue> image_data(new base::DictionaryValue);
149 image_data->SetString("url", user_manager::GetDefaultImageUrl(i));
150 image_data->SetString(
153 image_data->SetString(
156 image_data->SetString("title", user_manager::GetDefaultImageDescription(i));
157 image_urls.Append(image_data.release());

Completed in 427 milliseconds

12345