/external/chromium_org/ppapi/cpp/private/ |
video_frame_private.cc | 11 video_frame_.image_data = image_data_.pp_resource(); 14 VideoFrame_Private::VideoFrame_Private(const ImageData& image_data, 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());
|
video_frame_private.h | 13 #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) { 58 image_data_ = image_data; 61 video_frame_.image_data = image_data_.pp_resource();
|
/external/chromium_org/ppapi/thunk/ |
ppb_image_data_thunk.cc | 48 PP_Bool IsImageData(PP_Resource image_data) { 50 EnterResource<PPB_ImageData_API> enter(image_data, false); 54 PP_Bool Describe(PP_Resource image_data, struct PP_ImageDataDesc* desc) { 56 EnterResource<PPB_ImageData_API> enter(image_data, true); 64 void* Map(PP_Resource image_data) { 66 EnterResource<PPB_ImageData_API> enter(image_data, true); 72 void Unmap(PP_Resource image_data) { 74 EnterResource<PPB_ImageData_API> enter(image_data, true);
|
ppb_graphics_2d_api.h | 29 virtual void PaintImageData(PP_Resource image_data, 34 virtual void ReplaceContents(PP_Resource image_data) = 0;
|
/external/chromium/chrome/browser/chromeos/login/ |
image_decoder.cc | 13 const std::string& image_data) 15 image_data_(image_data.begin(), image_data.end()), 44 const std::vector<unsigned char>& image_data) { 49 utility_process_host->StartImageDecoding(image_data);
|
image_decoder.h | 36 const std::string& image_data); 50 void DecodeImageInSandbox(const std::vector<unsigned char>& image_data);
|
user_image_loader.cc | 45 std::string image_data; local 46 file_util::ReadFileToString(FilePath(filepath), &image_data); local 49 new ImageDecoder(this, image_data);
|
/external/chromium_org/chrome/browser/ |
image_decoder.cc | 17 const std::string& image_data, 20 image_data_(image_data.begin(), image_data.end()), 59 const std::vector<unsigned char>& image_data) { 65 new ChromeUtilityMsg_RobustJPEGDecodeImage(image_data)); 67 utility_process_host->Send(new ChromeUtilityMsg_DecodeImage(image_data));
|
/external/chromium_org/native_client_sdk/src/examples/api/var_array_buffer/ |
var_array_buffer.cc | 10 #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) { 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/ppapi/tests/ |
test_resource_array.cc | 8 #include "ppapi/cpp/image_data.h" 59 pp::ImageData image_data = CreateImageData(instance_); local 64 image_data.pp_resource() 82 pp::ImageData image_data = CreateImageData(instance_); local 87 image_data.pp_resource() 107 pp::ImageData image_data = CreateImageData(instance_); local 112 image_data.pp_resource()
|
/external/chromium_org/content/renderer/media/ |
video_destination_handler.cc | 85 void PpFrameWriter::PutFrame(PPB_ImageData_Impl* image_data, 90 // libjingle worker thread, which will require an extra copy of |image_data|. 91 // However if pepper host can hand over the ownership of |image_data| 98 if (!image_data) { 99 LOG(ERROR) << "PpFrameWriter::PutFrame - Called with NULL image_data."; 102 ImageDataAutoMapper mapper(image_data); 108 const SkBitmap* bitmap = image_data->GetMappedBitmap(); 111 << "The image_data's mapped bitmap is NULL."; 122 if (image_data->format() == PP_IMAGEDATAFORMAT_BGRA_PREMUL) { 150 virtual void PutFrame(PPB_ImageData_Impl* image_data, [all...] |
video_destination_handler.h | 26 // The ownership of the |image_data| deosn't transfer. So the implementation 27 // of this interface should make a copy of the |image_data| before return. 28 virtual void PutFrame(PPB_ImageData_Impl* image_data, 57 virtual void PutFrame(PPB_ImageData_Impl* image_data,
|
/external/chromium_org/ppapi/examples/video_effects/ |
video_effects.cc | 141 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.stride()) [all...] |
/external/chromium_org/chrome/browser/chromeos/login/ |
user_image_manager_test_util.cc | 54 std::string image_data; local 55 ReadFileToString(path_, &image_data); 58 image_data,
|
/external/chromium_org/ppapi/proxy/ |
video_source_resource.cc | 98 const HostResource& image_data, 110 frame->image_data = 0; 111 frame->image_data = 113 image_data, image_desc, handle))->GetReference();
|
graphics_2d_resource.h | 35 virtual void PaintImageData(PP_Resource image_data, 40 virtual void ReplaceContents(PP_Resource image_data) OVERRIDE;
|
graphics_2d_resource.cc | 57 void Graphics2DResource::PaintImageData(PP_Resource image_data, 61 PpapiGlobals::Get()->GetResourceTracker()->GetResource(image_data); 83 void Graphics2DResource::ReplaceContents(PP_Resource image_data) { 85 image_data, true); 91 PpapiGlobals::Get()->GetResourceTracker()->GetResource(image_data);
|
/external/chromium_org/content/renderer/pepper/ |
pepper_graphics_2d_host_unittest.cc | 56 void PaintImageData(PPB_ImageData_Impl* image_data) { 58 image_data_resource.SetHostResource(image_data->pp_instance(), 59 image_data->pp_resource()); 196 scoped_refptr<PPB_ImageData_Impl> image_data( 198 image_data->Init(PPB_ImageData_Impl::GetNativeImageDataFormat(), 203 ImageDataAutoMapper auto_mapper(image_data.get()); 204 image_data->GetMappedBitmap()->eraseColor( 207 PaintImageData(image_data.get()); 259 scoped_refptr<PPB_ImageData_Impl> image_data( 261 image_data->Init(PPB_ImageData_Impl::GetNativeImageDataFormat() [all...] |
/external/chromium/chrome/browser/ui/window_snapshot/ |
window_snapshot_mac_unittest.mm | 36 scoped_nsobject<NSData> image_data( 39 NSBitmapImageRep* rep = [NSBitmapImageRep imageRepWithData:image_data.get()];
|
/external/chromium_org/ppapi/api/ |
ppb_image_data.idl | 138 * @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);
|
/external/chromium_org/chrome/browser/notifications/sync_notifier/ |
notification_bitmap_fetcher.cc | 43 std::string image_data; local 44 source->GetResponseAsString(&image_data); 46 image_decoder_ = new ImageDecoder(this, image_data,
|
/external/chromium_org/skia/ext/ |
skia_utils_ios.mm | 81 std::vector<SkBitmap> ImageDataToSkBitmaps(NSData* image_data) { 82 DCHECK(image_data); 88 CGImageSourceCreateWithData((CFDataRef)image_data, empty_dictionary));
|
/external/chromium/chrome/browser/webdata/ |
web_apps_table.cc | 61 std::vector<unsigned char> image_data; 62 gfx::PNGCodec::EncodeBGRASkBitmap(image, false, &image_data); 67 s.BindBlob(3, &image_data.front(), static_cast<int>(image_data.size()));
|
/external/chromium_org/chrome/renderer/extensions/ |
set_icon_natives.h | 28 bool ConvertImageDataToBitmapValue(const v8::Local<v8::Object> image_data,
|
/external/chromium_org/ppapi/api/private/ |
pp_video_frame_private.idl | 25 PP_Resource image_data;
|