Searched refs:target_height (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dresize_util.sh53 local target_height=$((${YUV_RAW_INPUT_HEIGHT} / 2))
55 resize_util "${target_width}x${target_height}"
61 local target_height=$((${YUV_RAW_INPUT_HEIGHT} * 2))
63 resize_util "${target_width}x${target_height}"
/external/chromium_org/ui/gfx/
H A Dplatform_font_win_unittest.cc16 // Returns a font based on |base_font| with height at most |target_height| and
19 int target_height) {
21 if (base_font.GetHeight() < target_height) {
22 // Increase size while height is <= |target_height|.
24 while (larger_font.GetHeight() <= target_height) {
28 } else if (expected_font.GetHeight() > target_height) {
29 // Decrease size until height is <= |target_height|.
32 } while (expected_font.GetHeight() > target_height);
45 const int target_height = base_font.GetHeight() + i; local
46 Font expected_font = AdjustFontSizeForHeight(base_font, target_height);
18 AdjustFontSizeForHeight(const gfx::Font& base_font, int target_height) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/examples/
H A Dresize_util.c22 printf("%s <input_yuv> <width>x<height> <target_width>x<target_height> ",
48 int width, height, target_width, target_height; local
63 if (!parse_dim(argv[3], &target_width, &target_height)) {
89 target_width, target_height);
96 outbuf = (uint8_t*)malloc(target_width * target_height * 3 / 2);
99 outbuf_u = outbuf + target_width * target_height;
100 outbuf_v = outbuf_u + target_width * target_height / 4;
109 target_height, target_width);
110 fwrite(outbuf, target_width * target_height * 3 / 2, 1, fpout);
/external/libvpx/libvpx/examples/
H A Dresize_util.c22 printf("%s <input_yuv> <width>x<height> <target_width>x<target_height> ",
48 int width, height, target_width, target_height; local
63 if (!parse_dim(argv[3], &target_width, &target_height)) {
89 target_width, target_height);
96 outbuf = (uint8_t*)malloc(target_width * target_height * 3 / 2);
99 outbuf_u = outbuf + target_width * target_height;
100 outbuf_v = outbuf_u + target_width * target_height / 4;
109 target_height, target_width);
110 fwrite(outbuf, target_width * target_height * 3 / 2, 1, fpout);
/external/chromium_org/third_party/webrtc/modules/video_capture/
H A Dvideo_capture_impl.cc288 int target_height = height; local
292 target_height = width;
300 abs(target_height),
/external/chromium_org/ash/wm/dock/
H A Ddocked_window_layout_manager.cc264 // Returns height that is as close as possible to |target_height| while
266 int GetWindowHeightCloseTo(const aura::Window* window, int target_height) { argument
281 target_height = std::max(target_height, minimum_height);
283 target_height = std::min(target_height, maximum_height);
284 return target_height;
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtcvideoengine.cc3904 int target_height = new_height; local
3908 target_height = target_codec.height;
3942 target_width != cur_width || target_height != cur_height;
3953 vie_codec.height = target_height;

Completed in 1046 milliseconds