Home
last modified time | relevance | path

Searched refs:aspect_ratio (Results 1 – 13 of 13) sorted by relevance

/external/chromium/chrome/browser/chromeos/
Dwm_overview_favicon.cc58 float aspect_ratio = static_cast<float>(image.width()) / image.height(); in SetFavicon() local
61 if (aspect_ratio > 1.0f) { in SetFavicon()
62 new_height = kIconSize / aspect_ratio; in SetFavicon()
64 new_width = kIconSize * aspect_ratio; in SetFavicon()
/external/chromium_org/ui/gfx/
Dfavicon_size.cc14 float aspect_ratio = static_cast<float>(*width) / in CalculateFaviconTargetSize() local
17 *width = static_cast<int>(aspect_ratio * *height); in CalculateFaviconTargetSize()
20 *height = static_cast<int>(*width / aspect_ratio); in CalculateFaviconTargetSize()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
DVUIParameters.java62 public AspectRatio aspect_ratio; field in VUIParameters
91 ", aspect_ratio=" + aspect_ratio + "\n" + in toString()
DSeqParameterSet.java198 vuip.aspect_ratio = AspectRatio.fromValue((int) reader.readNBit(8, in ReadVUIParameters()
200 if (vuip.aspect_ratio == AspectRatio.Extended_SAR) { in ReadVUIParameters()
406 writer.writeNBit(vuip.aspect_ratio.getValue(), 8, in writeVUIParameters()
408 if (vuip.aspect_ratio == AspectRatio.Extended_SAR) { in writeVUIParameters()
/external/chromium_org/media/ffmpeg/
Dffmpeg_common.cc372 AVRational aspect_ratio = { 1, 1 }; in AVStreamToVideoDecoderConfig() local
374 aspect_ratio = stream->sample_aspect_ratio; in AVStreamToVideoDecoderConfig()
376 aspect_ratio = stream->codec->sample_aspect_ratio; in AVStreamToVideoDecoderConfig()
389 visible_rect.size(), aspect_ratio.num, aspect_ratio.den); in AVStreamToVideoDecoderConfig()
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/cube/
Dcube.cc431 const float aspect_ratio = static_cast<float>(width_) / height_; in Render() local
432 float fovY = kMinFovY / aspect_ratio; in Render()
436 glhPerspectivef2(&mvp[0], fovY, aspect_ratio, kZNear, kZFar); in Render()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dvideosource_unittest.cc306 double aspect_ratio = static_cast<double>(format->width) / format->height; in TEST_F() local
307 EXPECT_LT(aspect_ratio, 2); in TEST_F()
341 double aspect_ratio = static_cast<double>(format->width) / format->height; in TEST_F() local
342 EXPECT_LE(requested_aspect_ratio, aspect_ratio); in TEST_F()
/external/chromium_org/native_client_sdk/src/examples/api/graphics_3d/
Dgraphics_3d.cc428 const float aspect_ratio = static_cast<float>(width_) / height_; in Render() local
429 glhPerspectivef2(&mvp[0], kFovY, aspect_ratio, kZNear, kZFar); in Render()
/external/chromium_org/ash/shelf/
Dshelf_button.cc277 float aspect_ratio = in SetImage() local
280 int width = static_cast<int>(aspect_ratio * height); in SetImage()
283 height = static_cast<int>(width / aspect_ratio); in SetImage()
/external/chromium_org/media/base/
Dvideo_util.cc23 double aspect_ratio = aspect_ratio_numerator / in GetNaturalSize() local
26 int width = floor(visible_size.width() * aspect_ratio + 0.5); in GetNaturalSize()
/external/opencv/cv/include/
Dcv.h1241 double aspect_ratio CV_DEFAULT(0)); in LOAD_CHDL()
1258 double aspect_ratio CV_DEFAULT(1.) ); in LOAD_CHDL()
/external/libpng/
Dlibpng-1.2.46.txt777 aspect_ratio = png_get_pixel_aspect_ratio(png_ptr,
Dlibpng-1.2.44.txt777 aspect_ratio = png_get_pixel_aspect_ratio(png_ptr,