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/
Dthumbnail_loader.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;
389 ImageLoader.shouldProcess(this.image_.width,
390 this.image_.height,
392 ImageLoader.resize(this.image_, this.canvas_, this.request_);
431 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.cc25 image_(new views::ImageView()), in IconLabelBubbleView()
29 image_->SetImage( in IconLabelBubbleView()
35 image_->set_interactive(false); in IconLabelBubbleView()
36 AddChildView(image_); in IconLabelBubbleView()
78 image_->SetImage(image_skia); in SetImage()
87 image_->SetBounds(GetBubbleOuterPadding(!is_extension_icon_), 0, in Layout()
88 image_->GetPreferredSize().width(), height()); in Layout()
126 const int image_width = image_->GetPreferredSize().width(); in GetPreLabelWidth()
/external/chromium_org/ui/file_manager/gallery/js/image_editor/
Dimage_util.js434 this.image_ = new Image();
466 this.image_.onerror = null;
467 this.image_.onload = null;
480 this.image_.onload = function() { method
481 this.image_.onerror = null;
482 this.image_.onload = null;
484 onTransform(this.image_, fetchedMediaMetadata.imageTransform);
492 this.image_.onerror = onError.bind(this, 'GALLERY_IMAGE_ERROR');
496 this.image_.src = entry.toURL() + '?nocache=' + Date.now();
522 this.image_.onload = onSuccess;
[all …]
/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()
338 CreateImage(lossless_color_, size, &image_, &image_buffer_); in Initialize()
341 active_map_width_ = (image_->w + kMacroBlockSize - 1) / kMacroBlockSize; in Initialize()
342 active_map_height_ = (image_->h + kMacroBlockSize - 1) / kMacroBlockSize; in Initialize()
380 webrtc::DesktopRect::MakeWH(image_->w, image_->h)); in PrepareImage()
385 const int y_stride = image_->stride[0]; in PrepareImage()
386 DCHECK_EQ(image_->stride[1], image_->stride[2]); in PrepareImage()
387 const int uv_stride = image_->stride[1]; in PrepareImage()
388 uint8* y_data = image_->planes[0]; in PrepareImage()
[all …]
/external/chromium_org/athena/system/
Dbackground_controller.cc27 image_ = image; in SetImage()
38 canvas->DrawImageInt(image_, in OnPaint()
41 image_.width(), in OnPaint()
42 image_.height(), in OnPaint()
51 gfx::ImageSkia image_; member in athena::BackgroundView
/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/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.cc267 image_(image) { in ImageRepSkia()
274 return image_->width(); in Width()
278 return image_->height(); in Height()
282 return image_->size(); in Size()
285 ImageSkia* image() { return image_.get(); } in image()
288 scoped_ptr<ImageSkia> image_; member in gfx::internal::ImageRepSkia
298 image_(image) { in ImageRepCocoaTouch()
303 base::mac::NSObjectRelease(image_); in ~ImageRepCocoaTouch()
304 image_ = nil; in ~ImageRepCocoaTouch()
316 return internal::UIImageSize(image_); in Size()
[all …]
Dimage_skia_operations.cc156 : image_(image), in TransparentImageSource()
165 ImageSkiaRep image_rep = image_.GetRepresentation(scale); in GetImageForScale()
175 ImageSkia image_; member in gfx::__anon0ef94d760111::TransparentImageSource
244 : image_(image), in HSLImageSource()
253 ImageSkiaRep image_rep = image_.GetRepresentation(scale); in GetImageForScale()
260 const gfx::ImageSkia image_; member in gfx::__anon0ef94d760111::HSLImageSource
274 image_(image), in ButtonImageSource()
283 ImageSkiaRep image_rep = image_.GetRepresentation(scale); in GetImageForScale()
286 image_rep = image_.GetRepresentation(1.0f); in GetImageForScale()
297 const ImageSkia image_; member in gfx::__anon0ef94d760111::ButtonImageSource
[all …]
/external/chromium_org/ash/system/chromeos/
Dtray_tracing.cc34 image_ = new FixedSizedImageView(0, kTrayPopupItemHeight); in DefaultTracingView()
35 image_->SetImage( in DefaultTracingView()
37 AddChildView(image_); in DefaultTracingView()
55 views::ImageView* image_; member in ash::tray::DefaultTracingView
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
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()
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_;
/external/chromium_org/ash/desktop_background/
Dwallpaper_resizer.cc104 : image_(image), in WallpaperResizer()
105 original_image_id_(GetImageId(image_)), in WallpaperResizer()
109 image_.MakeThreadSafe(); in WallpaperResizer()
120 base::Bind(&Resize, *image_.bitmap(), target_size_, in StartResize()
140 image_ = gfx::ImageSkia::CreateFrom1xBitmap(*resized_bitmap); in OnResizeFinished()
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Dcarbonvideorenderer.cc70 if (image_.get() == NULL) { in DrawFrame()
77 CGDataProviderCreateWithData(NULL, image_.get(), width * height * 4, in DrawFrame()
117 image_.reset(new uint8[width * height * 4]); in SetSize()
118 memset(image_.get(), 255, width * height * 4); in SetSize()
131 image_.get(), in RenderFrame()
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