Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dutvideodsp.c25 static void restore_rgb_planes_c(uint8_t *src_r, in restore_rgb_planes_c() argument
38 r = src_r[i]; in restore_rgb_planes_c()
41 src_r[i] = r + g - 0x80; in restore_rgb_planes_c()
44 src_r += linesize_r; in restore_rgb_planes_c()
50 static void restore_rgb_planes10_c(uint16_t *src_r, in restore_rgb_planes10_c() argument
63 r = src_r[i]; in restore_rgb_planes10_c()
66 src_r[i] = (r + g - 0x200) & 0x3FF; in restore_rgb_planes10_c()
69 src_r += linesize_r; in restore_rgb_planes10_c()
Dutvideodsp.h28 void (*restore_rgb_planes)(uint8_t *src_r, uint8_t *src_g, uint8_t *src_b,
31 void (*restore_rgb_planes10)(uint16_t *src_r, uint16_t *src_g, uint16_t *src_b,
Ddiracdsp.c198 PX c, *src_r = (PX *)src, *dst_r = (PX *)dst; \
200 c = *src_r++; \
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/
Dgemm.c97 const float *src_r = src_ptr; local
104 const float *src_c = src_r + ci;
232 const float *src_c = src_r + ci;
238 src_r += C12NUM * lead;
244 dst_r[i * C12NUM] = src_r[i];
246 src_r += lead;
268 const float *src_r = src_ptr; local
275 const float *src_c = src_r + ci;
450 const float *src_c = src_r + ci;
456 src_r += C8NUM * lead;
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16_grad/
Dgemm_fp16.c180 const float16_t *src_r = src; in RowMajor2Col16MajorStrideFp16() local
187 const float16_t *src_c = src_r + ci; in RowMajor2Col16MajorStrideFp16()
200 const float16_t *src_c = src_r + ci; in RowMajor2Col16MajorStrideFp16()
206 src_r += C16NUM * stride; in RowMajor2Col16MajorStrideFp16()
211 dst_r[i * C16NUM] = src_r[i]; in RowMajor2Col16MajorStrideFp16()
213 src_r += stride; in RowMajor2Col16MajorStrideFp16()
240 const float16_t *src_r = src; in RowMajor2Col12MajorStrideFp16() local
247 const float16_t *src_c = src_r + ci; in RowMajor2Col12MajorStrideFp16()
260 const float16_t *src_c = src_r + ci; in RowMajor2Col12MajorStrideFp16()
266 src_r += C12NUM * stride; in RowMajor2Col12MajorStrideFp16()
[all …]
/third_party/ffmpeg/libavcodec/x86/
Dutvideodsp_init.c28 void ff_restore_rgb_planes_sse2(uint8_t *src_r, uint8_t *src_g, uint8_t *src_b,
31 void ff_restore_rgb_planes_avx2(uint8_t *src_r, uint8_t *src_g, uint8_t *src_b,
35 void ff_restore_rgb_planes10_sse2(uint16_t *src_r, uint16_t *src_g, uint16_t *src_b,
38 void ff_restore_rgb_planes10_avx2(uint16_t *src_r, uint16_t *src_g, uint16_t *src_b,
Dutvideodsp.asm34 ; void restore_rgb_planes(uint8_t *src_r, uint8_t *src_g, uint8_t *src_b,
39 cglobal restore_rgb_planes, 7 + ARCH_X86_64, 7 + ARCH_X86_64 * 2, 4, src_r, src_g, src_b, linesize_…
47 DEFINE_ARGS src_r, src_g, src_b, linesize_r, linesize_g, linesize_b, x
84 ; void restore_rgb_planes10(uint16_t *src_r, uint16_t *src_g, uint16_t *src_b,
89 cglobal restore_rgb_planes10, 7 + ARCH_X86_64, 7 + ARCH_X86_64 * 2, 5, src_r, src_g, src_b, linesiz…
102 DEFINE_ARGS src_r, src_g, src_b, linesize_r, linesize_g, linesize_b, x
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dmatmul_fp32.c265 const float *src_r = src_ptr; in RowMajor2Col12Major() local
271 const float *src_c = src_r + ci; in RowMajor2Col12Major()
342 const float *src_c = src_r + ci; in RowMajor2Col12Major()
348 src_r += C12NUM * col; in RowMajor2Col12Major()
351 for (; ri < row; ri++, dst_r++, src_r += col) { in RowMajor2Col12Major()
353 dst_r[i * C12NUM] = src_r[i]; in RowMajor2Col12Major()
543 const float *src_r = src_ptr; in RowMajor2Col8Major() local
550 const float *src_c = src_r + ci; in RowMajor2Col8Major()
594 const float *src_c = src_r + ci; in RowMajor2Col8Major()
600 src_r += C8NUM * col; in RowMajor2Col8Major()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dmatmul_fp16.c611 const float16_t *src_r = src_ptr; in RowMajor2Col16MajorFp16Opt() local
618 const float16_t *src_c = src_r + ci; in RowMajor2Col16MajorFp16Opt()
631 const float16_t *src_c = src_r + ci; in RowMajor2Col16MajorFp16Opt()
637 src_r += C16NUM * col; in RowMajor2Col16MajorFp16Opt()
642 dst_r[i * C16NUM] = src_r[i]; in RowMajor2Col16MajorFp16Opt()
644 src_r += col; in RowMajor2Col16MajorFp16Opt()
659 const float16_t *src_r = src_ptr; in RowMajor2ColNMajorFp16() local
667 const float16_t *src_c = src_r + ci; in RowMajor2ColNMajorFp16()
672 const float16_t *src_c = src_r + ci; in RowMajor2ColNMajorFp16()
678 src_r += C16NUM * col; in RowMajor2ColNMajorFp16()
[all …]
/third_party/pcre2/pcre2/src/sljit/
DsljitNativeS390X.c1025 sljit_gpr src_r = gpr(src & REG_MASK); in emit_move() local
1026 return push_inst(compiler, (compiler->mode & SLJIT_I32_OP) ? lr(dst_r, src_r) : lgr(dst_r, src_r)); in emit_move()
1035 sljit_gpr src_r = tmp1; in emit_rr() local
1053 src_r = gpr(src2 & REG_MASK); in emit_rr()
1057 FAIL_IF(push_inst(compiler, ins | (dst_r << 4) | src_r)); in emit_rr()
1123 sljit_gpr src_r = tmp0; in emit_rie_d() local
1128 src_r = gpr(src1 & REG_MASK); in emit_rie_d()
1130 return push_inst(compiler, ins | (dst_r << 36) | (src_r << 32) | (src2w & 0xffff) << 16); in emit_rie_d()
1781 sljit_gpr src_r; in sljit_emit_op1() local
1798 src_r = gpr(src); in sljit_emit_op1()
[all …]
DsljitNativeSPARC_common.c1403 sljit_s32 src_r; in sljit_emit_ijump() local
1410 src_r = src; in sljit_emit_ijump()
1423 src_r = TMP_REG1; in sljit_emit_ijump()
1427 src_r = TMP_REG1; in sljit_emit_ijump()
1430 …FAIL_IF(push_inst(compiler, JMPL | D(type >= SLJIT_FAST_CALL ? TMP_LINK : 0) | S1(src_r) | IMM(0),… in sljit_emit_ijump()
DsljitNativePPC_common.c2063 sljit_s32 src_r; in sljit_emit_ijump() local
2073 src_r = TMP_CALL_REG; in sljit_emit_ijump()
2076 src_r = src; in sljit_emit_ijump()
2078 src_r = src; in sljit_emit_ijump()
2091 src_r = TMP_CALL_REG; in sljit_emit_ijump()
2095 src_r = TMP_CALL_REG; in sljit_emit_ijump()
2098 FAIL_IF(push_inst(compiler, MTCTR | S(src_r))); in sljit_emit_ijump()
DsljitNativeARM_64.c1804 sljit_s32 dst_r, src_r, flags, mem_flags; in sljit_emit_op_flags() local
1833 src_r = dst; in sljit_emit_op_flags()
1837 src_r = TMP_REG1; in sljit_emit_op_flags()
1841 emit_op_imm(compiler, flags | GET_OPCODE(op), dst_r, src_r, TMP_REG2); in sljit_emit_op_flags()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dmatmul_int8.c65 const int8_t *src_r = src + r * stride; in MatrixPack4x16UnitInt8() local
67 memcpy(dst_r, src_r, col * sizeof(int8_t)); in MatrixPack4x16UnitInt8()
102 int8_t *src_r = (int8_t *)src_ptr; in RowMajor2Row16x4MajorInt8() local
108 int8_t *src_c = src_r + ci; in RowMajor2Row16x4MajorInt8()
154 MatrixPack4x16UnitInt8(src_r + col_16div, dst_r + col_16div * C4NUM, C4NUM, col_16res, col); in RowMajor2Row16x4MajorInt8()
157 src_r += C4NUM * col; in RowMajor2Row16x4MajorInt8()
165 MatrixPack4x16UnitInt8(src_r + ci, dst_r + ci * C4NUM, row_4res, C16NUM, col); in RowMajor2Row16x4MajorInt8()
169 … MatrixPack4x16UnitInt8(src_r + col_16div, dst_r + col_16div * C4NUM, row_4res, col_16res, col); in RowMajor2Row16x4MajorInt8()
442 const int8_t *src_r = src_input; in PackInput4x4AndInputSumPert() local
446 const int8_t *src_ic = src_r; in PackInput4x4AndInputSumPert()
[all …]
Dpack_int8.c91 const int8_t *src_r = src_input; in Conv1x1PreOptPeroc() local
96 const int8_t *src_ic = src_r; in Conv1x1PreOptPeroc()
448 src_r += input_channel * C8NUM; in Conv1x1PreOptPeroc()
458 const int8_t *src_ic = src_r; in Conv1x1PreOptPeroc()
494 src_r += input_channel; in Conv1x1PreOptPeroc()
516 const int8_t *src_r = src_input; in Conv1x1PreOptPert() local
520 const int8_t *src_ic = src_r; in Conv1x1PreOptPert()
700 src_r += input_channel * C8NUM; in Conv1x1PreOptPert()
708 const int8_t *src_ic = src_r; in Conv1x1PreOptPert()
729 src_r += input_channel; in Conv1x1PreOptPert()
/third_party/ffmpeg/libavfilter/
Dvf_dctdnoiz.c442 const float *src_r = src[0]; in color_correlation() local
449 … dstp[r] = av_clip_uint8(src_r[x] * DCT3X3_0_0 + src_g[x] * DCT3X3_1_0 + src_b[x] * DCT3X3_2_0); in color_correlation()
450 … dstp[g] = av_clip_uint8(src_r[x] * DCT3X3_0_1 + src_b[x] * DCT3X3_2_1); in color_correlation()
451 … dstp[b] = av_clip_uint8(src_r[x] * DCT3X3_0_2 + src_g[x] * DCT3X3_1_2 + src_b[x] * DCT3X3_2_2); in color_correlation()
455 src_r += src_linesize; in color_correlation()
511 const float *src_r = src[0]; in color_correlation_gbrp() local
520 … dstp_r[x] = av_clip_uint8(src_r[x] * DCT3X3_0_0 + src_g[x] * DCT3X3_1_0 + src_b[x] * DCT3X3_2_0); in color_correlation_gbrp()
521 … dstp_g[x] = av_clip_uint8(src_r[x] * DCT3X3_0_1 + src_b[x] * DCT3X3_2_1); in color_correlation_gbrp()
522 … dstp_b[x] = av_clip_uint8(src_r[x] * DCT3X3_0_2 + src_g[x] * DCT3X3_1_2 + src_b[x] * DCT3X3_2_2); in color_correlation_gbrp()
527 src_r += src_linesize; in color_correlation_gbrp()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dformat_utils.h582 simd4scalari src_r = _simd_extractf128_si(src_rg, 0); in Transpose() local
587 simd4scalari rg0 = SIMD128::unpacklo_epi16(src_r, src_g); in Transpose()
588 simd4scalari rg1 = SIMD128::unpackhi_epi16(src_r, src_g); in Transpose()
657 simd4scalari src_r = _simd_extractf128_si(src_rg, 0); in Transpose() local
662 simd4scalari rg0 = SIMD128::unpacklo_epi16(src_r, src_g); in Transpose()
663 simd4scalari rg1 = SIMD128::unpackhi_epi16(src_r, src_g); in Transpose()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Danim_diff.c44 const int src_r = (src >> 16) & 0xff; in PixelsAreSimilar() local
52 return (abs(src_r * src_a - dst_r * dst_a) <= (max_allowed_diff * 255)) && in PixelsAreSimilar()
/third_party/skia/third_party/externals/libwebp/examples/
Danim_diff.c44 const int src_r = (src >> 16) & 0xff; in PixelsAreSimilar() local
52 return (abs(src_r * src_a - dst_r * dst_a) <= (max_allowed_diff * 255)) && in PixelsAreSimilar()
/third_party/ffmpeg/tests/checkasm/
Dutvideodsp.c64 declare_func(void, type *src_r, type *src_g, type *src_b, \
/third_party/skia/third_party/externals/libwebp/src/mux/
Danim_encode.c370 const int src_r = (src >> 16) & 0xff; in PixelsAreSimilar() local
379 (abs(src_r - dst_r) * dst_a <= (max_allowed_diff * 255)) && in PixelsAreSimilar()
/third_party/flutter/skia/third_party/externals/libwebp/src/mux/
Danim_encode.c373 const int src_r = (src >> 16) & 0xff; in PixelsAreSimilar() local
382 (abs(src_r - dst_r) * dst_a <= (max_allowed_diff * 255)) && in PixelsAreSimilar()
/third_party/boost/libs/gil/doc/html/
Dsearchindex.js1 …,24,28],src_b:28,src_g:28,src_it:28,src_loc:28,src_pix_ref:8,src_pixel:28,src_r:28,src_row_byt:28,…
/third_party/boost/libs/gil/doc/tutorial/
Dgradient.rst420 unsigned short const* src_r, unsigned short const* src_g, unsigned short const* src_b,
424 rgb16c_planar_view_t src = planar_rgb_view (w, h, src_r, src_g, src_b, src_row_bytes);
/third_party/boost/libs/gil/doc/html/_sources/tutorial/
Dgradient.rst.txt420 unsigned short const* src_r, unsigned short const* src_g, unsigned short const* src_b,
424 rgb16c_planar_view_t src = planar_rgb_view (w, h, src_r, src_g, src_b, src_row_bytes);