Home
last modified time | relevance | path

Searched refs:shift1 (Results 1 - 13 of 13) sorted by relevance

/third_party/ffmpeg/libavutil/
H A Dfixed_dsp.h180 int shift1 = 30 - bits; in fixed_sqrt() local
183 if (shift1 > 0) retval = ff_sqrt(x << shift1); in fixed_sqrt()
184 else retval = ff_sqrt(x >> -shift1); in fixed_sqrt()
/third_party/ffmpeg/libavcodec/x86/
H A Dvc1dsp_mmx.c310 MSPEL_FILTER13_8B (shift1, "0(%1,%4 )", "0(%1,%3,2)", "0(%1,%3 )", "0(%1 )", OP_PUT, put_)
311 MSPEL_FILTER13_8B (shift1, "0(%1,%4 )", "0(%1,%3,2)", "0(%1,%3 )", "0(%1 )", OP_AVG, avg_)
312 MSPEL_FILTER13_VER_16B(shift1, "0(%1,%4 )", "0(%1,%3,2)", "0(%1,%3 )", "0(%1 )")
313 MSPEL_FILTER13_HOR_16B(shift1, "2*3(%1)", "2*2(%1)", "2*1(%1)", "2*0(%1)", OP_PUT, put_)
314 MSPEL_FILTER13_HOR_16B(shift1, "2*3(%1)", "2*2(%1)", "2*1(%1)", "2*0(%1)", OP_AVG, avg_)
/third_party/ffmpeg/libavcodec/
H A Ddnxhddec.c490 int shift1 = ctx->bit_depth >= 10; in dnxhd_decode_macroblock() local
538 dest_y = frame->data[0] + ((y * dct_linesize_luma) << 4) + (x << (4 + shift1)); in dnxhd_decode_macroblock()
539 dest_u = frame->data[1] + ((y * dct_linesize_chroma) << 4) + (x << (3 + shift1 + ctx->is_444)); in dnxhd_decode_macroblock()
540 dest_v = frame->data[2] + ((y * dct_linesize_chroma) << 4) + (x << (3 + shift1 + ctx->is_444)); in dnxhd_decode_macroblock()
553 dct_x_offset = 8 << shift1; in dnxhd_decode_macroblock()
H A Dilbcdec.c965 int16_t shift1, shift2, shift3, shift_max; in do_plc() local
1022 shift1 = get_size_in_bits(FFABS(cross_comp)) - 15; in do_plc()
1023 cross_square = (int16_t) SPL_MUL_16_16_RSFT(SPL_SHIFT_W32(cross_comp, -shift1), SPL_SHIFT_W32(cross_comp, -shift1), 15); in do_plc()
1033 if (((shift_max << 1) + shift3) > ((shift1 << 1) + shift2)) { in do_plc()
1034 tmp1 = FFMIN(31, (shift_max << 1) + shift3 - (shift1 << 1) - shift2); in do_plc()
1038 tmp2 = FFMIN(31, (shift1 << 1) + shift2 - (shift_max << 1) - shift3); in do_plc()
1046 shift_max = shift1; in do_plc()
H A Ddxa.c51 static const int shift1[6] = { 0, 8, 8, 8, 4, 4 }; variable
108 mask = ((msk[0] & 0xF0) << shift1[type]) | ((msk[0] & 0xF) << shift2[type]); in decode_13()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/
H A Djquanti-neon.c119 int16x8_t shift1 = vld1q_s16(shift_ptr + (i + 1) * DCTSIZE); in jsimd_quantize_neon() local
168 vnegq_s16(shift1))); in jsimd_quantize_neon()
/third_party/backends/backend/
H A Dhp-scl.c1095 unsigned int shift1 = 16 - depth; in hp_scale_to_16bit() local
1108 tmp = (tmp << shift1) + (tmp >> shift2); in hp_scale_to_16bit()
1118 tmp = (tmp << shift1) + (tmp >> shift2); in hp_scale_to_16bit()
1133 unsigned int shift1 = depth-8; in hp_scale_to_8bit() local
1137 if ((count <= 0) || (shift1 <= 0)) return; in hp_scale_to_8bit()
1146 tmp >>= shift1; in hp_scale_to_8bit() local
1156 tmp >>= shift1; in hp_scale_to_8bit() local
H A Dhp5590.c2424 SANE_Int shift1 = *n_lines1_ptr + copy2 - max_lines; in append_and_move_lines() local
2425 SANE_Int blen = MY_MIN(max_lines - shift1, (SANE_Int) *n_lines1_ptr); in append_and_move_lines()
2427 SANE_Byte * psrc = pdst + shift1 * bytes_per_line; in append_and_move_lines()
2433 *n_lines1_ptr -= shift1; in append_and_move_lines()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_nir_lower_storage_image.c216 nir_ssa_def *shift1 = nir_ushr(b, addr, nir_channel(b, swizzle, 1)); in image_address() local
219 nir_ssa_def *bit = nir_iand(b, nir_ixor(b, shift0, shift1), in image_address()
/third_party/ffmpeg/libavcodec/mips/
H A Dvc1dsp_mmi.c2048 MSPEL_FILTER13_8B(shift1, %[offset_x3], %[offset_x2], %[offset_x1], $0, OP_PUT, put_)
2049 MSPEL_FILTER13_8B(shift1, %[offset_x3], %[offset_x2], %[offset_x1], $0, OP_AVG, avg_)
2050 MSPEL_FILTER13_VER_16B(shift1, %[stride_x3], %[stride_x2], %[stride_x1], $0)
2051 MSPEL_FILTER13_HOR_16B(shift1, 6, 4, 2, 0, OP_PUT, put_)
2052 MSPEL_FILTER13_HOR_16B(shift1, 6, 4, 2, 0, OP_AVG, avg_)
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Dlossless_neon.c232 const uint8x16_t shift1 = vextq_u8(zero, sum0, 8); in PredictorAdd1_NEON() local
234 const uint8x16_t sum1 = vaddq_u8(sum0, shift1); in PredictorAdd1_NEON()
H A Dlossless_sse2.c211 const __m128i shift1 = _mm_slli_si128(sum0, 8); in PredictorAdd1_SSE2() local
213 const __m128i sum1 = _mm_add_epi8(sum0, shift1); in PredictorAdd1_SSE2()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_image_writer.cpp3434 int32 shift1 = (fCodeSize + bit) - 8; in PutCodeWord() local
3437 uint8 byte1 = (uint8) (code >> shift1); in PutCodeWord()

Completed in 26 milliseconds