Home
last modified time | relevance | path

Searched refs:flip (Results 1 – 25 of 249) sorted by relevance

12345678910

/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dvideoflip.c52 GstHarness *flip = gst_harness_new ("videoflip"); in GST_START_TEST() local
61 gst_harness_set_src_caps (flip, in_caps); in GST_START_TEST()
63 e = gst_harness_pull_event (flip); in GST_START_TEST()
66 e = gst_harness_pull_event (flip); in GST_START_TEST()
76 e = gst_harness_pull_event (flip); in GST_START_TEST()
81 buf = gst_harness_push_and_pull (flip, buf); in GST_START_TEST()
85 gst_harness_teardown (flip); in GST_START_TEST()
92 GstHarness *flip = gst_harness_new ("videoflip"); in GST_START_TEST() local
101 gst_harness_set_src_caps (flip, in_caps); in GST_START_TEST()
103 e = gst_harness_pull_event (flip); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglvideoflip.c167 gst_gl_video_flip_init (GstGLVideoFlip * flip) in gst_gl_video_flip_init() argument
172 flip->aspect = 1.0; in gst_gl_video_flip_init()
174 flip->input_capsfilter = gst_element_factory_make ("capsfilter", NULL); in gst_gl_video_flip_init()
175 res &= gst_bin_add (GST_BIN (flip), flip->input_capsfilter); in gst_gl_video_flip_init()
177 flip->transformation = gst_element_factory_make ("gltransformation", NULL); in gst_gl_video_flip_init()
178 g_object_set (flip->transformation, "ortho", TRUE, NULL); in gst_gl_video_flip_init()
179 res &= gst_bin_add (GST_BIN (flip), flip->transformation); in gst_gl_video_flip_init()
181 flip->output_capsfilter = gst_element_factory_make ("capsfilter", NULL); in gst_gl_video_flip_init()
182 res &= gst_bin_add (GST_BIN (flip), flip->output_capsfilter); in gst_gl_video_flip_init()
185 gst_element_link_pads (flip->input_capsfilter, "src", in gst_gl_video_flip_init()
[all …]
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2vidorient.h35 gboolean gst_v4l2_video_orientation_get_hflip (GstV4l2Object *v4l2object, gboolean *flip);
36 gboolean gst_v4l2_video_orientation_get_vflip (GstV4l2Object *v4l2object, gboolean *flip);
40 gboolean gst_v4l2_video_orientation_set_hflip (GstV4l2Object *v4l2object, gboolean flip);
41 gboolean gst_v4l2_video_orientation_set_vflip (GstV4l2Object *v4l2object, gboolean flip);
48 …interface_as_function ## _video_orientation_get_hflip (GstVideoOrientation *vo, gboolean *flip) …
51 return gst_v4l2_video_orientation_get_hflip (this->v4l2object, flip); \
55 …interface_as_function ## _video_orientation_get_vflip (GstVideoOrientation *vo, gboolean *flip) …
58 return gst_v4l2_video_orientation_get_vflip (this->v4l2object, flip); \
76 …interface_as_function ## _video_orientation_set_hflip (GstVideoOrientation *vo, gboolean flip) …
79 return gst_v4l2_video_orientation_set_hflip (this->v4l2object, flip); \
[all …]
Dgstv4l2vidorient.c46 gboolean * flip) in gst_v4l2_video_orientation_get_hflip() argument
49 return gst_v4l2_get_attribute (v4l2object, V4L2_CID_HFLIP, flip); in gst_v4l2_video_orientation_get_hflip()
54 gboolean * flip) in gst_v4l2_video_orientation_get_vflip() argument
56 return gst_v4l2_get_attribute (v4l2object, V4L2_CID_VFLIP, flip); in gst_v4l2_video_orientation_get_vflip()
76 gst_v4l2_video_orientation_set_hflip (GstV4l2Object * v4l2object, gboolean flip) in gst_v4l2_video_orientation_set_hflip() argument
78 return gst_v4l2_set_attribute (v4l2object, V4L2_CID_HFLIP, flip); in gst_v4l2_video_orientation_set_hflip()
82 gst_v4l2_video_orientation_set_vflip (GstV4l2Object * v4l2object, gboolean flip) in gst_v4l2_video_orientation_set_vflip() argument
84 return gst_v4l2_set_attribute (v4l2object, V4L2_CID_VFLIP, flip); in gst_v4l2_video_orientation_set_vflip()
/third_party/gstreamer/gstplugins_good/tests/examples/rpicamsrc/
Dtest_orientation.c16 gboolean flip; in configure_orientation() local
18 if (gst_video_orientation_get_hflip (orientation, &flip)) { in configure_orientation()
19 g_print ("current hflip: %s\n", flip ? "enabled" : "disabled"); in configure_orientation()
24 gst_video_orientation_get_hflip (orientation, &flip); in configure_orientation()
25 g_print ("new hflip: %s\n", flip ? "enabled" : "disabled"); in configure_orientation()
28 if (gst_video_orientation_get_vflip (orientation, &flip)) { in configure_orientation()
29 g_print ("current vflip: %s\n", flip ? "enabled" : "disabled"); in configure_orientation()
34 gst_video_orientation_get_vflip (orientation, &flip); in configure_orientation()
35 g_print ("new vflip: %s\n", flip ? "enabled" : "disabled"); in configure_orientation()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideoorientation.h69 gboolean (* get_hflip) (GstVideoOrientation *video_orientation, gboolean *flip);
70 gboolean (* get_vflip) (GstVideoOrientation *video_orientation, gboolean *flip);
74 gboolean (* set_hflip) (GstVideoOrientation *video_orientation, gboolean flip);
75 gboolean (* set_vflip) (GstVideoOrientation *video_orientation, gboolean flip);
86 gboolean gst_video_orientation_get_hflip (GstVideoOrientation *video_orientation, gboolean *flip);
89 gboolean gst_video_orientation_get_vflip (GstVideoOrientation *video_orientation, gboolean *flip);
98 gboolean gst_video_orientation_set_hflip (GstVideoOrientation *video_orientation, gboolean flip);
101 gboolean gst_video_orientation_set_vflip (GstVideoOrientation *video_orientation, gboolean flip);
Dvideoorientation.c72 gboolean * flip) in gst_video_orientation_get_hflip() argument
78 return iface->get_hflip (video_orientation, flip); in gst_video_orientation_get_hflip()
93 gboolean * flip) in gst_video_orientation_get_vflip() argument
99 return iface->get_vflip (video_orientation, flip); in gst_video_orientation_get_vflip()
156 gboolean flip) in gst_video_orientation_set_hflip() argument
162 return iface->set_hflip (video_orientation, flip); in gst_video_orientation_set_hflip()
177 gboolean flip) in gst_video_orientation_set_vflip() argument
183 return iface->set_vflip (video_orientation, flip); in gst_video_orientation_set_vflip()
/third_party/ffmpeg/libavfilter/
Dvf_vflip.c47 FlipContext *flip = link->dst->priv; in config_input() local
50 flip->vsub = desc->log2_chroma_h; in config_input()
51 flip->bayer = !!(desc->flags & AV_PIX_FMT_FLAG_BAYER); in config_input()
58 FlipContext *flip = link->dst->priv; in get_video_buffer() local
67 int vsub = i == 1 || i == 2 ? flip->vsub : 0; in get_video_buffer()
110 FlipContext *flip = link->dst->priv; in filter_frame() local
113 if (flip->bayer) in filter_frame()
117 int vsub = i == 1 || i == 2 ? flip->vsub : 0; in filter_frame()
Daf_deesser.c34 int flip; member
166 if (dec->flip) { in filter_frame()
190 dec->flip = !dec->flip; in filter_frame()
/third_party/skia/third_party/externals/dawn/src/common/
Dityp_bitset.h82 return bitset(*this).flip();
101 bitset& flip() noexcept { in flip() function
102 return static_cast<bitset&>(Base::flip()); in flip()
105 bitset& flip(Index i) { in flip() function
106 return static_cast<bitset&>(Base::flip(static_cast<I>(i))); in flip()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DITypBitsetTests.cpp102 bits.flip(Key(4)); in TEST_F()
103 bits.flip(Key(1)); // false in TEST_F()
104 bits.flip(Key(6)); in TEST_F()
105 bits.flip(Key(5)); in TEST_F()
108 bits.flip(); in TEST_F()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DDecodeUtf8Test.java202 direct.flip(); in assertInvalid()
218 heap.flip(); in assertInvalid()
249 direct.flip(); in assertInvalidSlice()
265 heap.flip(); in assertInvalidSlice()
296 direct.flip(); in assertRoundTrips()
304 heap.flip(); in assertRoundTrips()
/third_party/skia/src/core/
DSkM44.cpp146 const sk4f flip{1.f, 1.f, -1.f, -1.f}; in map_rect_affine() local
149 sk4f c0 = skvx::shuffle<0,1,0,1>(sk2f::Load(mat + 0)) * flip; in map_rect_affine()
150 sk4f c1 = skvx::shuffle<0,1,0,1>(sk2f::Load(mat + 4)) * flip; in map_rect_affine()
155 sk4f minMax = c3 + flip * min(min(c0 * src.fLeft + c1 * src.fTop, in map_rect_affine()
182 const sk4f flip{1.f, 1.f, -1.f, -1.f}; in map_rect_perspective() local
183 auto project = [&flip](const sk4f& p0, const sk4f& p1, const sk4f& p2) { in map_rect_perspective()
187 return flip * skvx::shuffle<0,1,0,1>(p0) / w0; in map_rect_perspective()
196 return flip * skvx::shuffle<0,1,0,1>(c); in map_rect_perspective()
210 sk4f minMax = flip * min(min(project(tl, tr, bl), project(tr, br, tl)), in map_rect_perspective()
/third_party/ffmpeg/libavdevice/
Doss.c46 char *flip = getenv("AUDIO_FLIP_LEFT"); in ff_oss_audio_open() local
57 if (flip && *flip == '1') { in ff_oss_audio_open()
/third_party/skia/samplecode/
DSampleDegenerateQuads.cpp120 bool flip = false; in get_edge_dist_coverage() local
128 flip = true; in get_edge_dist_coverage()
132 if (flip) { in get_edge_dist_coverage()
137 const SkPoint* lines = flip ? insetLines : outsetLines; in get_edge_dist_coverage()
142 SkScalar d = (flip ? 1 : -1) * signed_distance(point, lines[i * 2], lines[i * 2 + 1]); in get_edge_dist_coverage()
161 bool flip = signed_distance(t0, t1, t2) < 0.f; in inside_triangle() local
163 SkScalar d0 = (flip ? -1 : 1) * signed_distance(point, t0, t1); in inside_triangle()
164 SkScalar d1 = (flip ? -1 : 1) * signed_distance(point, t1, t2); in inside_triangle()
165 SkScalar d2 = (flip ? -1 : 1) * signed_distance(point, t2, t0); in inside_triangle()
/third_party/skia/third_party/externals/tint/test/bug/tint/
D942.wgsl.expected.spvasm23 OpName %flip "flip"
58 OpDecorate %flip NonWritable
59 OpDecorate %flip DescriptorSet 1
60 OpDecorate %flip Binding 3
85 %flip = OpVariable %_ptr_Uniform_Flip Uniform
221 %120 = OpAccessChain %_ptr_Uniform_uint %flip %uint_0
299 %181 = OpAccessChain %_ptr_Uniform_uint %flip %uint_0
D942.wgsl14 [[group(1), binding(3)]] var<uniform> flip : Flip;
17 // |flip.value| is 0 or 1.
48 if (flip.value != 0u) {
63 if (flip.value != 0u) {
D942.wgsl.expected.wgsl20 [[group(1), binding(3)]] var<uniform> flip : Flip;
32 if ((flip.value != 0u)) {
42 if ((flip.value != 0u)) {
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/main/
Dlws-minimal-esp32.c33 static uint8_t flip; variable
118 lws_led_transition(lls, "alert", seqs[flip & 3], in smd_cb()
120 flip++; in smd_cb()
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-heltec-wb32/main/
Dlws-minimal-esp32.c37 static uint8_t flip; variable
121 lws_led_transition(lls, "alert", seqs[flip & 3], in smd_cb()
123 flip++; in smd_cb()
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-wrover-kit/main/
Dlws-minimal-esp32.c47 static uint8_t flip; variable
151 lws_led_transition(lls, "blue", seqs[flip & 3], in smd_cb()
153 flip++; in smd_cb()
/third_party/typescript/tests/baselines/reference/
DgenericFunctionInference1.js140 function flip<a, b, c>(f: (a: a, b: b) => c): (b: b, a: a) => c {
147 var expected: <T, U>(y: U, x: T) => [T, U] = flip(zip);
148 var actual = flip(zip);
166 const flipped = flip(of2);
317 function flip(f) { function
323 var expected = flip(zip);
324 var actual = flip(zip);
334 const flipped = flip(of2);
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferGDI.hpp29 void flip(sw::Surface *source) override;
32 void flip(HWND windowOverride, sw::Surface *source) override;
DFrameBufferWin.hpp36 void flip(sw::Surface *source) override = 0;
39 virtual void flip(HWND windowOverride, sw::Surface *source) = 0;
/third_party/ffmpeg/libavutil/
Ddisplay.c68 const int flip[] = { 1 - 2 * (!!hflip), 1 - 2 * (!!vflip), 1 }; in av_display_matrix_flip() local
72 matrix[i] *= flip[i % 3]; in av_display_matrix_flip()

12345678910