Home
last modified time | relevance | path

Searched refs:balance (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglcolorbalance.c275 _create_shader (GstGLColorBalance * balance) in _create_shader() argument
277 GstGLBaseFilter *base_filter = GST_GL_BASE_FILTER (balance); in _create_shader()
278 GstGLFilter *filter = GST_GL_FILTER (balance); in _create_shader()
284 if (balance->shader) in _create_shader()
285 gst_clear_object (&balance->shader); in _create_shader()
303 GST_ERROR_OBJECT (balance, "Unsupported GstGLTextureTarget value: %d", in _create_shader()
312 if (!(balance->shader = in _create_shader()
320 GST_ELEMENT_ERROR (balance, RESOURCE, NOT_FOUND, ("%s", in _create_shader()
328 gst_gl_shader_get_attribute_location (balance->shader, "a_position"); in _create_shader()
330 gst_gl_shader_get_attribute_location (balance->shader, "a_texcoord"); in _create_shader()
[all …]
Dgstglsinkbin.c237 self->balance = gst_element_factory_make ("glcolorbalance", NULL); in gst_gl_sink_bin_init()
241 res &= gst_bin_add (GST_BIN (self), self->balance); in gst_gl_sink_bin_init()
244 res &= gst_element_link_pads (self->convert, "src", self->balance, "sink"); in gst_gl_sink_bin_init()
260 ADD_BINDING (self->balance, self, "contrast"); in gst_gl_sink_bin_init()
261 ADD_BINDING (self->balance, self, "brightness"); in gst_gl_sink_bin_init()
262 ADD_BINDING (self->balance, self, "hue"); in gst_gl_sink_bin_init()
263 ADD_BINDING (self->balance, self, "saturation"); in gst_gl_sink_bin_init()
288 gst_element_link_pads (self->balance, "src", self->sink, "sink")) in _connect_sink_element()
358 if (self->balance) in gst_gl_sink_bin_set_property()
359 g_object_set_property (G_OBJECT (self->balance), pspec->name, value); in gst_gl_sink_bin_set_property()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dcolorbalance.c125 gst_color_balance_list_channels (GstColorBalance * balance) in gst_color_balance_list_channels() argument
129 g_return_val_if_fail (GST_IS_COLOR_BALANCE (balance), NULL); in gst_color_balance_list_channels()
131 iface = GST_COLOR_BALANCE_GET_INTERFACE (balance); in gst_color_balance_list_channels()
134 return iface->list_channels (balance); in gst_color_balance_list_channels()
154 gst_color_balance_set_value (GstColorBalance * balance, in gst_color_balance_set_value() argument
157 GstColorBalanceInterface *iface = GST_COLOR_BALANCE_GET_INTERFACE (balance); in gst_color_balance_set_value()
160 iface->set_value (balance, channel, value); in gst_color_balance_set_value()
179 gst_color_balance_get_value (GstColorBalance * balance, in gst_color_balance_get_value() argument
184 g_return_val_if_fail (GST_IS_COLOR_BALANCE (balance), 0); in gst_color_balance_get_value()
186 iface = GST_COLOR_BALANCE_GET_INTERFACE (balance); in gst_color_balance_get_value()
[all …]
Dcolorbalance.h75 const GList * (* list_channels) (GstColorBalance *balance);
77 void (* set_value) (GstColorBalance *balance,
80 gint (* get_value) (GstColorBalance *balance,
82 GstColorBalanceType (*get_balance_type) (GstColorBalance *balance);
85 void (* value_changed) (GstColorBalance *balance,
100 gst_color_balance_list_channels (GstColorBalance *balance);
103 void gst_color_balance_set_value (GstColorBalance *balance,
108 gint gst_color_balance_get_value (GstColorBalance *balance,
113 gst_color_balance_get_balance_type (GstColorBalance *balance);
118 void gst_color_balance_value_changed (GstColorBalance *balance,
/third_party/boost/libs/test/example/
Dunit_test_example_10.cpp42 double balance() const { return m_amount; } in balance() function
62 BOOST_CHECK( m_account.balance() >= 0.0 ); in test_init()
66 BOOST_CHECK_MESSAGE( m_account.balance() > 1.0, in test_init()
67 "Initial balance should be more then 1, was " << m_account.balance() ); in test_init()
71 BOOST_CHECK_EQUAL( m_account.balance(), 5.0 ); in test_init()
75 BOOST_CHECK_CLOSE( m_account.balance(), 10.0, /* tolerance */ 1e-10 ); in test_init()
81 std::cout << "Current balance: " << std::hex << (int)m_account.balance() << std::endl; in test_deposit()
82 std::cerr << "Current balance: " << std::hex << (int)m_account.balance() << std::endl; in test_deposit()
84 float curr_ballance = (float)m_account.balance(); in test_deposit()
94 BOOST_CHECK( m_account.balance() == curr_ballance + deposit_value ); in test_deposit()
[all …]
/third_party/boost/boost/intrusive/detail/
Davltree_node.hpp46 enum balance { negative_t, zero_t, positive_t }; enum
56 enum balance { negative_t, zero_t, positive_t }; enum
58 balance balance_;
70 typedef typename node::balance balance; typedef
99 BOOST_INTRUSIVE_FORCEINLINE static balance get_balance(const const_node_ptr & n) in get_balance()
102 BOOST_INTRUSIVE_FORCEINLINE static balance get_balance(const node_ptr & n) in get_balance()
105 BOOST_INTRUSIVE_FORCEINLINE static void set_balance(const node_ptr & n, balance b) in set_balance()
108 BOOST_INTRUSIVE_FORCEINLINE static balance negative() in negative()
111 BOOST_INTRUSIVE_FORCEINLINE static balance zero() in zero()
114 BOOST_INTRUSIVE_FORCEINLINE static balance positive() in positive()
[all …]
Dany_node_and_algorithms.hpp161 typedef std::size_t balance; typedef
181 BOOST_INTRUSIVE_FORCEINLINE static balance get_balance(const const_node_ptr & n) in get_balance()
184 BOOST_INTRUSIVE_FORCEINLINE static void set_balance(const node_ptr & n, balance b) in set_balance()
187 BOOST_INTRUSIVE_FORCEINLINE static balance negative() in negative()
190 BOOST_INTRUSIVE_FORCEINLINE static balance zero() in zero()
193 BOOST_INTRUSIVE_FORCEINLINE static balance positive() in positive()
/third_party/glib/glib/
Dgtree.c95 gint8 balance; /* height (right) - height (left) */ member
138 node->balance = 0; in g_tree_node_new()
628 node->balance -= 1; in g_tree_insert_internal()
651 node->balance += 1; in g_tree_insert_internal()
671 if (node->balance < -1 || node->balance > 1) in g_tree_insert_internal()
682 if (node->balance == 0 || bparent == NULL) in g_tree_insert_internal()
686 bparent->balance -= 1; in g_tree_insert_internal()
688 bparent->balance += 1; in g_tree_insert_internal()
768 GTreeNode *node, *parent, *balance; in g_tree_remove_internal() local
809 balance = parent = path[--idx]; in g_tree_remove_internal()
[all …]
/third_party/gstreamer/gstplugins_good/gst/videofilter/
Dgstvideobalance.c477 GstVideoBalance *balance = GST_VIDEO_BALANCE (base); in gst_video_balance_before_transform() local
484 GST_DEBUG_OBJECT (balance, "sync to %" GST_TIME_FORMAT, in gst_video_balance_before_transform()
488 gst_object_sync_values (GST_OBJECT (balance), stream_time); in gst_video_balance_before_transform()
495 GstVideoBalance *balance = GST_VIDEO_BALANCE (trans); in gst_video_balance_transform_caps() local
498 if (!gst_video_balance_is_passthrough (balance)) { in gst_video_balance_transform_caps()
548 GstVideoBalance *balance = GST_VIDEO_BALANCE (object); in gst_video_balance_finalize() local
550 g_free (balance->tableu[0]); in gst_video_balance_finalize()
552 channels = balance->channels; in gst_video_balance_finalize()
561 if (balance->channels) in gst_video_balance_finalize()
562 g_list_free (balance->channels); in gst_video_balance_finalize()
[all …]
/third_party/iptables/extensions/
Dlibxt_NFQUEUE.t8 # ERROR: cannot load: iptables -A INPUT -j NFQUEUE --queue-balance 0:65535
9 # -j NFQUEUE --queue-balance 0:65535;=;OK
10 -j NFQUEUE --queue-balance 0:65536;;FAIL
11 -j NFQUEUE --queue-balance -1:65535;;FAIL
13 -j NFQUEUE --queue-balance 0:6 --queue-cpu-fanout --queue-bypass;-j NFQUEUE --queue-balance 0:6 --q…
14 -j NFQUEUE --queue-bypass --queue-balance 0:6 --queue-cpu-fanout;-j NFQUEUE --queue-balance 0:6 --q…
15 -j NFQUEUE --queue-balance 0:6 --queue-bypass;=;OK
Dlibxt_NFQUEUE.man9 was added in Linux 2.6.14. The \fBqueue-balance\fP option was added in Linux 2.6.31,
16 \fB\-\-queue\-balance\fP \fIvalue\fP\fB:\fP\fIvalue\fP
19 queues x, x+1, .. x+n and use "\-\-queue\-balance \fIx\fP\fB:\fP\fIx+n\fP".
31 \fB--queue-balance\fP this will use the CPU ID as an index to map packets to
33 per CPU. This requires \fB--queue-balance\fP to be specified.
Dlibxt_rateest.man88 iptables \-t mangle \-A balance \-m conntrack \-\-ctstate NEW \-m helper \-\-helper ftp
92 iptables \-t mangle \-A balance \-m conntrack \-\-ctstate NEW \-m helper \-\-helper ftp
96 iptables \-t mangle \-A balance \-j CONNMARK \-\-restore\-mark
/third_party/boost/libs/endian/example/
Dconversion_use_case.cpp37 rec.balance = boost::endian::big_to_native(rec.balance); // reverse if needed in main()
43 { return lhs.balance > rhs.balance; }); in main()
47 out_rec.balance = boost::endian::native_to_big(out_rec.balance); // reverse if needed in main()
Dthird_party_format.hpp15 int32_t balance; // big endian member
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2colorbalance.h71 interface_as_function ## _color_balance_list_channels (GstColorBalance * balance) \
73 Type *this = (Type*) balance; \
78 interface_as_function ## _color_balance_set_value (GstColorBalance * balance, \
82 Type *this = (Type*) balance; \
87 interface_as_function ## _color_balance_get_value (GstColorBalance * balance, \
90 Type *this = (Type*) balance; \
95 interface_as_function ## _color_balance_get_balance_type (GstColorBalance * balance) \
/third_party/gstreamer/gstplugins_good/tests/examples/rpicamsrc/
Dtest_color_balance.c60 GstColorBalance *balance = (GstColorBalance *) data; in process() local
66 controls = gst_color_balance_list_channels (balance); in process()
75 current_value = gst_color_balance_get_value (balance, channel); in process()
77 gst_color_balance_set_value (balance, channel, new_value); in process()
90 GstColorBalance *balance; in main() local
109 balance = GST_COLOR_BALANCE (src); in main()
110 g_timeout_add_seconds (1, process, balance); in main()
/third_party/boost/libs/intrusive/example/
Ddoc_avltree_algorithms.cpp33 typedef int balance; typedef
41 static balance get_balance(const_node_ptr n) { return n->balance_; } in get_balance()
42 static void set_balance(node_ptr n, balance b) { n->balance_ = b; } in set_balance()
43 static balance negative() { return -1; } in negative()
44 static balance zero() { return 0; } in zero()
45 static balance positive() { return 1; } in positive()
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstplaysinkvideoconvert.c77 if (self->use_balance && self->balance) { in gst_play_sink_video_convert_add_conversion_elements()
78 el = self->balance; in gst_play_sink_video_convert_add_conversion_elements()
109 if (self->balance) in gst_play_sink_video_convert_finalize()
110 gst_object_unref (self->balance); in gst_play_sink_video_convert_finalize()
215 self->balance = gst_element_factory_make ("videobalance", "videobalance"); in gst_play_sink_video_convert_init()
216 if (self->balance) in gst_play_sink_video_convert_init()
217 gst_object_ref_sink (self->balance); in gst_play_sink_video_convert_init()
/third_party/gettext/gettext-tools/libgrep/
Dkwset.c58 char balance; /* Difference in depths of subtrees. */ member
188 link->balance = 0; in kwsincr()
197 while (depth && !links[depth]->balance) in kwsincr()
200 --links[depth]->balance; in kwsincr()
202 ++links[depth]->balance; in kwsincr()
207 if (depth && ((dirs[depth] == L && --links[depth]->balance) in kwsincr()
208 || (dirs[depth] == R && ++links[depth]->balance))) in kwsincr()
212 switch (links[depth]->balance) in kwsincr()
221 t->balance = r->balance = 0; in kwsincr()
227 l->balance = t->balance != 1 ? 0 : -1; in kwsincr()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_vibrance.c37 float balance[3]; member
66 const float gintensity = intensity * s->balance[0]; in vibrance_slice8()
67 const float bintensity = intensity * s->balance[1]; in vibrance_slice8()
68 const float rintensity = intensity * s->balance[2]; in vibrance_slice8()
125 const float gintensity = intensity * s->balance[0]; in vibrance_slice16()
126 const float bintensity = intensity * s->balance[1]; in vibrance_slice16()
127 const float rintensity = intensity * s->balance[2]; in vibrance_slice16()
186 const float gintensity = intensity * s->balance[0]; in vibrance_slice8p()
187 const float bintensity = intensity * s->balance[1]; in vibrance_slice8p()
188 const float rintensity = intensity * s->balance[2]; in vibrance_slice8p()
[all …]
/third_party/boost/libs/intrusive/test/
Dbptr_value.hpp173 typedef signed char balance; typedef
176 static balance get_balance(const_node_ptr p) { return p->m_extra; } in get_balance()
177 static void set_balance(node_ptr p, balance b) { p->m_extra = b; } in set_balance()
178 static balance negative() { return -1; } in negative()
179 static balance zero() { return 0; } in zero()
180 static balance positive() { return 1; } in positive()
/third_party/boost/libs/asio/example/cpp11/executors/
Dbank_account_2.cpp40 int balance() const in balance() function in bank_account
59 std::cout << "balance = " << acct.balance() << "\n"; in main()
/third_party/boost/doc/html/boost_asio/example/cpp11/executors/
Dbank_account_2.cpp40 int balance() const in balance() function in bank_account
59 std::cout << "balance = " << acct.balance() << "\n"; in main()
/third_party/boost/libs/asio/example/cpp14/executors/
Dbank_account_2.cpp40 int balance() const in balance() function in bank_account
59 std::cout << "balance = " << acct.balance() << "\n"; in main()
/third_party/boost/boost/intrusive/
Davltree_algorithms.hpp154 typedef typename NodeTraits::balance balance; typedef in boost::intrusive::avltree_algorithms
200 balance c = NodeTraits::get_balance(node1); in swap_nodes()
500 const balance x_parent_balance = NodeTraits::get_balance(x_parent); in rebalance_after_erasure_restore_invariants()
570 const balance x_parent_balance = NodeTraits::get_balance(x_parent); in rebalance_after_insertion()
611 const balance c_balance = NodeTraits::get_balance(c); in left_right_balancing()
612 const balance zero_balance = NodeTraits::zero(); in left_right_balancing()
613 const balance posi_balance = NodeTraits::positive(); in left_right_balancing()
614 const balance nega_balance = NodeTraits::negative(); in left_right_balancing()

12345678910>>...15