Home
last modified time | relevance | path

Searched refs:phase_scaler (Results 1 – 11 of 11) sorted by relevance

/external/libvpx/libvpx/test/
Dvp9_scale_test.cc31 INTERP_FILTER filter_type, int phase_scaler);
41 void ReferenceScaleFrame(INTERP_FILTER filter_type, int phase_scaler) { in ReferenceScaleFrame() argument
42 vp9_scale_and_extend_frame_c(&img_, &ref_img_, filter_type, phase_scaler); in ReferenceScaleFrame()
45 void ScaleFrame(INTERP_FILTER filter_type, int phase_scaler) { in ScaleFrame() argument
47 scale_fn_(&img_, &dst_img_, filter_type, phase_scaler)); in ScaleFrame()
58 for (int phase_scaler = 0; phase_scaler < 16; ++phase_scaler) { in RunTest() local
86 ReferenceScaleFrame(filter_type, phase_scaler); in RunTest()
87 ScaleFrame(filter_type, phase_scaler); in RunTest()
94 filter_type, phase_scaler, src_width, src_height, dst_width, in RunTest()
158 for (int phase_scaler = 0; phase_scaler < 2; ++phase_scaler) { in TEST_P() local
[all …]
/external/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_frame_scale_neon.c425 const int h, const int phase_scaler, in scale_plane_4_to_3_bilinear() argument
441 c[0] = vdup_n_u8((uint8_t)vp9_filter_kernels[BILINEAR][phase_scaler][3]); in scale_plane_4_to_3_bilinear()
442 c[1] = vdup_n_u8((uint8_t)vp9_filter_kernels[BILINEAR][phase_scaler][4]); in scale_plane_4_to_3_bilinear()
444 (uint8_t)vp9_filter_kernels[BILINEAR][(phase_scaler + 1 * step_q4) & in scale_plane_4_to_3_bilinear()
447 (uint8_t)vp9_filter_kernels[BILINEAR][(phase_scaler + 1 * step_q4) & in scale_plane_4_to_3_bilinear()
450 (uint8_t)vp9_filter_kernels[BILINEAR][(phase_scaler + 2 * step_q4) & in scale_plane_4_to_3_bilinear()
453 (uint8_t)vp9_filter_kernels[BILINEAR][(phase_scaler + 2 * step_q4) & in scale_plane_4_to_3_bilinear()
481 scale_filter_bilinear(&s[(phase_scaler + 1 * step_q4) >> 4], &c[2]); in scale_plane_4_to_3_bilinear()
483 scale_filter_bilinear(&s[(phase_scaler + 2 * step_q4) >> 4], &c[4]); in scale_plane_4_to_3_bilinear()
485 d[4] = scale_filter_bilinear(&s[4 + ((phase_scaler + 1 * step_q4) >> 4)], in scale_plane_4_to_3_bilinear()
[all …]
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_frame_scale_ssse3.c451 const int phase_scaler, in scale_plane_4_to_3_general() argument
466 const int offset1_q4 = phase_scaler + 1 * step_q4; in scale_plane_4_to_3_general()
467 const int offset2_q4 = phase_scaler + 2 * step_q4; in scale_plane_4_to_3_general()
481 shuffle_filter_ssse3(coef[(phase_scaler + 0 * step_q4) & SUBPEL_MASK], f0); in scale_plane_4_to_3_general()
752 uint8_t filter_type, int phase_scaler) { in vp9_scale_and_extend_frame_ssse3() argument
762 assert(phase_scaler >= 0 && phase_scaler < 16); in vp9_scale_and_extend_frame_ssse3()
768 if (phase_scaler == 0) { in vp9_scale_and_extend_frame_ssse3()
776 const int16_t c0 = vp9_filter_kernels[BILINEAR][phase_scaler][3]; in vp9_scale_and_extend_frame_ssse3()
777 const int16_t c1 = vp9_filter_kernels[BILINEAR][phase_scaler][4]; in vp9_scale_and_extend_frame_ssse3()
793 dst_h, vp9_filter_kernels[filter_type][phase_scaler], temp_buffer); in vp9_scale_and_extend_frame_ssse3()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_frame_scale.c20 INTERP_FILTER filter_type, int phase_scaler) { in vp9_scale_and_extend_frame_c() argument
85 phase_scaler, 64 / 3, phase_scaler, 64 / 3, 3, 3); in vp9_scale_and_extend_frame_c()
99 const int y_q4 = y * (16 / factor) * src_h / dst_h + phase_scaler; in vp9_scale_and_extend_frame_c()
101 const int x_q4 = x * (16 / factor) * src_w / dst_w + phase_scaler; in vp9_scale_and_extend_frame_c()
Dvp9_encoder.h1004 int phase_scaler, INTERP_FILTER filter_type2, int phase_scaler2);
1008 int use_normative_scaler, INTERP_FILTER filter_type, int phase_scaler);
Dvp9_encoder.c2844 int phase_scaler) { argument
2862 const int y_q4 = y * (16 / factor) * src_h / dst_h + phase_scaler;
2864 const int x_q4 = x * (16 / factor) * src_w / dst_w + phase_scaler;
3685 const int phase_scaler = local
3718 filter_scaler, phase_scaler, filter_scaler2, phase_scaler2);
3731 filter_scaler, phase_scaler);
3746 (cpi->oxcf.pass == 0), EIGHTTAP, phase_scaler);
4388 int phase_scaler, INTERP_FILTER filter_type2, int phase_scaler2) { argument
4396 phase_scaler);
4401 filter_type, phase_scaler);
[all …]
/external/libvpx/config/arm64/
Dvp9_rtcd.h115 …2_buffer_config *src, struct yv12_buffer_config *dst, INTERP_FILTER filter_type, int phase_scaler);
116 …2_buffer_config *src, struct yv12_buffer_config *dst, INTERP_FILTER filter_type, int phase_scaler);
/external/libvpx/config/arm-neon/
Dvp9_rtcd.h115 …2_buffer_config *src, struct yv12_buffer_config *dst, INTERP_FILTER filter_type, int phase_scaler);
116 …2_buffer_config *src, struct yv12_buffer_config *dst, INTERP_FILTER filter_type, int phase_scaler);
/external/libvpx/config/x86/
Dvp9_rtcd.h119 …2_buffer_config *src, struct yv12_buffer_config *dst, INTERP_FILTER filter_type, int phase_scaler);
120 …2_buffer_config *src, struct yv12_buffer_config *dst, INTERP_FILTER filter_type, int phase_scaler);
/external/libvpx/config/x86_64/
Dvp9_rtcd.h121 …2_buffer_config *src, struct yv12_buffer_config *dst, INTERP_FILTER filter_type, int phase_scaler);
122 …2_buffer_config *src, struct yv12_buffer_config *dst, INTERP_FILTER filter_type, int phase_scaler);
/external/libvpx/config/generic/
Dvp9_rtcd.h106 …2_buffer_config *src, struct yv12_buffer_config *dst, INTERP_FILTER filter_type, int phase_scaler);