Home
last modified time | relevance | path

Searched refs:sf (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
Dvp9_speed_features.c27 SPEED_FEATURES *sf, int speed) { in set_good_speed_feature() argument
30 sf->adaptive_rd_thresh = 1; in set_good_speed_feature()
31 sf->allow_skip_recode = 1; in set_good_speed_feature()
34 sf->use_square_partition_only = !frame_is_intra_only(cm); in set_good_speed_feature()
35 sf->less_rectangular_check = 1; in set_good_speed_feature()
38 sf->disable_split_mask = cm->show_frame ? DISABLE_ALL_SPLIT in set_good_speed_feature()
41 sf->disable_split_mask = DISABLE_COMPOUND_SPLIT; in set_good_speed_feature()
42 sf->use_rd_breakout = 1; in set_good_speed_feature()
43 sf->adaptive_motion_search = 1; in set_good_speed_feature()
44 sf->mv.auto_mv_step_size = 1; in set_good_speed_feature()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_speed_features.c44 SPEED_FEATURES *sf, int speed) { in set_good_speed_feature() argument
45 sf->adaptive_rd_thresh = 1; in set_good_speed_feature()
46 sf->recode_loop = (speed < 1) ? ALLOW_RECODE : ALLOW_RECODE_KFMAXBW; in set_good_speed_feature()
47 sf->allow_skip_recode = 1; in set_good_speed_feature()
50 sf->use_square_partition_only = !frame_is_intra_only(cm); in set_good_speed_feature()
51 sf->less_rectangular_check = 1; in set_good_speed_feature()
52 sf->tx_size_search_method = vp9_frame_is_boosted(cpi) ? USE_FULL_RD in set_good_speed_feature()
56 sf->disable_split_mask = cm->show_frame ? DISABLE_ALL_SPLIT in set_good_speed_feature()
59 sf->disable_split_mask = DISABLE_COMPOUND_SPLIT; in set_good_speed_feature()
60 sf->use_rd_breakout = 1; in set_good_speed_feature()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
Dvp9_scale.c15 static INLINE int scaled_x(int val, const struct scale_factors *sf) { in scaled_x() argument
16 return (int)((int64_t)val * sf->x_scale_fp >> REF_SCALE_SHIFT); in scaled_x()
19 static INLINE int scaled_y(int val, const struct scale_factors *sf) { in scaled_y() argument
20 return (int)((int64_t)val * sf->y_scale_fp >> REF_SCALE_SHIFT); in scaled_y()
23 static int unscaled_value(int val, const struct scale_factors *sf) { in unscaled_value() argument
24 (void) 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() argument
37 const int x_off_q4 = scaled_x(x << SUBPEL_BITS, sf) & SUBPEL_MASK; in vp9_scale_mv()
38 const int y_off_q4 = scaled_y(y << SUBPEL_BITS, sf) & SUBPEL_MASK; in vp9_scale_mv()
40 scaled_y(mv->row, sf) + y_off_q4, in vp9_scale_mv()
[all …]
Dvp9_scale.h31 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) { in vp9_is_valid_scale() argument
54 return sf->x_scale_fp != REF_INVALID_SCALE && in vp9_is_valid_scale()
55 sf->y_scale_fp != REF_INVALID_SCALE; in vp9_is_valid_scale()
58 static INLINE int vp9_is_scaled(const struct scale_factors *sf) { in vp9_is_scaled() argument
59 return vp9_is_valid_scale(sf) && in vp9_is_scaled()
[all …]
Dvp9_reconinter.h36 const struct scale_factors *sf,
46 const struct scale_factors *sf,
54 const struct scale_factors *sf) { in scaled_buffer_offset() argument
55 const int x = sf ? sf->scale_value_x(x_offset, sf) : x_offset; in scaled_buffer_offset()
56 const int y = sf ? sf->scale_value_y(y_offset, sf) : y_offset; in scaled_buffer_offset()
77 const struct scale_factors *sf);
Dvp9_reconinter.c117 const struct scale_factors *sf, in inter_predictor() argument
121 sf->predict[subpel_x != 0][subpel_y != 0][ref]( in inter_predictor()
129 const struct scale_factors *sf, in vp9_build_inter_predictor() argument
137 MV32 mv = vp9_scale_mv(&mv_q4, x, y, sf); in vp9_build_inter_predictor()
144 sf, w, h, ref, kernel, sf->x_step_q4, sf->y_step_q4); in vp9_build_inter_predictor()
152 const struct scale_factors *sf, in high_inter_predictor() argument
156 sf->high_predict[subpel_x != 0][subpel_y != 0][ref]( in high_inter_predictor()
164 const struct scale_factors *sf, in vp9_high_build_inter_predictor() argument
172 MV32 mv = vp9_scale_mv(&mv_q4, x, y, sf); in vp9_high_build_inter_predictor()
179 sf, w, h, ref, kernel, sf->x_step_q4, sf->y_step_q4, bd); in vp9_high_build_inter_predictor()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_scale.c15 static INLINE int scaled_x(int val, const struct scale_factors *sf) { in scaled_x() argument
16 return (int)((int64_t)val * sf->x_scale_fp >> REF_SCALE_SHIFT); in scaled_x()
19 static INLINE int scaled_y(int val, const struct scale_factors *sf) { in scaled_y() argument
20 return (int)((int64_t)val * sf->y_scale_fp >> REF_SCALE_SHIFT); in scaled_y()
23 static int unscaled_value(int val, const struct scale_factors *sf) { in unscaled_value() argument
24 (void) 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() argument
45 const int x_off_q4 = scaled_x(x << SUBPEL_BITS, sf) & SUBPEL_MASK; in vp9_scale_mv()
46 const int y_off_q4 = scaled_y(y << SUBPEL_BITS, sf) & SUBPEL_MASK; in vp9_scale_mv()
48 scaled_y(mv->row, sf) + y_off_q4, in vp9_scale_mv()
[all …]
Dvp9_scale.h31 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) { in vp9_is_valid_scale() argument
44 return sf->x_scale_fp != REF_INVALID_SCALE && in vp9_is_valid_scale()
45 sf->y_scale_fp != REF_INVALID_SCALE; in vp9_is_valid_scale()
48 static INLINE int vp9_is_scaled(const struct scale_factors *sf) { in vp9_is_scaled() argument
49 return sf->x_scale_fp != REF_NO_SCALE || in vp9_is_scaled()
50 sf->y_scale_fp != REF_NO_SCALE; in vp9_is_scaled()
Dvp9_reconinter.h36 const struct scale_factors *sf,
43 const struct scale_factors *sf) { in scaled_buffer_offset() argument
44 const int x = sf ? sf->scale_value_x(x_offset, sf) : x_offset; in scaled_buffer_offset()
45 const int y = sf ? sf->scale_value_y(y_offset, sf) : y_offset; in scaled_buffer_offset()
65 const struct scale_factors *sf);
Dvp9_reconinter.c70 const struct scale_factors *sf, in inter_predictor() argument
74 sf->predict[subpel_x != 0][subpel_y != 0][ref]( in inter_predictor()
82 const struct scale_factors *sf, in vp9_build_inter_predictor() argument
90 MV32 mv = vp9_scale_mv(&mv_q4, x, y, sf); in vp9_build_inter_predictor()
97 sf, w, h, ref, kernel, sf->x_step_q4, sf->y_step_q4); in vp9_build_inter_predictor()
153 const struct scale_factors *const sf = &xd->block_refs[ref]->sf; in build_inter_predictors() local
180 if (vp9_is_scaled(sf)) { in build_inter_predictors()
181 pre = pre_buf->buf + scaled_buffer_offset(x, y, pre_buf->stride, sf); in build_inter_predictors()
182 scaled_mv = vp9_scale_mv(&mv_q4, mi_x + x, mi_y + y, sf); in build_inter_predictors()
183 xs = sf->x_step_q4; in build_inter_predictors()
[all …]
/external/oprofile/daemon/
Dopd_sfile.c82 do_match(struct sfile const * sf, cookie_t cookie, cookie_t app_cookie, in do_match() argument
90 if (sf->kernel != ki) in do_match()
94 if (sf->tid != tid || sf->tgid != tgid) in do_match()
99 if (sf->cpu != cpu) in do_match()
104 if (sf->app_cookie != app_cookie) in do_match()
114 if (sf->anon != anon) in do_match()
117 return sf->cookie == cookie; in do_match()
131 sfile_equal(struct sfile const * sf, struct sfile const * sf2) in sfile_equal() argument
133 return do_match(sf, sf2->cookie, sf2->app_cookie, sf2->kernel, in sfile_equal()
139 is_sf_ignored(struct sfile const * sf) in is_sf_ignored() argument
[all …]
Dopd_mangling.c37 static char const * get_dep_name(struct sfile const * sf) in get_dep_name() argument
39 if (sf->anon) in get_dep_name()
40 return find_cookie(sf->app_cookie); in get_dep_name()
43 if (sf->cookie == sf->app_cookie) in get_dep_name()
46 if (!separate_kernel && !(separate_lib && !sf->kernel)) in get_dep_name()
50 if (sf->app_cookie == 0) in get_dep_name()
53 return find_cookie(sf->app_cookie); in get_dep_name()
69 mangle_filename(struct sfile * last, struct sfile const * sf, int counter, int cg) in mangle_filename() argument
77 if (sf->kernel) { in mangle_filename()
78 values.image_name = sf->kernel->name; in mangle_filename()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sf_state.c53 sizeof(*sfv), 32, &brw->sf.vp_offset); in upload_sf_vp()
144 struct brw_sf_unit_state *sf; in upload_sf_unit() local
149 sf = brw_state_batch(brw, AUB_TRACE_SF_STATE, in upload_sf_unit()
150 sizeof(*sf), 64, &brw->sf.state_offset); in upload_sf_unit()
152 memset(sf, 0, sizeof(*sf)); in upload_sf_unit()
155 sf->thread0.grf_reg_count = ALIGN(brw->sf.prog_data->total_grf, 16) / 16 - 1; in upload_sf_unit()
156 sf->thread0.kernel_start_pointer = in upload_sf_unit()
158 brw->sf.state_offset + in upload_sf_unit()
160 brw->sf.prog_offset + in upload_sf_unit()
161 (sf->thread0.grf_reg_count << 1)) >> 6; in upload_sf_unit()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dbrw_sf_state.c53 sizeof(*sfv), 32, &brw->sf.vp_offset); in upload_sf_vp()
144 struct brw_sf_unit_state *sf; in upload_sf_unit() local
149 sf = brw_state_batch(brw, AUB_TRACE_SF_STATE, in upload_sf_unit()
150 sizeof(*sf), 64, &brw->sf.state_offset); in upload_sf_unit()
152 memset(sf, 0, sizeof(*sf)); in upload_sf_unit()
155 sf->thread0.grf_reg_count = ALIGN(brw->sf.prog_data->total_grf, 16) / 16 - 1; in upload_sf_unit()
156 sf->thread0.kernel_start_pointer = in upload_sf_unit()
158 brw->sf.state_offset + in upload_sf_unit()
160 brw->sf.prog_offset + in upload_sf_unit()
161 (sf->thread0.grf_reg_count << 1)) >> 6; in upload_sf_unit()
[all …]
/external/antlr/antlr-3.4/runtime/JavaScript/third/
Dantcontrib.properties1 antclipse=net.sf.antcontrib.antclipse.ClassPathTask
2 antserver=net.sf.antcontrib.antserver.server.ServerTask
3 remoteant=net.sf.antcontrib.antserver.client.ClientTask
4 verifydesign=net.sf.antcontrib.design.VerifyDesign
5 inifile=net.sf.antcontrib.inifile.IniFileTask
6 if=net.sf.antcontrib.logic.IfTask
7 foreach=net.sf.antcontrib.logic.ForEach
8 for=net.sf.antcontrib.logic.ForTask
9 throw=net.sf.antcontrib.logic.Throw
10 trycatch=net.sf.antcontrib.logic.TryCatchTask
[all …]
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_resource.c38 struct nv50_surface *sf = CALLOC_STRUCT(nv50_surface); in nv50_surface_from_buffer() local
39 if (!sf) in nv50_surface_from_buffer()
42 pipe_reference_init(&sf->base.reference, 1); in nv50_surface_from_buffer()
43 pipe_resource_reference(&sf->base.texture, pbuf); in nv50_surface_from_buffer()
45 sf->base.format = templ->format; in nv50_surface_from_buffer()
46 sf->base.usage = templ->usage; in nv50_surface_from_buffer()
47 sf->base.u.buf.first_element = templ->u.buf.first_element; in nv50_surface_from_buffer()
48 sf->base.u.buf.last_element = templ->u.buf.last_element; in nv50_surface_from_buffer()
50 sf->offset = in nv50_surface_from_buffer()
51 templ->u.buf.first_element * util_format_get_blocksize(sf->base.format); in nv50_surface_from_buffer()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
Dnv50_resource.c38 struct nv50_surface *sf = CALLOC_STRUCT(nv50_surface); in nv50_surface_from_buffer() local
39 if (!sf) in nv50_surface_from_buffer()
42 pipe_reference_init(&sf->base.reference, 1); in nv50_surface_from_buffer()
43 pipe_resource_reference(&sf->base.texture, pbuf); in nv50_surface_from_buffer()
45 sf->base.format = templ->format; in nv50_surface_from_buffer()
46 sf->base.usage = templ->usage; in nv50_surface_from_buffer()
47 sf->base.u.buf.first_element = templ->u.buf.first_element; in nv50_surface_from_buffer()
48 sf->base.u.buf.last_element = templ->u.buf.last_element; in nv50_surface_from_buffer()
50 sf->offset = in nv50_surface_from_buffer()
51 templ->u.buf.first_element * util_format_get_blocksize(sf->base.format); in nv50_surface_from_buffer()
[all …]
/external/qemu/target-i386/
Dcc_helper_template.h57 int cf, pf, af, zf, sf, of; in glue() local
65 sf = lshift(CC_DST, 8 - DATA_BITS) & 0x80; in glue()
67 return cf | pf | af | zf | sf | of; in glue()
81 int cf, pf, af, zf, sf, of; in glue() local
89 sf = lshift(CC_DST, 8 - DATA_BITS) & 0x80; in glue()
91 return cf | pf | af | zf | sf | of; in glue()
105 int cf, pf, af, zf, sf, of; in glue() local
113 sf = lshift(CC_DST, 8 - DATA_BITS) & 0x80; in glue()
115 return cf | pf | af | zf | sf | of; in glue()
130 int cf, pf, af, zf, sf, of; in glue() local
[all …]
/external/pcre/dist/
DMakefile.am732 ln -sf pcre_assign_jit_stack.3 $(DESTDIR)$(man3dir)/pcre16_assign_jit_stack.3
733 ln -sf pcre_compile.3 $(DESTDIR)$(man3dir)/pcre16_compile.3
734 ln -sf pcre_compile2.3 $(DESTDIR)$(man3dir)/pcre16_compile2.3
735 ln -sf pcre_config.3 $(DESTDIR)$(man3dir)/pcre16_config.3
736 ln -sf pcre_copy_named_substring.3 $(DESTDIR)$(man3dir)/pcre16_copy_named_substring.3
737 ln -sf pcre_copy_substring.3 $(DESTDIR)$(man3dir)/pcre16_copy_substring.3
738 ln -sf pcre_dfa_exec.3 $(DESTDIR)$(man3dir)/pcre16_dfa_exec.3
739 ln -sf pcre_exec.3 $(DESTDIR)$(man3dir)/pcre16_exec.3
740 ln -sf pcre_free_study.3 $(DESTDIR)$(man3dir)/pcre16_free_study.3
741 ln -sf pcre_free_substring.3 $(DESTDIR)$(man3dir)/pcre16_free_substring.3
[all …]
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_clear.c102 struct nv30_surface *sf = nv30_surface(ps); in nv30_clear_render_target() local
117 rt_format |= util_logbase2(sf->width) << 16; in nv30_clear_render_target()
118 rt_format |= util_logbase2(sf->height) << 24; in nv30_clear_render_target()
132 PUSH_DATA (push, sf->width << 16); in nv30_clear_render_target()
133 PUSH_DATA (push, sf->height << 16); in nv30_clear_render_target()
137 PUSH_DATA (push, (sf->pitch << 16) | sf->pitch); in nv30_clear_render_target()
139 PUSH_DATA (push, sf->pitch); in nv30_clear_render_target()
140 PUSH_RELOC(push, mt->base.bo, sf->offset, NOUVEAU_BO_LOW, 0, 0); in nv30_clear_render_target()
161 struct nv30_surface *sf = nv30_surface(ps); in nv30_clear_depth_stencil() local
176 rt_format |= util_logbase2(sf->width) << 16; in nv30_clear_depth_stencil()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
Dnv30_clear.c102 struct nv30_surface *sf = nv30_surface(ps); in nv30_clear_render_target() local
117 rt_format |= util_logbase2(sf->width) << 16; in nv30_clear_render_target()
118 rt_format |= util_logbase2(sf->height) << 24; in nv30_clear_render_target()
132 PUSH_DATA (push, sf->width << 16); in nv30_clear_render_target()
133 PUSH_DATA (push, sf->height << 16); in nv30_clear_render_target()
137 PUSH_DATA (push, (sf->pitch << 16) | sf->pitch); in nv30_clear_render_target()
139 PUSH_DATA (push, sf->pitch); in nv30_clear_render_target()
140 PUSH_RELOC(push, mt->base.bo, sf->offset, NOUVEAU_BO_LOW, 0, 0); in nv30_clear_render_target()
161 struct nv30_surface *sf = nv30_surface(ps); in nv30_clear_depth_stencil() local
176 rt_format |= util_logbase2(sf->width) << 16; in nv30_clear_depth_stencil()
[all …]
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DSimpleFormatterTest.java33 SimpleFormatter sf; field in SimpleFormatterTest
44 sf = new SimpleFormatter(); in setUp()
50 sf.format(null); in testFormatNull()
54 sf.format(new LogRecord(Level.SEVERE, null)); in testFormatNull()
64 String str = sf.format(lr); in testLocalizedFormat()
71 str = sf.format(lr); in testLocalizedFormat()
77 String str = sf.format(lr);
96 str = sf.format(lr);
108 assertEquals("", sf.getHead(null)); in testGetHead()
112 assertEquals("", sf.getTail(null)); in testGetTail()
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
DSocketFactoryTest.java42 SocketFactory sf = new MySocketFactory(); in testCreateSocket() local
44 sf.createSocket(); in testCreateSocket()
56 SocketFactory sf = SocketFactory.getDefault(); in testGetDefault() local
58 if (!(sf instanceof DefaultSocketFactory)) { in testGetDefault()
62 s = sf.createSocket("localhost", 8082); in testGetDefault()
67 s = sf.createSocket("localhost", 8081, InetAddress.getLocalHost(), 8082); in testGetDefault()
72 s = sf.createSocket(InetAddress.getLocalHost(), 8081); in testGetDefault()
77 s = sf.createSocket(InetAddress.getLocalHost(), 8081, InetAddress.getLocalHost(), 8082); in testGetDefault()
DServerSocketFactoryTest.java42 ServerSocketFactory sf = new MyServerSocketFactory(); in testCreateServerSocket() local
44 sf.createServerSocket(); in testCreateServerSocket()
56 ServerSocketFactory sf = ServerSocketFactory.getDefault(); in testGetDefault() local
58 if (!(sf instanceof DefaultServerSocketFactory)) { in testGetDefault()
62 s = sf.createServerSocket(0); in testGetDefault()
67 s = sf.createServerSocket(0, 50); in testGetDefault()
72 s = sf.createServerSocket(0, 50, InetAddress.getLocalHost()); in testGetDefault()
/external/ppp/pppd/plugins/radius/
Dbuildreq.c95 FILE *sf; in rc_get_seqnbr() local
100 if ((sf = fopen(seqfile, "a+")) == NULL) in rc_get_seqnbr()
107 while (do_lock_exclusive(fileno(sf))!= 0) in rc_get_seqnbr()
111 fclose(sf); in rc_get_seqnbr()
123 fclose(sf); in rc_get_seqnbr()
127 pos = ftell(sf); in rc_get_seqnbr()
128 rewind(sf); in rc_get_seqnbr()
129 if (fscanf(sf, "%d", &seq_nbr) != 1) { in rc_get_seqnbr()
130 if (pos != ftell(sf)) { in rc_get_seqnbr()
137 rewind(sf); in rc_get_seqnbr()
[all …]

12345678910>>...14