/third_party/ffmpeg/libavfilter/ |
H A D | vf_vflip.c | 23 * video vertical flip filter 47 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() 87 av_log(ctx, AV_LOG_ERROR, "Bayer vertical flip needs even height\n"); in flip_bayer() 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 in filter_frame() [all...] |
H A D | af_deesser.c | 34 int flip; member 137 if (dec->flip) { in filter_frame() 161 dec->flip = !dec->flip; in filter_frame()
|
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | ityp_bitset.h | 82 return bitset(*this).flip(); 101 bitset& flip() noexcept { 102 return static_cast<bitset&>(Base::flip()); 105 bitset& flip(Index i) { in flip() function in ityp::bitset 106 return static_cast<bitset&>(Base::flip(static_cast<I>(i))); in flip()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
H A D | ITypBitsetTests.cpp | 102 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/skia/src/core/ |
H A D | SkM44.cpp | 143 // When multiplied against vectors of the form <x,y,x,y>, 'flip' allows a single min(sk4f, sk4f) in map_rect_affine() 146 const sk4f flip{1.f, 1.f, -1.f, -1.f}; in map_rect_affine() 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() 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 * mi in map_rect_perspective() [all...] |
/third_party/skia/samplecode/ |
H A D | SampleDegenerateQuads.cpp | 120 bool flip = false; in get_edge_dist_coverage() local 122 // every outset line. When that happens, calculate coverage using the "inset" lines and flip in get_edge_dist_coverage() 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 in inside_triangle() [all...] |
/third_party/ffmpeg/libavdevice/ |
H A D | oss.c | 45 char *flip = getenv("AUDIO_FLIP_LEFT"); in ff_oss_audio_open() local 56 if (flip && *flip == '1') { in ff_oss_audio_open()
|
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-wrover-kit/main/ |
H A D | lws-minimal-esp32.c | 47 static uint8_t flip; variable 151 lws_led_transition(lls, "blue", seqs[flip & 3], in smd_cb() 153 flip++; in smd_cb()
|
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/main/ |
H A D | lws-minimal-esp32.c | 33 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/ |
H A D | lws-minimal-esp32.c | 37 static uint8_t flip; variable 121 lws_led_transition(lls, "alert", seqs[flip & 3], in smd_cb() 123 flip++; in smd_cb()
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
H A D | FrameBufferGDI.hpp | 29 void flip(sw::Surface *source) override; 32 void flip(HWND windowOverride, sw::Surface *source) override;
|
H A D | FrameBufferWin.hpp | 36 void flip(sw::Surface *source) override = 0; 39 virtual void flip(HWND windowOverride, sw::Surface *source) = 0;
|
H A D | FrameBufferDD.hpp | 31 void flip(sw::Surface *source) override; 34 void flip(HWND windowOverride, sw::Surface *source) override;
|
/third_party/typescript/tests/baselines/reference/ |
H A D | genericFunctionInference1.js | 140 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);
|
H A D | genericContextualTypes1.js | 22 declare function flip<X, Y, Z>(f: (x: X, y: Y) => Z): (y: Y, x: X) => Z; 45 const f40: <A, B>(b: B, a: A) => [A, B] = flip(zip); 71 var f40 = flip(zip);
88 declare function flip<X, Y, Z>(f: (x: X, y: Y) => Z): (y: Y, x: X) => Z;
|
/third_party/ffmpeg/libavutil/ |
H A D | display.c | 69 const int flip[] = { 1 - 2 * (!!hflip), 1 - 2 * (!!vflip), 1 }; in av_display_matrix_flip() local 73 matrix[i] *= flip[i % 3]; in av_display_matrix_flip()
|
/third_party/mesa3d/src/intel/common/ |
H A D | intel_pixel_hash.h | 46 * The equations above apply if \p flip is equal to 0, if it is equal to 1 p_0 54 unsigned period, unsigned index, bool flip, in intel_compute_pixel_hash_table_3way() 60 p[j + m * i] = (k == index ? 2 : (k & 1) ^ flip); in intel_compute_pixel_hash_table_3way() 53 intel_compute_pixel_hash_table_3way(unsigned n, unsigned m, unsigned period, unsigned index, bool flip, uint32_t *p) intel_compute_pixel_hash_table_3way() argument
|
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/ |
H A D | DictionaryData.java | 49 int flip = skipFlip.charAt(i + 1) - 36; in unpackDictionaryData() 51 for (int j = 0; j < flip; ++j) { in unpackDictionaryData()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | DecodeUtf8Test.java | 202 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/ffmpeg/libavcodec/ |
H A D | fitsenc.c | 43 const uint16_t flip = (1 << 15); in fits_encode_frame() local 94 // subtracting bzero is equivalent to first bit flip in fits_encode_frame() 95 bytestream_put_be16(&bytestream, AV_RB16(ptr) ^ flip); in fits_encode_frame()
|
/third_party/cups-filters/cupsfilters/ |
H A D | image-zoom.c | 91 int flip; /* Flip on X axis? */ in _cupsImageZoomNew() local 111 flip = 1; in _cupsImageZoomNew() 116 flip = 0; in _cupsImageZoomNew() 174 if (flip) in _cupsImageZoomNew()
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DPipelineState.cpp | 71 // Set RT adjustment and RT flip in setRenderTargetState() 81 // coords. However, in NDC (-1, -1) is the bottom left. So we flip when origin is kTopLeft. in setRenderTargetState() 82 bool flip = (origin == kTopLeft_GrSurfaceOrigin); in setRenderTargetState() local 83 std::array<float, 4> v = SkSL::Compiler::GetRTAdjustVector(dimensions, flip); in setRenderTargetState() 86 // Note above that framebuffer space has origin top left. So we need !flip here. in setRenderTargetState() 87 std::array<float, 2> d = SkSL::Compiler::GetRTFlipVector(rt->height(), !flip); in setRenderTargetState()
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLProgram.cpp | 154 // Set RT adjustment and RT flip in setRenderTargetState() 163 // bottom left. However, Skia's device coords has (0, 0) at the top left, so a flip is in setRenderTargetState() 165 bool flip = (origin == kBottomLeft_GrSurfaceOrigin); in setRenderTargetState() local 166 std::array<float, 4> v = SkSL::Compiler::GetRTAdjustVector(dimensions, flip); in setRenderTargetState() 169 std::array<float, 2> d = SkSL::Compiler::GetRTFlipVector(dimensions.height(), flip); in setRenderTargetState()
|
/third_party/libdrm/tests/etnaviv/ |
H A D | write_bmp.c | 136 bmp_dump32_ex(char *buffer, unsigned width, unsigned height, bool flip, bool bgra, bool alpha, const char *filename) in bmp_dump32_ex() argument 146 bmp_header_write(fd, width, height, bgra, flip, alpha); in bmp_dump32_ex()
|
/third_party/libdrm/tests/tegra/ |
H A D | vic-flip.c | 173 /* flip image vertically */ 174 static int flip(struct vic *vic, struct drm_tegra_channel *channel, in flip() function 200 err = vic->ops->flip(vic, output, input); in flip() 202 fprintf(stderr, "failed to flip: %s\n", strerror(-err)); in flip() 312 err = flip(vic, channel, output, input); in main() 314 fprintf(stderr, "failed to flip image: %s\n", strerror(-err)); in main()
|