Home
last modified time | relevance | path

Searched refs:scale_factors (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/tools/grit/grit/gather/
Dchrome_html.py56 base_path, filename, scale_factors, distribution, argument
80 for scale_factor in scale_factors:
97 for scale_factor in scale_factors:
129 src_match, base_path, scale_factors, distribution, argument
152 base_path, filename, scale_factors, distribution,
163 src_match, base_path, scale_factors, distribution, argument
181 lambda m: UrlToImageSet(m, base_path, scale_factors, distribution,
189 src_match, base_path, scale_factors, distribution, argument
198 base_path, filename, scale_factors, distribution,
211 filepath, text, scale_factors, distribution, argument
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
Dvp9_scale.h25 struct scale_factors { struct
31 int (*scale_value_x)(int val, const struct scale_factors *sf); argument
32 int (*scale_value_y)(int val, const struct scale_factors *sf); argument
40 MV32 vp9_scale_mv(const MV *mv, int x, int y, const struct scale_factors *sf); argument
43 void vp9_setup_scale_factors_for_frame(struct scale_factors *sf,
48 void vp9_setup_scale_factors_for_frame(struct scale_factors *sf,
53 static INLINE int vp9_is_valid_scale(const struct scale_factors *sf) { in vp9_is_valid_scale()
58 static INLINE int vp9_is_scaled(const struct scale_factors *sf) { in vp9_is_scaled()
Dvp9_reconinter.h36 const struct scale_factors *sf,
46 const struct scale_factors *sf,
54 const struct scale_factors *sf) { in scaled_buffer_offset()
63 const struct scale_factors *scale, in setup_pred_plane()
77 const struct scale_factors *sf);
Dvp9_scale.c15 static INLINE int scaled_x(int val, const struct scale_factors *sf) { in scaled_x()
19 static INLINE int scaled_y(int val, const struct scale_factors *sf) { in scaled_y()
23 static int unscaled_value(int val, const struct scale_factors *sf) { in unscaled_value()
36 MV32 vp9_scale_mv(const MV *mv, int x, int y, const struct scale_factors *sf) { in vp9_scale_mv()
47 void vp9_setup_scale_factors_for_frame(struct scale_factors *sf,
52 void vp9_setup_scale_factors_for_frame(struct scale_factors *sf,
Dvp9_reconinter.c117 const struct scale_factors *sf, in inter_predictor()
129 const struct scale_factors *sf, in vp9_build_inter_predictor()
152 const struct scale_factors *sf, in high_inter_predictor()
164 const struct scale_factors *sf, in vp9_high_build_inter_predictor()
271 const struct scale_factors *const sf = &xd->block_refs[ref]->sf; in build_inter_predictors()
380 const struct scale_factors *const sf = &xd->block_refs[ref]->sf; in dec_build_inter_predictors()
597 const struct scale_factors *sf) { in vp9_setup_pre_planes()
Dvp9_blockd.h202 struct scale_factors sf;
/external/chromium_org/ui/gfx/image/
Dimage_skia_unittest.cc430 std::vector<float> scale_factors; in GetSortedScaleFactors() local
432 scale_factors.push_back(image_reps[i].scale()); in GetSortedScaleFactors()
434 std::sort(scale_factors.begin(), scale_factors.end()); in GetSortedScaleFactors()
435 return scale_factors; in GetSortedScaleFactors()
454 std::vector<float> scale_factors = GetSortedScaleFactors(image); in TEST_F() local
455 EXPECT_EQ(1.5f, scale_factors[0]); in TEST_F()
456 EXPECT_EQ(2.0f, scale_factors[1]); in TEST_F()
465 scale_factors = GetSortedScaleFactors(image); in TEST_F()
466 EXPECT_EQ(1.5f, scale_factors[0]); in TEST_F()
467 EXPECT_EQ(1.75f, scale_factors[1]); in TEST_F()
[all …]
Dimage_unittest_util.h65 const std::vector<float>& scale_factors);
/external/libvpx/libvpx/vp9/common/
Dvp9_scale.h25 struct scale_factors { struct
31 int (*scale_value_x)(int val, const struct scale_factors *sf); argument
32 int (*scale_value_y)(int val, const struct scale_factors *sf); argument
37 MV32 vp9_scale_mv(const MV *mv, int x, int y, const struct scale_factors *sf); argument
39 void vp9_setup_scale_factors_for_frame(struct scale_factors *sf,
43 static INLINE int vp9_is_valid_scale(const struct scale_factors *sf) { in vp9_is_valid_scale()
48 static INLINE int vp9_is_scaled(const struct scale_factors *sf) { in vp9_is_scaled()
Dvp9_scale.c15 static INLINE int scaled_x(int val, const struct scale_factors *sf) { in scaled_x()
19 static INLINE int scaled_y(int val, const struct scale_factors *sf) { in scaled_y()
23 static int unscaled_value(int val, const struct scale_factors *sf) { in unscaled_value()
44 MV32 vp9_scale_mv(const MV *mv, int x, int y, const struct scale_factors *sf) { in vp9_scale_mv()
54 void vp9_setup_scale_factors_for_frame(struct scale_factors *sf, in vp9_setup_scale_factors_for_frame()
Dvp9_reconinter.h36 const struct scale_factors *sf,
43 const struct scale_factors *sf) { in scaled_buffer_offset()
52 const struct scale_factors *scale, in setup_pred_plane()
65 const struct scale_factors *sf);
Dvp9_reconinter.c70 const struct scale_factors *sf, in inter_predictor()
82 const struct scale_factors *sf, in vp9_build_inter_predictor()
153 const struct scale_factors *const sf = &xd->block_refs[ref]->sf; in build_inter_predictors()
257 const struct scale_factors *const sf = &xd->block_refs[ref]->sf; in dec_build_inter_predictors()
431 const struct scale_factors *sf) { in vp9_setup_pre_planes()
/external/libvpx/libvpx/vpx/src/
Dsvc_encodeframe.c55 char scale_factors[OPTION_BUFFER_SIZE]; // set by vpx_svc_set_scale_factors member
342 const char *scale_factors) { in parse_scale_factors() argument
353 if (scale_factors == NULL || strlen(scale_factors) == 0) { in parse_scale_factors()
356 input_string = strdup(scale_factors); in parse_scale_factors()
485 const char *scale_factors) { in vpx_svc_set_scale_factors() argument
487 if (svc_ctx == NULL || scale_factors == NULL || si == NULL) { in vpx_svc_set_scale_factors()
490 strncpy(si->scale_factors, scale_factors, sizeof(si->scale_factors)); in vpx_svc_set_scale_factors()
491 si->scale_factors[sizeof(si->scale_factors) - 1] = '\0'; in vpx_svc_set_scale_factors()
535 res = parse_scale_factors(svc_ctx, si->scale_factors); in vpx_svc_init()
/external/chromium_org/ui/base/
Dlayout.cc45 const std::vector<ui::ScaleFactor>& scale_factors) { in SetSupportedScaleFactors() argument
49 g_supported_scale_factors = new std::vector<ScaleFactor>(scale_factors); in SetSupportedScaleFactors()
Dlayout.h40 const std::vector<ScaleFactor>& scale_factors);
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
Dvp9_rd.h163 const struct scale_factors *scale,
164 const struct scale_factors *scale_uv);
Dvp9_temporal_filter.c42 struct scale_factors *scale, in temporal_filter_predictors_mb_c()
198 struct scale_factors *scale) { in temporal_filter_iterate_c()
435 struct scale_factors sf; in vp9_temporal_filter()
/external/chromium_org/content/test/
Dtest_render_view_host.cc372 std::vector<ui::ScaleFactor> scale_factors; in RenderViewHostImplTestHarness() local
373 scale_factors.push_back(ui::SCALE_FACTOR_100P); in RenderViewHostImplTestHarness()
375 new ui::test::ScopedSetSupportedScaleFactors(scale_factors)); in RenderViewHostImplTestHarness()
/external/libvpx/libvpx/vpx/
Dsvc_context.h76 const char *scale_factors);
/external/chromium_org/chrome/browser/themes/
Dbrowser_theme_pack_unittest.cc40 std::vector<ui::ScaleFactor> scale_factors; in BrowserThemePackTest() local
41 scale_factors.push_back(ui::SCALE_FACTOR_100P); in BrowserThemePackTest()
42 scale_factors.push_back(ui::SCALE_FACTOR_200P); in BrowserThemePackTest()
44 new ui::test::ScopedSetSupportedScaleFactors(scale_factors)); in BrowserThemePackTest()
Dbrowser_theme_pack.cc278 const std::vector<ui::ScaleFactor>& scale_factors) { in GetScaleFactorsAsString() argument
279 scoped_ptr<float[]> scales(new float[scale_factors.size()]); in GetScaleFactorsAsString()
280 for (size_t i = 0; i < scale_factors.size(); ++i) in GetScaleFactorsAsString()
281 scales[i] = ui::GetScaleForScaleFactor(scale_factors[i]); in GetScaleFactorsAsString()
284 scale_factors.size() * sizeof(float)); in GetScaleFactorsAsString()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c41 struct scale_factors *scale, in temporal_filter_predictors_mb_c()
194 struct scale_factors *scale) { in temporal_filter_iterate_c()
388 struct scale_factors sf; in vp9_temporal_filter_prepare()
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dvideoadapter.h84 float FindScale(const float* scale_factors,
Dvideoadapter.cc85 float VideoAdapter::FindScale(const float* scale_factors, in FindScale() argument
97 float scale = scale_factors[i]; in FindScale()
/external/chromium_org/chrome/browser/favicon/
Dfavicon_handler_unittest.cc459 std::vector<ui::ScaleFactor> scale_factors; in SetUp() local
460 scale_factors.push_back(ui::SCALE_FACTOR_100P); in SetUp()
462 new ui::test::ScopedSetSupportedScaleFactors(scale_factors)); in SetUp()
1062 std::vector<ui::ScaleFactor> scale_factors; in TEST_F() local
1063 scale_factors.push_back(ui::SCALE_FACTOR_100P); in TEST_F()
1064 scale_factors.push_back(ui::SCALE_FACTOR_200P); in TEST_F()
1065 ui::test::ScopedSetSupportedScaleFactors scoped_supported(scale_factors); in TEST_F()

12