/third_party/ffmpeg/libavcodec/mips/ |
D | qpeldsp_mips.h | 26 void ff_copy_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 27 void ff_copy_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 28 void ff_avg_width8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 29 void ff_avg_width16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 32 ptrdiff_t stride); 34 ptrdiff_t stride); 36 ptrdiff_t stride); 38 ptrdiff_t stride); 40 ptrdiff_t stride); 42 ptrdiff_t stride); [all …]
|
D | h264pred_msa.c | 137 static void intra_predict_plane_8x8_msa(uint8_t *src, int32_t stride) in intra_predict_plane_8x8_msa() argument 150 src_top = LD_UB(src - (stride + 1)); in intra_predict_plane_8x8_msa() 160 res1 = (src[4 * stride - 1] - src[2 * stride - 1]) + in intra_predict_plane_8x8_msa() 161 2 * (src[5 * stride - 1] - src[stride - 1]) + in intra_predict_plane_8x8_msa() 162 3 * (src[6 * stride - 1] - src[-1]) + in intra_predict_plane_8x8_msa() 163 4 * (src[7 * stride - 1] - src[-stride - 1]); in intra_predict_plane_8x8_msa() 171 res2 = 16 * (src[7 * stride - 1] + src[-stride + 7] + 1); in intra_predict_plane_8x8_msa() 197 src += stride; in intra_predict_plane_8x8_msa() 199 src += stride; in intra_predict_plane_8x8_msa() 205 static void intra_predict_plane_16x16_msa(uint8_t *src, int32_t stride) in intra_predict_plane_16x16_msa() argument [all …]
|
D | vc1dsp_mips.h | 27 ptrdiff_t stride, int rnd); 29 ptrdiff_t stride, int rnd); 31 ptrdiff_t stride, int rnd); 33 ptrdiff_t stride, int rnd); 35 ptrdiff_t stride, int rnd); 37 ptrdiff_t stride, int rnd); 39 ptrdiff_t stride, int rnd); 41 ptrdiff_t stride, int rnd); 43 ptrdiff_t stride, int rnd); 45 ptrdiff_t stride, int rnd); [all …]
|
D | h264qpel_mmi.c | 2151 ptrdiff_t stride) in ff_put_h264_qpel4_mc00_mmi() argument 2153 ff_put_pixels4_8_mmi(dst, src, stride, 4); in ff_put_h264_qpel4_mc00_mmi() 2157 ptrdiff_t stride) in ff_put_h264_qpel4_mc10_mmi() argument 2160 put_h264_qpel4_h_lowpass_mmi(half, src, 4, stride); in ff_put_h264_qpel4_mc10_mmi() 2161 ff_put_pixels4_l2_8_mmi(dst, src, half, stride, stride, 4, 4); in ff_put_h264_qpel4_mc10_mmi() 2165 ptrdiff_t stride) in ff_put_h264_qpel4_mc20_mmi() argument 2167 put_h264_qpel4_h_lowpass_mmi(dst, src, stride, stride); in ff_put_h264_qpel4_mc20_mmi() 2171 ptrdiff_t stride) in ff_put_h264_qpel4_mc30_mmi() argument 2174 put_h264_qpel4_h_lowpass_mmi(half, src, 4, stride); in ff_put_h264_qpel4_mc30_mmi() 2175 ff_put_pixels4_l2_8_mmi(dst, src+1, half, stride, stride, 4, 4); in ff_put_h264_qpel4_mc30_mmi() [all …]
|
D | h264pred_mmi.c | 30 void ff_pred16x16_vertical_8_mmi(uint8_t *src, ptrdiff_t stride) in ff_pred16x16_vertical_8_mmi() argument 55 : [stride]"r"((mips_reg)stride), [srcA]"r"((mips_reg)(src-stride)) in ff_pred16x16_vertical_8_mmi() 60 void ff_pred16x16_horizontal_8_mmi(uint8_t *src, ptrdiff_t stride) in ff_pred16x16_horizontal_8_mmi() argument 91 : [src]"r"((mips_reg)src), [stride]"r"((mips_reg)stride), in ff_pred16x16_horizontal_8_mmi() 97 void ff_pred16x16_dc_8_mmi(uint8_t *src, ptrdiff_t stride) in ff_pred16x16_dc_8_mmi() argument 149 : [src]"r"((mips_reg)src), [stride]"r"((mips_reg)stride), in ff_pred16x16_dc_8_mmi() 156 int has_topright, ptrdiff_t stride) in ff_pred8x8l_top_dc_8_mmi() argument 213 : [srcA]"r"((mips_reg)(src-stride-1)), in ff_pred8x8l_top_dc_8_mmi() 214 [src0]"r"((mips_reg)(src-stride)), in ff_pred8x8l_top_dc_8_mmi() 215 [src1]"r"((mips_reg)(src-stride+1)), in ff_pred8x8l_top_dc_8_mmi() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | h264pred_template.c | 38 int stride = _stride>>(sizeof(pixel)-1); in FUNCC() local 39 const pixel4 a= AV_RN4PA(src-stride); in FUNCC() 41 AV_WN4PA(src+0*stride, a); in FUNCC() 42 AV_WN4PA(src+1*stride, a); in FUNCC() 43 AV_WN4PA(src+2*stride, a); in FUNCC() 44 AV_WN4PA(src+3*stride, a); in FUNCC() 51 int stride = _stride>>(sizeof(pixel)-1); in FUNCC() local 52 AV_WN4PA(src+0*stride, PIXEL_SPLAT_X4(src[-1+0*stride])); in FUNCC() 53 AV_WN4PA(src+1*stride, PIXEL_SPLAT_X4(src[-1+1*stride])); in FUNCC() 54 AV_WN4PA(src+2*stride, PIXEL_SPLAT_X4(src[-1+2*stride])); in FUNCC() [all …]
|
D | rectangle.h | 41 static av_always_inline void fill_rectangle(void *vp, int w, int h, int stride, uint32_t val, int s… in fill_rectangle() argument 47 stride *= size; in fill_rectangle() 50 av_assert2((stride&(w-1))==0); in fill_rectangle() 53 *(uint16_t*)(p + 0*stride)= v; in fill_rectangle() 55 *(uint16_t*)(p + 1*stride)= v; in fill_rectangle() 57 *(uint16_t*)(p + 2*stride)= v; in fill_rectangle() 58 *(uint16_t*)(p + 3*stride)= v; in fill_rectangle() 61 *(uint32_t*)(p + 0*stride)= v; in fill_rectangle() 63 *(uint32_t*)(p + 1*stride)= v; in fill_rectangle() 65 *(uint32_t*)(p + 2*stride)= v; in fill_rectangle() [all …]
|
D | roqvideo.c | 44 int boffs,stride; in ff_apply_vector_2x2() local 46 stride = ri->current_frame->linesize[0]; in ff_apply_vector_2x2() 47 boffs = y*stride + x; in ff_apply_vector_2x2() 52 bptr[stride ] = cell->y[2]; in ff_apply_vector_2x2() 53 bptr[stride+1] = cell->y[3]; in ff_apply_vector_2x2() 55 stride = ri->current_frame->linesize[1]; in ff_apply_vector_2x2() 56 boffs = y*stride + x; in ff_apply_vector_2x2() 61 bptr[stride ] = in ff_apply_vector_2x2() 62 bptr[stride+1] = cell->u; in ff_apply_vector_2x2() 67 bptr[stride ] = in ff_apply_vector_2x2() [all …]
|
D | h264pred.c | 55 ptrdiff_t stride) in pred4x4_vertical_vp8_c() argument 57 const unsigned lt = src[-1-1*stride]; in pred4x4_vertical_vp8_c() 65 AV_WN32A(src+0*stride, v); in pred4x4_vertical_vp8_c() 66 AV_WN32A(src+1*stride, v); in pred4x4_vertical_vp8_c() 67 AV_WN32A(src+2*stride, v); in pred4x4_vertical_vp8_c() 68 AV_WN32A(src+3*stride, v); in pred4x4_vertical_vp8_c() 72 ptrdiff_t stride) in pred4x4_horizontal_vp8_c() argument 74 const unsigned lt = src[-1-1*stride]; in pred4x4_horizontal_vp8_c() 77 AV_WN32A(src+0*stride, ((lt + 2*l0 + l1 + 2) >> 2)*0x01010101); in pred4x4_horizontal_vp8_c() 78 AV_WN32A(src+1*stride, ((l0 + 2*l1 + l2 + 2) >> 2)*0x01010101); in pred4x4_horizontal_vp8_c() [all …]
|
D | tpeldsp.c | 35 int stride, int width, int height) in put_tpel_pixels_mc00_c() argument 39 put_pixels2_8_c(dst, src, stride, height); in put_tpel_pixels_mc00_c() 42 put_pixels4_8_c(dst, src, stride, height); in put_tpel_pixels_mc00_c() 45 put_pixels8_8_c(dst, src, stride, height); in put_tpel_pixels_mc00_c() 48 put_pixels16_8_c(dst, src, stride, height); in put_tpel_pixels_mc00_c() 54 int stride, int width, int height) in put_tpel_pixels_mc10_c() argument 62 src += stride; in put_tpel_pixels_mc10_c() 63 dst += stride; in put_tpel_pixels_mc10_c() 68 int stride, int width, int height) in put_tpel_pixels_mc20_c() argument 76 src += stride; in put_tpel_pixels_mc20_c() [all …]
|
D | vp3dsp.c | 47 static av_always_inline void idct(uint8_t *dst, ptrdiff_t stride, in idct() argument 144 dst[0 * stride] = av_clip_uint8((Gd + Cd) >> 4); in idct() 145 dst[7 * stride] = av_clip_uint8((Gd - Cd) >> 4); in idct() 147 dst[1 * stride] = av_clip_uint8((Add + Hd) >> 4); in idct() 148 dst[2 * stride] = av_clip_uint8((Add - Hd) >> 4); in idct() 150 dst[3 * stride] = av_clip_uint8((Ed + Dd) >> 4); in idct() 151 dst[4 * stride] = av_clip_uint8((Ed - Dd) >> 4); in idct() 153 dst[5 * stride] = av_clip_uint8((Fd + Bdd) >> 4); in idct() 154 dst[6 * stride] = av_clip_uint8((Fd - Bdd) >> 4); in idct() 156 dst[0 * stride] = av_clip_uint8(dst[0 * stride] + ((Gd + Cd) >> 4)); in idct() [all …]
|
D | h264chroma_template.c | 29 …oma_mc1)(uint8_t *_dst /*align 8*/, uint8_t *_src /*align 1*/, ptrdiff_t stride, int h, int x, int… 37 stride >>= sizeof(pixel)-1;\ 43 OP(dst[0], (A*src[0] + B*src[1] + C*src[stride+0] + D*src[stride+1]));\ 44 dst+= stride;\ 45 src+= stride;\ 49 const int step= C ? stride : 1;\ 52 dst+= stride;\ 53 src+= stride;\ 58 dst+= stride;\ 59 src+= stride;\ [all …]
|
D | qpeldsp.c | 172 ptrdiff_t stride) \ 176 put ## RND ## mpeg4_qpel8_h_lowpass(half, src, 8, stride, 8); \ 177 OPNAME ## pixels8_l2_8(dst, src, half, stride, stride, 8, 8); \ 181 ptrdiff_t stride) \ 183 OPNAME ## mpeg4_qpel8_h_lowpass(dst, src, stride, stride, 8); \ 187 ptrdiff_t stride) \ 191 put ## RND ## mpeg4_qpel8_h_lowpass(half, src, 8, stride, 8); \ 192 OPNAME ## pixels8_l2_8(dst, src + 1, half, stride, stride, 8, 8); \ 196 ptrdiff_t stride) \ 201 copy_block9(full, src, 16, stride, 9); \ [all …]
|
D | vc1dsp.c | 37 static void vc1_v_overlap_c(uint8_t *src, int stride) in vc1_v_overlap_c() argument 44 a = src[-2 * stride]; in vc1_v_overlap_c() 45 b = src[-stride]; in vc1_v_overlap_c() 47 d = src[stride]; in vc1_v_overlap_c() 51 src[-2 * stride] = a - d1; in vc1_v_overlap_c() 52 src[-stride] = av_clip_uint8(b - d2); in vc1_v_overlap_c() 54 src[stride] = d + d1; in vc1_v_overlap_c() 61 static void vc1_h_overlap_c(uint8_t *src, int stride) in vc1_h_overlap_c() argument 79 src += stride; in vc1_h_overlap_c() 147 static av_always_inline int vc1_filter_line(uint8_t *src, int stride, int pq) in vc1_filter_line() argument [all …]
|
D | h264idct_template.c | 33 void FUNCC(ff_h264_idct_add)(uint8_t *_dst, int16_t *_block, int stride) in FUNCC() 38 stride >>= sizeof(pixel)-1; in FUNCC() 60 dst[i + 0*stride]= av_clip_pixel(dst[i + 0*stride] + ((int)(z0 + z3) >> 6)); in FUNCC() 61 dst[i + 1*stride]= av_clip_pixel(dst[i + 1*stride] + ((int)(z1 + z2) >> 6)); in FUNCC() 62 dst[i + 2*stride]= av_clip_pixel(dst[i + 2*stride] + ((int)(z1 - z2) >> 6)); in FUNCC() 63 dst[i + 3*stride]= av_clip_pixel(dst[i + 3*stride] + ((int)(z0 - z3) >> 6)); in FUNCC() 69 void FUNCC(ff_h264_idct8_add)(uint8_t *_dst, int16_t *_block, int stride){ in FUNCC() 73 stride >>= sizeof(pixel)-1; in FUNCC() 130 dst[i + 0*stride] = av_clip_pixel( dst[i + 0*stride] + ((int)(b0 + b7) >> 6) ); in FUNCC() 131 dst[i + 1*stride] = av_clip_pixel( dst[i + 1*stride] + ((int)(b2 + b5) >> 6) ); in FUNCC() [all …]
|
D | mpegvideodsp.c | 24 static void gmc1_c(uint8_t *dst, uint8_t *src, int stride, int h, in gmc1_c() argument 34 … dst[0] = (A * src[0] + B * src[1] + C * src[stride + 0] + D * src[stride + 1] + rounder) >> 8; in gmc1_c() 35 … dst[1] = (A * src[1] + B * src[2] + C * src[stride + 1] + D * src[stride + 2] + rounder) >> 8; in gmc1_c() 36 … dst[2] = (A * src[2] + B * src[3] + C * src[stride + 2] + D * src[stride + 3] + rounder) >> 8; in gmc1_c() 37 … dst[3] = (A * src[3] + B * src[4] + C * src[stride + 3] + D * src[stride + 4] + rounder) >> 8; in gmc1_c() 38 … dst[4] = (A * src[4] + B * src[5] + C * src[stride + 4] + D * src[stride + 5] + rounder) >> 8; in gmc1_c() 39 … dst[5] = (A * src[5] + B * src[6] + C * src[stride + 5] + D * src[stride + 6] + rounder) >> 8; in gmc1_c() 40 … dst[6] = (A * src[6] + B * src[7] + C * src[stride + 6] + D * src[stride + 7] + rounder) >> 8; in gmc1_c() 41 … dst[7] = (A * src[7] + B * src[8] + C * src[stride + 7] + D * src[stride + 8] + rounder) >> 8; in gmc1_c() 42 dst += stride; in gmc1_c() [all …]
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_prim_vbuf.c | 150 int stride ) in get_vert() argument 152 return (cptrf4)((char *)vertex_buffer + index * stride); in get_vert() 164 const unsigned stride = softpipe->vertex_info.size * sizeof(float); in sp_vbuf_draw_elements() local 174 get_vert(vertex_buffer, indices[i-0], stride) ); in sp_vbuf_draw_elements() 181 get_vert(vertex_buffer, indices[i-1], stride), in sp_vbuf_draw_elements() 182 get_vert(vertex_buffer, indices[i-0], stride) ); in sp_vbuf_draw_elements() 189 get_vert(vertex_buffer, indices[i-1], stride), in sp_vbuf_draw_elements() 190 get_vert(vertex_buffer, indices[i-0], stride) ); in sp_vbuf_draw_elements() 197 get_vert(vertex_buffer, indices[i-1], stride), in sp_vbuf_draw_elements() 198 get_vert(vertex_buffer, indices[i-0], stride) ); in sp_vbuf_draw_elements() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_vbuf.c | 140 int stride ) in get_vert() argument 142 return (const_float4_ptr)((char *)vertex_buffer + index * stride); in get_vert() 168 const unsigned stride = setup->vertex_info->size * sizeof(float); in lp_setup_draw_elements() local 185 get_vert(vertex_buffer, indices[i-0], stride) ); in lp_setup_draw_elements() 192 get_vert(vertex_buffer, indices[i-1], stride), in lp_setup_draw_elements() 193 get_vert(vertex_buffer, indices[i-0], stride) ); in lp_setup_draw_elements() 200 get_vert(vertex_buffer, indices[i-1], stride), in lp_setup_draw_elements() 201 get_vert(vertex_buffer, indices[i-0], stride) ); in lp_setup_draw_elements() 208 get_vert(vertex_buffer, indices[i-1], stride), in lp_setup_draw_elements() 209 get_vert(vertex_buffer, indices[i-0], stride) ); in lp_setup_draw_elements() [all …]
|
/third_party/ffmpeg/libavcodec/aarch64/ |
D | h264qpel_init_aarch64.c | 30 void ff_put_h264_qpel16_mc00_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 31 void ff_put_h264_qpel16_mc10_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 32 void ff_put_h264_qpel16_mc20_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 33 void ff_put_h264_qpel16_mc30_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 34 void ff_put_h264_qpel16_mc01_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 35 void ff_put_h264_qpel16_mc11_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 36 void ff_put_h264_qpel16_mc21_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 37 void ff_put_h264_qpel16_mc31_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 38 void ff_put_h264_qpel16_mc02_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 39 void ff_put_h264_qpel16_mc12_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); [all …]
|
/third_party/ffmpeg/libavcodec/arm/ |
D | h264qpel_init_arm.c | 29 void ff_put_h264_qpel16_mc00_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 30 void ff_put_h264_qpel16_mc10_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 31 void ff_put_h264_qpel16_mc20_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 32 void ff_put_h264_qpel16_mc30_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 33 void ff_put_h264_qpel16_mc01_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 34 void ff_put_h264_qpel16_mc11_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 35 void ff_put_h264_qpel16_mc21_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 36 void ff_put_h264_qpel16_mc31_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 37 void ff_put_h264_qpel16_mc02_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); 38 void ff_put_h264_qpel16_mc12_neon(uint8_t *dst, const uint8_t *src, ptrdiff_t stride); [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | video-info.c | 643 if (info->stride[i] != other->stride[i]) in gst_video_info_is_equal() 809 info->stride[0] = GST_ROUND_UP_4 (width * 2); in fill_planes() 811 info->size = info->stride[0] * height; in fill_planes() 827 info->stride[0] = width * 4; in fill_planes() 829 info->size = info->stride[0] * height; in fill_planes() 835 info->stride[0] = GST_ROUND_UP_4 (width * 2); in fill_planes() 837 info->size = info->stride[0] * height; in fill_planes() 843 info->stride[0] = GST_ROUND_UP_4 (width * 3); in fill_planes() 845 info->size = info->stride[0] * height; in fill_planes() 848 info->stride[0] = ((width + 47) / 48) * 128; in fill_planes() [all …]
|
/third_party/ffmpeg/libavcodec/x86/ |
D | qpeldsp_init.c | 93 ptrdiff_t stride) \ 95 ff_ ## OPNAME ## pixels8_ ## MMX(dst, src, stride, 8); \ 100 ptrdiff_t stride) \ 105 stride, 8); \ 107 stride, stride, 8); \ 112 ptrdiff_t stride) \ 114 ff_ ## OPNAME ## mpeg4_qpel8_h_lowpass_ ## MMX(dst, src, stride, \ 115 stride, 8); \ 120 ptrdiff_t stride) \ 125 stride, 8); \ [all …]
|
D | me_cmp_init.c | 38 ptrdiff_t stride, int h); 40 ptrdiff_t stride, int h); 42 ptrdiff_t stride, int h); 43 int ff_hf_noise8_mmx(uint8_t *pix1, ptrdiff_t stride, int h); 44 int ff_hf_noise16_mmx(uint8_t *pix1, ptrdiff_t stride, int h); 46 ptrdiff_t stride, int h); 48 ptrdiff_t stride, int h); 50 ptrdiff_t stride, int h); 52 ptrdiff_t stride, int h); 54 ptrdiff_t stride, int h); [all …]
|
/third_party/mindspore/tests/st/networks/models/deeplabv3/src/backbone/ |
D | resnet_deeplab.py | 26 stride=1, argument 36 stride=stride, 48 stride=1, argument 58 stride=stride, 74 stride=1, argument 85 stride=stride, 102 stride=1, argument 112 stride=stride, 126 stride=1, argument 136 strides = [1] * (num_blocks - 1) + [stride] [all …]
|
/third_party/ffmpeg/libpostproc/ |
D | postprocess_template.c | 112 static inline int RENAME(vertClassify)(const uint8_t src[], int stride, PPContext *c){ in RENAME() 114 src+= stride*4; // src points to begin of the 8x8 Block in RENAME() 210 : "r" (src), "r" ((x86_reg)stride), "m" (c->pQPb) in RENAME() 229 static inline void RENAME(doVertLowPass)(uint8_t *src, int stride, PPContext *c) in RENAME() 232 src+= stride*3; in RENAME() 355 : "r" (src), "r" ((x86_reg)stride), "m" (c->pQPb) in RENAME() 359 const int l1= stride; in RENAME() 360 const int l2= stride + l1; in RENAME() 361 const int l3= stride + l2; in RENAME() 362 const int l4= stride + l3; in RENAME() [all …]
|