Searched defs:source_size (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/remoting/client/
H A Dframe_consumer_proxy.cc51 const webrtc::DesktopSize& source_size,
55 &FrameConsumerProxy::SetSourceSize, this, source_size, source_dpi));
60 frame_consumer_->SetSourceSize(source_size, source_dpi);
50 SetSourceSize( const webrtc::DesktopSize& source_size, const webrtc::DesktopVector& source_dpi) argument
/external/chromium_org/remoting/client/jni/
H A Djni_frame_consumer.cc90 void JniFrameConsumer::SetSourceSize(const webrtc::DesktopSize& source_size, argument
96 view_size_ = source_size;
/external/chromium/sdch/open-vcdiff/src/
H A Dblockhash.h123 BlockHash(const char* source_data, size_t source_size, int starting_offset);
357 size_t source_size() { return source_size_; } function in class:open_vcdiff::BlockHash
368 // to calling AddAllBlocksThroughIndex(source_data + source_size).
H A Dblockhash.cc29 size_t source_size,
32 source_size_(source_size),
222 int last_legal_hash_index = static_cast<int>(source_size() - kBlockSize);
28 BlockHash(const char* source_data, size_t source_size, int starting_offset) argument
/external/chromium_org/chrome/browser/thumbnails/
H A Dcontent_based_thumbnailing_algorithm.cc44 const gfx::Size& source_size,
48 DCHECK(!source_size.IsEmpty());
54 source_size, target_thumbnail_size, target_size, &clipping_method);
206 const gfx::Size& source_size,
218 if (source_size.width() < thumbnail_size.width() ||
219 source_size.height() < thumbnail_size.height()) {
223 } else if (source_size.width() < thumbnail_size.width() * 4 ||
224 source_size.height() < thumbnail_size.height() * 4) {
225 clipping_rect = gfx::Rect(source_size);
226 *target_size = source_size;
43 GetCanvasCopyInfo( const gfx::Size& source_size, ui::ScaleFactor scale_factor, gfx::Rect* clipping_rect, gfx::Size* target_size) const argument
205 GetClippingRect( const gfx::Size& source_size, const gfx::Size& thumbnail_size, gfx::Size* target_size, ClipResult* clip_result) argument
[all...]
H A Dsimple_thumbnail_crop.cc29 const gfx::Size& source_size,
33 DCHECK(!source_size.IsEmpty());
35 *clipping_rect = GetClippingRect(source_size, target_size_, &clip_result);
140 gfx::Rect SimpleThumbnailCrop::GetClippingRect(const gfx::Size& source_size, argument
151 if (source_size.width() < desired_size.width() ||
152 source_size.height() < desired_size.height()) {
160 static_cast<float>(source_size.width()) / source_size.height();
164 int new_width = static_cast<int>(source_size.height() * desired_aspect);
165 int x_offset = (source_size
28 GetCanvasCopyInfo( const gfx::Size& source_size, ui::ScaleFactor scale_factor, gfx::Rect* clipping_rect, gfx::Size* target_size) const argument
[all...]
/external/chromium_org/content/browser/renderer_host/media/
H A Dvideo_capture_device_impl.cc132 void ThreadSafeCaptureOracle::UpdateCaptureSize(const gfx::Size& source_size) { argument
141 if (source_size.width() > params_.requested_format.frame_size.width() ||
142 source_size.height() > params_.requested_format.frame_size.height()) {
144 gfx::Rect(params_.requested_format.frame_size), source_size);
148 capture_size_ = gfx::Size(MakeEven(source_size.width()),
149 MakeEven(source_size.height()));
H A Ddesktop_capture_device.cc38 const webrtc::DesktopSize& source_size) {
41 gfx::Size(source_size.width(), source_size.height()));
36 ComputeLetterboxRect( const webrtc::DesktopSize& max_size, const webrtc::DesktopSize& source_size) argument
/external/chromium_org/media/base/
H A Daudio_fifo.cc64 const int source_size = source->frames(); local
65 CHECK_LE(source_size + frames(), max_frames_);
71 GetSizes(write_pos_, max_frames(), source_size, &append_size, &wrap_size);
89 Atomic32 new_frames_pushed = frames_pushed_ + source_size;
93 write_pos_ = UpdatePos(write_pos_, source_size, max_frames());
/external/chromium_org/sdch/open-vcdiff/src/
H A Dblockhash.h123 BlockHash(const char* source_data, size_t source_size, int starting_offset);
357 size_t source_size() { return source_size_; } function in class:open_vcdiff::BlockHash
368 // to calling AddAllBlocksThroughIndex(source_data + source_size).
H A Dblockhash.cc30 size_t source_size,
33 source_size_(source_size),
223 int last_legal_hash_index = static_cast<int>(source_size() - kBlockSize);
29 BlockHash(const char* source_data, size_t source_size, int starting_offset) argument
/external/open-vcdiff/src/
H A Dblockhash.h123 BlockHash(const char* source_data, size_t source_size, int starting_offset);
357 size_t source_size() { return source_size_; } function in class:open_vcdiff::BlockHash
368 // to calling AddAllBlocksThroughIndex(source_data + source_size).
H A Dblockhash.cc30 size_t source_size,
33 source_size_(source_size),
223 int last_legal_hash_index = static_cast<int>(source_size() - kBlockSize);
29 BlockHash(const char* source_data, size_t source_size, int starting_offset) argument
/external/chromium/net/base/
H A Dgzip_filter_unittest.cc117 int CompressAll(EncodeMode mode, const char* source, int source_size, argument
138 zlib_stream.avail_in = source_size;
/external/chromium_org/chrome/renderer/
H A Dmock_printer.cc46 uint32 source_size,
48 : source_size_(source_size),
51 source_data_.reset(new uint8[source_size]);
53 memcpy(source_data_.get(), source_data, source_size);
275 uint32 source_size = pages_[page]->source_size(); local
277 source_size);
45 MockPrinterPage(const void* source_data, uint32 source_size, const printing::Image& image) argument
H A Dmock_printer.h31 uint32 source_size,
37 uint32 source_size() const { return source_size_; } function in class:MockPrinterPage
/external/chromium_org/net/base/
H A Dgzip_filter_unittest.cc107 int CompressAll(EncodeMode mode, const char* source, int source_size, argument
128 zlib_stream.avail_in = source_size;
/external/chromium_org/remoting/client/plugin/
H A Dpepper_view.cc201 void PepperView::SetSourceSize(const webrtc::DesktopSize& source_size, argument
205 if (source_size_.equals(source_size) && source_dpi_.equals(source_dpi))
208 source_size_ = source_size;
212 instance_->SetDesktopSize(source_size, source_dpi);
/external/chromium_org/remoting/base/
H A Dutil.cc76 const webrtc::DesktopSize& source_size,
85 DCHECK(DoesRectContain(webrtc::DesktopRect::MakeSize(source_size),
90 DCHECK(DoesRectContain(ScaleRect(source_buffer_rect, source_size, dest_size),
106 if (source_size.equals(dest_size)) {
155 source_size.width(),
156 source_size.height(),
173 source_size.width(),
174 source_size.height(),
70 ConvertAndScaleYUVToRGB32Rect( const uint8* source_yplane, const uint8* source_uplane, const uint8* source_vplane, int source_ystride, int source_uvstride, const webrtc::DesktopSize& source_size, const webrtc::DesktopRect& source_buffer_rect, uint8* dest_buffer, int dest_stride, const webrtc::DesktopSize& dest_size, const webrtc::DesktopRect& dest_buffer_rect, const webrtc::DesktopRect& dest_rect) argument
/external/chromium_org/cc/output/
H A Dgl_renderer.cc546 gfx::Size source_size = source_texture_resource->size(); local
549 DCHECK_LE(background_size.width(), source_size.width());
550 DCHECK_LE(background_size.height(), source_size.height());
555 DCHECK_EQ(source_size.width(), source_bitmap_with_filters.width());
556 DCHECK_EQ(source_size.height(), source_bitmap_with_filters.height());
582 backend_texture_description.fWidth = source_size.width();
583 backend_texture_description.fHeight = source_size.height();
597 source_size.width(),
598 source_size.height(),

Completed in 692 milliseconds