Searched refs:aspect_ratio (Results 1 – 13 of 13) sorted by relevance
/external/chromium/chrome/browser/chromeos/ |
D | wm_overview_favicon.cc | 58 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/ |
D | favicon_size.cc | 14 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/ |
D | VUIParameters.java | 62 public AspectRatio aspect_ratio; field in VUIParameters 91 ", aspect_ratio=" + aspect_ratio + "\n" + in toString()
|
D | SeqParameterSet.java | 198 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/ |
D | ffmpeg_common.cc | 372 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/ |
D | cube.cc | 431 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/ |
D | videosource_unittest.cc | 306 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/ |
D | graphics_3d.cc | 428 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/ |
D | shelf_button.cc | 277 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/ |
D | video_util.cc | 23 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/ |
D | cv.h | 1241 double aspect_ratio CV_DEFAULT(0)); in LOAD_CHDL() 1258 double aspect_ratio CV_DEFAULT(1.) ); in LOAD_CHDL()
|
/external/libpng/ |
D | libpng-1.2.46.txt | 777 aspect_ratio = png_get_pixel_aspect_ratio(png_ptr,
|
D | libpng-1.2.44.txt | 777 aspect_ratio = png_get_pixel_aspect_ratio(png_ptr,
|