Home
last modified time | relevance | path

Searched refs:image_ (Results 1 – 25 of 111) sorted by relevance

12345

/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test/
Dpacket_manipulator_unittest.cc31 EncodedImage image_; member in webrtc::test::PacketManipulatorTest
36 image_._buffer = packet_data_; in PacketManipulatorTest()
37 image_._length = kPacketDataLength; in PacketManipulatorTest()
38 image_._size = kPacketDataLength; in PacketManipulatorTest()
67 EXPECT_EQ(expected_packet_data_length, static_cast<int>(image_._length)); in VerifyPacketLoss()
79 int nbr_packets_dropped = manipulator.ManipulatePackets(&image_); in TEST_F()
81 packet_data_, image_); in TEST_F()
86 image_._length = data_length; in TEST_F()
88 int nbr_packets_dropped = manipulator.ManipulatePackets(&image_); in TEST_F()
91 packet_data_, image_); in TEST_F()
[all …]
/external/chromium_org/ui/file_manager/file_manager/foreground/js/media/
Dmedia_util.js162 this.image_ = new Image();
163 this.image_.onload = function() { method
166 opt_onSuccess(this.image_, this.transform_);
168 this.image_.onerror = function() { method
180 if (this.image_.src) {
192 this.image_,
215 this.image_.onload = function() {}; method
216 this.image_.onerror = function() {}; method
226 return !!(this.image_ && this.image_.width && this.image_.height);
241 return this.isRotated_() ? this.image_.height : this.image_.width;
[all …]
/external/chromium_org/media/tools/player_x11/
Dx11_video_renderer.cc74 image_(NULL), in X11VideoRenderer()
80 if (image_) in ~X11VideoRenderer()
81 XDestroyImage(image_); in ~X11VideoRenderer()
88 if (!image_) in Paint()
97 if (image_->width != coded_width || image_->height != coded_height) { in Paint()
98 XDestroyImage(image_); in Paint()
99 image_ = CreateImage(display_, coded_width, coded_height); in Paint()
109 DCHECK(image_->data); in Paint()
117 (uint8*)image_->data, coded_width, coded_height, in Paint()
120 image_->bytes_per_line, in Paint()
[all …]
/external/chromium_org/ui/views/controls/
Dimage_view.cc48 image_ = img; in SetImage()
64 return image_; in GetImage()
82 image_size_ : gfx::Size(image_.width(), image_.height())); in GetImageBounds()
102 return gfx::Size(image_.width() + insets.width(), in GetPreferredSize()
103 image_.height() + insets.height()); in GetPreferredSize()
112 return image_.BackedBySameObjectAs(img) && in IsImageEqual()
216 if (image_.isNull()) in OnPaintImage()
223 if (image_bounds.size() != gfx::Size(image_.width(), image_.height())) { in OnPaintImage()
227 canvas->DrawImageInt(image_, 0, 0, image_.width(), image_.height(), in OnPaintImage()
231 canvas->DrawImageInt(image_, image_bounds.x(), image_bounds.y()); in OnPaintImage()
[all …]
/external/opencv/cxcore/include/
Dcvwimage.h185 IplImage* Ipl() {return image_; } in Ipl()
186 const IplImage* Ipl() const {return image_; } in Ipl()
187 T* ImageData() { return reinterpret_cast<T*>(image_->imageData); } in ImageData()
189 return reinterpret_cast<const T*>(image_->imageData); in ImageData()
192 int Width() const {return image_->width; } in Width()
193 int Height() const {return image_->height; } in Height()
196 int WidthStep() const {return image_->widthStep; } in WidthStep()
198 int Channels() const {return image_->nChannels; } in Channels()
210 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep); in Row()
214 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep); in Row()
[all …]
/external/chromium_org/media/cast/test/
Dlinux_output_window.cc100 image_ = XShmCreateImage( in CreateWindow()
103 IPC_PRIVATE, (image_->bytes_per_line * image_->height), IPC_CREAT | 0777); in CreateWindow()
104 shminfo_.shmaddr = image_->data = (char*)shmat(shminfo_.shmid, 0, 0); in CreateWindow()
105 if (image_->data == reinterpret_cast<char*>(-1)) { in CreateWindow()
121 CHECK_LE(video_frame->coded_size().width(), image_->width); in RenderFrame()
122 CHECK_LE(video_frame->coded_size().height(), image_->height); in RenderFrame()
129 reinterpret_cast<uint8_t*>(image_->data), in RenderFrame()
130 image_->bytes_per_line, in RenderFrame()
138 image_, in RenderFrame()
/external/chromium_org/ui/file_manager/image_loader/
Drequest.js47 this.image_ = new Image();
186 this.image_.onload = onSuccess;
187 this.image_.onerror = onFailure;
192 this.image_.src = this.request_.url;
202 this.image_.src = e.target.result;
346 imageData = this.image_.src;
390 ImageLoader.shouldProcess(this.image_.width,
391 this.image_.height,
393 ImageLoader.resize(this.image_, this.canvas_, this.request_);
432 this.image_.onerror = function() {}; method
[all …]
/external/chromium_org/content/browser/web_contents/aura/
Dimage_window_delegate.cc26 image_ = image; in SetImage()
27 if (!window_size_.IsEmpty() && !image_.IsEmpty()) in SetImage()
28 size_mismatch_ = window_size_ != image_.AsImageSkia().size(); in SetImage()
42 if (!image_.IsEmpty()) in OnBoundsChanged()
43 size_mismatch_ = window_size_ != image_.AsImageSkia().size(); in OnBoundsChanged()
68 if (image_.IsEmpty()) { in OnPaint()
73 canvas->DrawImageInt(image_.AsImageSkia(), 0, 0); in OnPaint()
/external/chromium_org/chrome/browser/ui/views/location_bar/
Dicon_label_bubble_view.cc26 image_(new views::ImageView()), in IconLabelBubbleView()
30 image_->SetImage( in IconLabelBubbleView()
36 image_->set_interactive(false); in IconLabelBubbleView()
37 AddChildView(image_); in IconLabelBubbleView()
79 image_->SetImage(image_skia); in SetImage()
88 image_->SetBounds(GetBubbleOuterPadding(!is_extension_icon_), 0, in Layout()
89 image_->GetPreferredSize().width(), height()); in Layout()
127 const int image_width = image_->GetPreferredSize().width(); in GetPreLabelWidth()
/external/chromium_org/athena/screen/
Dbackground_controller.cc22 image_ = image; in SetImage()
28 canvas->DrawImageInt(image_, in OnPaint()
31 image_.width(), in OnPaint()
32 image_.height(), in OnPaint()
41 gfx::ImageSkia image_; member in athena::BackgroundView
/external/chromium_org/ui/file_manager/file_manager/foreground/js/image_editor/
Dimage_util.js415 this.image_ = new Image();
449 this.image_.onerror = null;
450 this.image_.onload = null;
463 this.image_.onload = function(e) { method
464 this.image_.onerror = null;
465 this.image_.onload = null;
472 this.image_.onerror = onError.bind(this, 'GALLERY_IMAGE_ERROR');
476 this.image_.src = entry.toURL() + "?nocache=" + Date.now();
506 this.image_.onload = onSuccess;
507 this.image_.onerror = onSuccess;
[all …]
/external/chromium_org/ui/file_manager/gallery/js/image_editor/
Dimage_util.js415 this.image_ = new Image();
449 this.image_.onerror = null;
450 this.image_.onload = null;
463 this.image_.onload = function(e) { method
464 this.image_.onerror = null;
465 this.image_.onload = null;
472 this.image_.onerror = onError.bind(this, 'GALLERY_IMAGE_ERROR');
476 this.image_.src = entry.toURL() + "?nocache=" + Date.now();
506 this.image_.onload = onSuccess;
507 this.image_.onerror = onSuccess;
[all …]
/external/chromium_org/ui/message_center/views/
Dproportional_image_view.cc14 : image_(image), max_size_(max_size) {} in ProportionalImageView()
35 gfx::Size image_size(image_.size()); in OnPaint()
38 canvas->DrawImageInt(image_, draw_bounds.x(), draw_bounds.y()); in OnPaint()
45 image_, in OnPaint()
57 GetContentsBounds().size(), image_.size()); in GetImageDrawingSize()
/external/chromium_org/remoting/codec/
Dvideo_encoder_vpx.cc250 !frame.size().equals(webrtc::DesktopSize(image_->w, image_->h))) { in Encode()
278 codec_.get(), image_.get(), timestamp, 1, 0, VPX_DL_REALTIME); in Encode()
355 CreateImage(lossless_color_, size, &image_, &image_buffer_); in Initialize()
358 active_map_width_ = (image_->w + kMacroBlockSize - 1) / kMacroBlockSize; in Initialize()
359 active_map_height_ = (image_->h + kMacroBlockSize - 1) / kMacroBlockSize; in Initialize()
397 webrtc::DesktopRect::MakeWH(image_->w, image_->h)); in PrepareImage()
402 const int y_stride = image_->stride[0]; in PrepareImage()
403 DCHECK_EQ(image_->stride[1], image_->stride[2]); in PrepareImage()
404 const int uv_stride = image_->stride[1]; in PrepareImage()
405 uint8* y_data = image_->planes[0]; in PrepareImage()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dbubble_decoration.mm54 if (image_) {
56 const NSSize imageSize = [image_ size];
65 const CGFloat all_width = GetWidthForImageAndLabel(image_, label_);
69 const CGFloat image_width = GetWidthForImageAndLabel(image_, nil);
79 if (image_) {
81 const NSSize imageSize = [image_ size];
86 [image_ drawInRect:imageRect
115 return image_;
119 image_.reset([image retain]);
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dvdso_support.h80 bool IsPresent() const { return image_.IsPresent(); } in IsPresent()
83 SymbolIterator begin() const { return image_.begin(); } in begin()
84 SymbolIterator end() const { return image_.end(); } in end()
112 ElfMemImage image_;
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dvdso_support.h80 bool IsPresent() const { return image_.IsPresent(); } in IsPresent()
83 SymbolIterator begin() const { return image_.begin(); } in begin()
84 SymbolIterator end() const { return image_.end(); } in end()
112 ElfMemImage image_;
/external/chromium_org/ui/gfx/image/
Dimage.cc268 image_(image) { in ImageRepSkia()
275 return image_->width(); in Width()
279 return image_->height(); in Height()
283 return image_->size(); in Size()
286 ImageSkia* image() { return image_.get(); } in image()
289 scoped_ptr<ImageSkia> image_; member in gfx::internal::ImageRepSkia
299 image_(image) { in ImageRepCocoaTouch()
304 base::mac::NSObjectRelease(image_); in ~ImageRepCocoaTouch()
305 image_ = nil; in ~ImageRepCocoaTouch()
317 return internal::UIImageSize(image_); in Size()
[all …]
Dimage_skia_operations.cc158 : image_(image), in TransparentImageSource()
167 ImageSkiaRep image_rep = image_.GetRepresentation(scale); in GetImageForScale()
179 ImageSkia image_; member in gfx::__anon01742f430111::TransparentImageSource
248 : image_(image), in HSLImageSource()
257 ImageSkiaRep image_rep = image_.GetRepresentation(scale); in GetImageForScale()
264 const gfx::ImageSkia image_; member in gfx::__anon01742f430111::HSLImageSource
278 image_(image), in ButtonImageSource()
287 ImageSkiaRep image_rep = image_.GetRepresentation(scale); in GetImageForScale()
290 image_rep = image_.GetRepresentation(1.0f); in GetImageForScale()
301 const ImageSkia image_; member in gfx::__anon01742f430111::ButtonImageSource
[all …]
/external/chromium_org/ui/app_list/views/
Dcached_label.cc18 if (image_.size() == size() && !needs_repaint_) in PaintToBackingImage()
30 image_ = gfx::ImageSkia(canvas.ExtractImageRep()); in PaintToBackingImage()
37 canvas->DrawImageInt(image_, 0, 0); in OnPaint()
/external/chromium_org/ash/system/chromeos/
Dtray_tracing.cc35 image_ = new FixedSizedImageView(0, kTrayPopupItemHeight); in DefaultTracingView()
36 image_->SetImage( in DefaultTracingView()
38 AddChildView(image_); in DefaultTracingView()
56 views::ImageView* image_; member in ash::tray::DefaultTracingView
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
Dmouse_cursor.h33 void set_image(DesktopFrame* image) { image_.reset(image); } in set_image()
34 const DesktopFrame* image() const { return image_.get(); } in image()
40 scoped_ptr<DesktopFrame> image_;
Dmouse_cursor.cc22 : image_(image), in MouseCursor()
24 assert(0 <= hotspot_.x() && hotspot_.x() <= image_->size().width()); in MouseCursor()
25 assert(0 <= hotspot_.y() && hotspot_.y() <= image_->size().height()); in MouseCursor()
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Dgtkvideorenderer.cc79 image_.reset(new uint8[width * height * 4]); in SetSize()
91 image_.get(), in RenderFrame()
109 image_.get(), in RenderFrame()
133 image_.reset(new uint8[width * height * 4]); in Initialize()
/external/chromium_org/chrome/browser/ui/cocoa/
Dsprite_view_unittest.mm21 image_.reset(ResourceBundle::GetSharedInstance()
25 [view_ setImage:image_];
29 base::scoped_nsobject<NSImage> image_;
36 NSSize imageSize = [image_ size];

12345