Searched defs:scale_factors (Results 1 - 10 of 10) sorted by relevance

/external/libvpx/libvpx/vp9/common/
H A Dvp9_scale.h25 struct scale_factors { struct
31 int (*scale_value_x)(int val, const struct scale_factors *sf);
32 int (*scale_value_y)(int val, const struct scale_factors *sf);
37 MV32 vp9_scale_mv(const MV *mv, int x, int y, const struct scale_factors *sf);
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) {
48 static INLINE int vp9_is_scaled(const struct scale_factors *sf) {
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_scale.h25 struct scale_factors { struct
31 int (*scale_value_x)(int val, const struct scale_factors *sf);
32 int (*scale_value_y)(int val, const struct scale_factors *sf);
40 MV32 vp9_scale_mv(const MV *mv, int x, int y, const struct scale_factors *sf);
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) {
58 static INLINE int vp9_is_scaled(const struct scale_factors *sf) {
/external/chromium_org/ui/base/
H A Dlayout.cc45 const std::vector<ui::ScaleFactor>& scale_factors) {
49 g_supported_scale_factors = new std::vector<ScaleFactor>(scale_factors);
44 SetSupportedScaleFactors( const std::vector<ui::ScaleFactor>& scale_factors) argument
/external/chromium_org/ui/gfx/image/
H A Dimage_skia_unittest.cc430 std::vector<float> scale_factors; local
432 scale_factors.push_back(image_reps[i].scale());
434 std::sort(scale_factors.begin(), scale_factors.end());
435 return scale_factors;
454 std::vector<float> scale_factors = GetSortedScaleFactors(image); local
455 EXPECT_EQ(1.5f, scale_factors[0]);
456 EXPECT_EQ(2.0f, scale_factors[1]);
465 scale_factors = GetSortedScaleFactors(image);
466 EXPECT_EQ(1.5f, scale_factors[
[all...]
/external/chromium_org/chrome/browser/themes/
H A Dbrowser_theme_pack_unittest.cc40 std::vector<ui::ScaleFactor> scale_factors; local
41 scale_factors.push_back(ui::SCALE_FACTOR_100P);
42 scale_factors.push_back(ui::SCALE_FACTOR_200P);
44 new ui::test::ScopedSetSupportedScaleFactors(scale_factors));
H A Dbrowser_theme_pack.cc276 // Returns |scale_factors| as a string to be written to disk.
278 const std::vector<ui::ScaleFactor>& scale_factors) {
279 scoped_ptr<float[]> scales(new float[scale_factors.size()]);
280 for (size_t i = 0; i < scale_factors.size(); ++i)
281 scales[i] = ui::GetScaleForScaleFactor(scale_factors[i]);
284 scale_factors.size() * sizeof(float));
277 GetScaleFactorsAsString( const std::vector<ui::ScaleFactor>& scale_factors) argument
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dvideoadapter.cc85 float VideoAdapter::FindScale(const float* scale_factors, argument
97 float scale = scale_factors[i];
/external/chromium_org/chrome/browser/favicon/
H A Dfavicon_handler_unittest.cc459 std::vector<ui::ScaleFactor> scale_factors; local
460 scale_factors.push_back(ui::SCALE_FACTOR_100P);
462 new ui::test::ScopedSetSupportedScaleFactors(scale_factors));
1062 std::vector<ui::ScaleFactor> scale_factors; local
1063 scale_factors.push_back(ui::SCALE_FACTOR_100P);
1064 scale_factors.push_back(ui::SCALE_FACTOR_200P);
1065 ui::test::ScopedSetSupportedScaleFactors scoped_supported(scale_factors);
/external/chromium_org/content/test/
H A Dtest_render_view_host.cc372 std::vector<ui::ScaleFactor> scale_factors; local
373 scale_factors.push_back(ui::SCALE_FACTOR_100P);
375 new ui::test::ScopedSetSupportedScaleFactors(scale_factors));
/external/libvpx/libvpx/vpx/src/
H A Dsvc_encodeframe.c55 char scale_factors[OPTION_BUFFER_SIZE]; // set by vpx_svc_set_scale_factors member in struct:SvcInternal
342 const char *scale_factors) {
353 if (scale_factors == NULL || strlen(scale_factors) == 0) {
356 input_string = strdup(scale_factors);
485 const char *scale_factors) {
487 if (svc_ctx == NULL || scale_factors == NULL || si == NULL) {
490 strncpy(si->scale_factors, scale_factors, sizeof(si->scale_factors));
341 parse_scale_factors(SvcContext *svc_ctx, const char *scale_factors) argument
484 vpx_svc_set_scale_factors(SvcContext *svc_ctx, const char *scale_factors) argument
[all...]

Completed in 1830 milliseconds