Home
last modified time | relevance | path

Searched refs:csp (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/gstreamer/gstplugins_base/gst/videoconvert/
Dgstvideoconvert.c743 GstVideoConvert *csp; in gst_video_convert_set_property() local
745 csp = GST_VIDEO_CONVERT (object); in gst_video_convert_set_property()
749 csp->dither = g_value_get_enum (value); in gst_video_convert_set_property()
752 csp->chroma_resampler = g_value_get_enum (value); in gst_video_convert_set_property()
755 csp->alpha_mode = g_value_get_enum (value); in gst_video_convert_set_property()
758 csp->alpha_value = g_value_get_double (value); in gst_video_convert_set_property()
761 csp->chroma_mode = g_value_get_enum (value); in gst_video_convert_set_property()
764 csp->matrix_mode = g_value_get_enum (value); in gst_video_convert_set_property()
767 csp->gamma_mode = g_value_get_enum (value); in gst_video_convert_set_property()
770 csp->primaries_mode = g_value_get_enum (value); in gst_video_convert_set_property()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DTitlecaseTransliterator.java43 private final UCaseProps csp; field in TitlecaseTransliterator
56 csp=UCaseProps.INSTANCE; in TitlecaseTransliterator()
93 type=csp.getTypeOrIgnorable(c); in handleTransliterate()
119 type=csp.getTypeOrIgnorable(c); in handleTransliterate()
122 c=csp.toFullTitle(c, iter, result, caseLocale); in handleTransliterate()
124 c=csp.toFullLower(c, iter, result, caseLocale); in handleTransliterate()
DCaseFoldTransliterator.java42 private final UCaseProps csp; field in CaseFoldTransliterator
52 csp=UCaseProps.INSTANCE; in CaseFoldTransliterator()
63 if(csp==null) { in handleTransliterate()
82 … c=csp.toFullFolding(c, result, 0); // toFullFolding(int c, StringBuffer out, int options) in handleTransliterate()
DUppercaseTransliterator.java42 private final UCaseProps csp; field in UppercaseTransliterator
53 csp=UCaseProps.INSTANCE; in UppercaseTransliterator()
65 if(csp==null) { in handleTransliterate()
84 c=csp.toFullUpper(c, iter, result, caseLocale); in handleTransliterate()
DLowercaseTransliterator.java45 private final UCaseProps csp; field in LowercaseTransliterator
57 csp=UCaseProps.INSTANCE; in LowercaseTransliterator()
69 if(csp==null) { in handleTransliterate()
88 c=csp.toFullLower(c, iter, result, caseLocale); in handleTransliterate()
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTitlecaseTransliterator.java42 private final UCaseProps csp; field in TitlecaseTransliterator
55 csp=UCaseProps.INSTANCE; in TitlecaseTransliterator()
92 type=csp.getTypeOrIgnorable(c); in handleTransliterate()
118 type=csp.getTypeOrIgnorable(c); in handleTransliterate()
121 c=csp.toFullTitle(c, iter, result, caseLocale); in handleTransliterate()
123 c=csp.toFullLower(c, iter, result, caseLocale); in handleTransliterate()
DCaseFoldTransliterator.java41 private final UCaseProps csp; field in CaseFoldTransliterator
51 csp=UCaseProps.INSTANCE; in CaseFoldTransliterator()
62 if(csp==null) { in handleTransliterate()
81 … c=csp.toFullFolding(c, result, 0); // toFullFolding(int c, StringBuffer out, int options) in handleTransliterate()
DUppercaseTransliterator.java41 private final UCaseProps csp; field in UppercaseTransliterator
52 csp=UCaseProps.INSTANCE; in UppercaseTransliterator()
64 if(csp==null) { in handleTransliterate()
83 c=csp.toFullUpper(c, iter, result, caseLocale); in handleTransliterate()
DLowercaseTransliterator.java44 private final UCaseProps csp; field in LowercaseTransliterator
56 csp=UCaseProps.INSTANCE; in LowercaseTransliterator()
68 if(csp==null) { in handleTransliterate()
87 c=csp.toFullLower(c, iter, result, caseLocale); in handleTransliterate()
/third_party/gstreamer/gstplugins_bad/gst/camerabin2/
Dgstviewfinderbin.c153 GstElement *csp = NULL; in gst_viewfinder_bin_create_elements() local
192 csp = gst_bin_get_by_name (GST_BIN_CAST (vfbin), "vfbin-csp"); in gst_viewfinder_bin_create_elements()
195 gst_bin_remove (GST_BIN_CAST (vfbin), csp); in gst_viewfinder_bin_create_elements()
198 gst_object_unref (csp); in gst_viewfinder_bin_create_elements()
206 csp = gst_element_factory_make ("videoconvert", "vfbin-csp"); in gst_viewfinder_bin_create_elements()
207 if (!csp) { in gst_viewfinder_bin_create_elements()
211 gst_bin_add (GST_BIN_CAST (vfbin), csp); in gst_viewfinder_bin_create_elements()
220 gst_element_link_pads_full (csp, "src", videoscale, "sink", in gst_viewfinder_bin_create_elements()
256 firstpad = gst_element_get_static_pad (csp, "sink"); in gst_viewfinder_bin_create_elements()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/basecamerabinsrc/
Dgstcamerabinpreview.c134 GstElement *csp; in gst_camerabin_create_preview_pipeline() local
146 csp = gst_element_factory_make ("videoconvert", "preview-vconv"); in gst_camerabin_create_preview_pipeline()
149 if (!data->appsrc || !data->appsink || !csp || !vscale) { in gst_camerabin_create_preview_pipeline()
158 data->appsink, csp, vscale, NULL); in gst_camerabin_create_preview_pipeline()
177 GST_PAD_LINK_FAILED (gst_element_link_pads_full (vscale, "src", csp, in gst_camerabin_create_preview_pipeline()
180 GST_PAD_LINK_FAILED (gst_element_link_pads_full (csp, "src", in gst_camerabin_create_preview_pipeline()
210 if (csp) in gst_camerabin_create_preview_pipeline()
211 gst_object_unref (csp); in gst_camerabin_create_preview_pipeline()
/third_party/gstreamer/gstplugins_good/tests/icles/
Dvideocrop-test.c194 GstElement *pipeline, *src, *filter1, *crop, *scale, *filter2, *csp, *sink; in main() local
227 csp = gst_element_factory_make ("videoconvert", "colorspace"); in main()
229 csp = gst_element_factory_make ("identity", "colorspace"); in main()
231 g_assert (csp != NULL); in main()
269 csp, sink, NULL); in main()
283 if (!gst_element_link (filter2, csp)) in main()
286 if (!gst_element_link (csp, sink)) in main()
Dgdkpixbufsink-test.c63 GstElement *csp, *scale, *filter; in new_decoded_pad() local
82 csp = create_element ("videoconvert"); in new_decoded_pad()
88 gst_bin_add_many (GST_BIN (info->pipe), csp, scale, filter, info->sink, NULL); in new_decoded_pad()
90 sinkpad = gst_element_get_static_pad (csp, "sink"); in new_decoded_pad()
95 if (!gst_element_link (csp, scale)) in new_decoded_pad()
105 gst_element_set_state (csp, GST_STATE_PAUSED); in new_decoded_pad()
/third_party/ffmpeg/libavfilter/
Dvf_yadif_cuda.c134 for (i = 0; i < y->csp->nb_components; i++) { in filter()
138 const AVComponentDescriptor *comp = &y->csp->comp[i]; in filter()
149 av_log(ctx, AV_LOG_ERROR, "Unsupported pixel format: %s\n", y->csp->name); in filter()
162 av_log(ctx, AV_LOG_ERROR, "Unsupported pixel format: %s\n", y->csp->name); in filter()
173 AV_CEIL_RSHIFT(y->cur->width, i ? y->csp->log2_chroma_w : 0), in filter()
174 AV_CEIL_RSHIFT(y->cur->height, i ? y->csp->log2_chroma_h : 0), in filter()
177 AV_CEIL_RSHIFT(dst->width, i ? y->csp->log2_chroma_w : 0), in filter()
178 AV_CEIL_RSHIFT(dst->height, i ? y->csp->log2_chroma_h : 0), in filter()
315 y->csp = av_pix_fmt_desc_get(output_frames->sw_format); in config_output()
Dvf_bwdif.c222 int clip_max = (1 << (yadif->csp->comp[td->plane].depth)) - 1; in filter_slice()
223 int df = (yadif->csp->comp[td->plane].depth + 7) / 8; in filter_slice()
270 for (i = 0; i < yadif->csp->nb_components; i++) { in filter()
275 w = AV_CEIL_RSHIFT(w, yadif->csp->log2_chroma_w); in filter()
276 h = AV_CEIL_RSHIFT(h, yadif->csp->log2_chroma_h); in filter()
351 yadif->csp = av_pix_fmt_desc_get(link->format); in config_props()
353 if (yadif->csp->comp[0].depth > 8) { in config_props()
Dvf_yadif.c199 int df = (s->csp->comp[td->plane].depth + 7) / 8; in filter_slice()
240 for (i = 0; i < yadif->csp->nb_components; i++) { in filter()
245 w = AV_CEIL_RSHIFT(w, yadif->csp->log2_chroma_w); in filter()
246 h = AV_CEIL_RSHIFT(h, yadif->csp->log2_chroma_h); in filter()
314 s->csp = av_pix_fmt_desc_get(outlink->format); in config_output()
316 if (s->csp->comp[0].depth > 8) { in config_output()
Dvf_idet.c125 for (i = 0; i < idet->csp->nb_components; i++) { in filter()
131 w = AV_CEIL_RSHIFT(w, idet->csp->log2_chroma_w); in filter()
132 h = AV_CEIL_RSHIFT(h, idet->csp->log2_chroma_h); in filter()
276 if (!idet->csp) in filter_frame()
277 idet->csp = av_pix_fmt_desc_get(link->format); in filter_frame()
278 if (idet->csp->comp[0].depth > 8){ in filter_frame()
Dcolorspace.c128 const struct LumaCoefficients *ff_get_luma_coefficients(enum AVColorSpace csp) in ff_get_luma_coefficients() argument
132 if (csp >= AVCOL_SPC_NB) in ff_get_luma_coefficients()
134 coeffs = &luma_coefficients[csp]; in ff_get_luma_coefficients()
/third_party/gstreamer/gstplugins_bad/gst/faceoverlay/
Dgstfaceoverlay.c111 GstElement *csp, *face_detect, *overlay; in gst_face_overlay_create_children() local
114 csp = gst_element_factory_make ("videoconvert", NULL); in gst_face_overlay_create_children()
119 if (csp == NULL || face_detect == NULL || overlay == NULL) in gst_face_overlay_create_children()
124 gst_bin_add_many (GST_BIN (filter), face_detect, csp, overlay, NULL); in gst_face_overlay_create_children()
127 if (!gst_element_link_many (face_detect, csp, overlay, NULL)) in gst_face_overlay_create_children()
146 if (csp == NULL) in gst_face_overlay_create_children()
149 gst_object_unref (csp); in gst_face_overlay_create_children()
/third_party/glib/glib/tests/
Datomic.c22 const gint *csp; in test_types() local
34 csp = &s; in test_types()
35 cspp = &csp; in test_types()
131 g_assert_cmpint (g_atomic_int_get (csp), ==, s); in test_types()
132 g_assert_true (g_atomic_pointer_get (cspp) == csp); in test_types()
250 g_assert_cmpint (g_atomic_int_get (csp), ==, s); in test_types()
251 g_assert_true (g_atomic_pointer_get (cspp) == csp); in test_types()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dzbar.c26 GstElement *pipeline, *src, *dec, *csp, *zbar, *sink; in setup_pipeline() local
33 csp = gst_element_factory_make ("videoconvert", NULL); in setup_pipeline()
42 gst_bin_add_many (GST_BIN (pipeline), src, dec, csp, zbar, sink, NULL); in setup_pipeline()
43 fail_unless (gst_element_link_many (src, dec, csp, zbar, sink, NULL)); in setup_pipeline()
/third_party/boost/libs/histogram/test/
Ddetail_misc_test.cpp139 auto csp = dtl::span<const int>(ca); in main() local
140 BOOST_TEST_EQ(csp.size(), 2); in main()
141 BOOST_TEST_EQ(csp.front(), 1); in main()
142 BOOST_TEST_EQ(csp.back(), 2); in main()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dconvertframe.c118 GstElement *vcrop = NULL, *csp = NULL, *csp2 = NULL, *vscale = NULL; in build_convert_frame_pipeline() local
137 !create_element ("videoconvert", &csp, &error) || in build_convert_frame_pipeline()
150 gst_bin_add_many (GST_BIN (pipeline), src, csp, vscale, sink, NULL); in build_convert_frame_pipeline()
180 if (!gst_element_link_pads (vcrop, "src", csp, "sink")) in build_convert_frame_pipeline()
184 if (!gst_element_link_pads (src, "src", csp, "sink")) in build_convert_frame_pipeline()
189 if (!gst_element_link_pads_full (csp, "src", vscale, "sink", in build_convert_frame_pipeline()
240 if (csp) in build_convert_frame_pipeline()
241 gst_object_unref (csp); in build_convert_frame_pipeline()
260 gst_object_unref (csp); in build_convert_frame_pipeline()
/third_party/ffmpeg/libavfilter/x86/
Dvf_bwdif_init.c58 int bit_depth = (!yadif->csp) ? 8 : yadif->csp->comp[0].depth; in ff_bwdif_init_x86()
Dvf_yadif_init.c63 int bit_depth = (!yadif->csp) ? 8 in ff_yadif_init_x86()
64 : yadif->csp->comp[0].depth; in ff_yadif_init_x86()

1234