Home
last modified time | relevance | path

Searched refs:ref_stride (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/enc/
Dpicture_psnr_enc.c26 const uint8_t* ref, int ref_stride,
38 const uint8_t* ref, int ref_stride, in AccumulateLSIM() argument
49 const double value = (double)ref[y * ref_stride + x]; in AccumulateLSIM()
67 const uint8_t* ref, int ref_stride, in AccumulateSSE() argument
74 ref += ref_stride; in AccumulateSSE()
82 const uint8_t* ref, int ref_stride, in AccumulateSSIM() argument
92 sum += VP8SSIMGetClipped(src, src_stride, ref, ref_stride, x, y, w, h); in AccumulateSSIM()
97 sum += VP8SSIMGetClipped(src, src_stride, ref, ref_stride, x, y, w, h); in AccumulateSSIM()
101 const int off2 = x - VP8_SSIM_KERNEL + (y - VP8_SSIM_KERNEL) * ref_stride; in AccumulateSSIM()
102 sum += VP8SSIMGet(src + off1, src_stride, ref + off2, ref_stride); in AccumulateSSIM()
[all …]
/third_party/ffmpeg/libavcodec/mips/
Dme_cmp_msa.c25 uint8_t *ref, int32_t ref_stride, in sad_8width_msa() argument
35 LD_UB4(ref, ref_stride, ref0, ref1, ref2, ref3); in sad_8width_msa()
36 ref += (4 * ref_stride); in sad_8width_msa()
47 uint8_t *ref, int32_t ref_stride, in sad_16width_msa() argument
57 LD_UB2(ref, ref_stride, ref0, ref1); in sad_16width_msa()
58 ref += (2 * ref_stride); in sad_16width_msa()
63 LD_UB2(ref, ref_stride, ref0, ref1); in sad_16width_msa()
64 ref += (2 * ref_stride); in sad_16width_msa()
74 int32_t ref_stride, in sad_horiz_bilinear_filter_8width_msa() argument
85 LD_UB4(ref, ref_stride, ref0, ref1, ref2, ref3); in sad_horiz_bilinear_filter_8width_msa()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video.h114 unsigned fence_seq, fw_sizes, last_frame_num, tmp_stride, ref_stride; member
163 ret = dec->ref_stride * target->valid_ref; in nouveau_vp3_video_addr()
165 ret = dec->ref_stride * (dec->base.max_references+1); in nouveau_vp3_video_addr()
182 if (size > dec->ref_stride) { in nouveau_vp3_ycbcr_offsets()
184 dec->ref_stride, size, *y2<<8, *cbcr<<8, *cbcr2<<8); in nouveau_vp3_ycbcr_offsets()
186 assert(size <= dec->ref_stride); in nouveau_vp3_ycbcr_offsets()
/third_party/ffmpeg/libavfilter/
Dvf_ssim.c96 const uint8_t *ref8, ptrdiff_t ref_stride, in ssim_4x4xn_16bit() argument
104 ref_stride >>= 1; in ssim_4x4xn_16bit()
112 unsigned b = ref16[x + y * ref_stride]; in ssim_4x4xn_16bit()
132 const uint8_t *ref, ptrdiff_t ref_stride, in ssim_4x4xn_8bit() argument
143 int b = ref[x + y * ref_stride]; in ssim_4x4xn_8bit()
249 const int ref_stride = td->ref_linesize[c]; in ssim_plane_16bit() local
267 &ref_data[4 * z * ref_stride], ref_stride, in ssim_plane_16bit()
292 const int ref_stride = td->ref_linesize[c]; in ssim_plane() local
310 &ref_data[4 * z * ref_stride], ref_stride, in ssim_plane()
Dvif.h29 int ref_stride, int main_stride, float *score,
Dssim.h29 const uint8_t *ref, ptrdiff_t ref_stride,
Dvf_vif.c288 int ref_stride, int main_stride, float *score, in ff_compute_vif2() argument
309 int curr_ref_stride = ref_stride; in ff_compute_vif2()
405 int ref_stride = ref->linesize[0]; \
421 ref_ptr += ref_stride / sizeof(type); \
Dvf_libvmaf.c106 int ref_stride = s->gref->linesize[0]; \
124 ref_ptr += ref_stride / sizeof(*ref_ptr); \
/third_party/ffmpeg/libavfilter/x86/
Dvf_ssim_init.c26 const uint8_t *ref, ptrdiff_t ref_stride,
29 const uint8_t *ref, ptrdiff_t ref_stride,
Dvf_ssim.asm35 cglobal ssim_4x4_line, 6, 8, %1, buf, buf_stride, ref, ref_stride, sums, w, buf_stride3, ref_stride3
37 cglobal ssim_4x4_line, 5, 7, %1, buf, buf_stride, ref, ref_stride, sums, buf_stride3, ref_stride3
/third_party/ffmpeg/libavcodec/
Dsnowenc.c521 const int ref_stride= s->current_picture->linesize[plane_index]; in get_dc() local
546 …x, y, block_w, block_h, w, h, obmc_stride, ref_stride, obmc_stride, mb_x2, mb_y2, 0, 0, plane_inde… in get_dc()
561 ab += (src[x2 + y2*ref_stride] - (d>>FRAC_BITS)) * obmc_v; in get_dc()
615 const int ref_stride= s->current_picture->linesize[plane_index]; in get_block_rd() local
638 …ff_snow_pred_block(s, cur, tmp, ref_stride, sx, sy, block_w*2, block_h*2, &s->block[mb_x + mb_y*b_… in get_block_rd()
643 uint8_t *cur1 = cur + y*ref_stride; in get_block_rd()
644 uint8_t *dst1 = dst + sx + (sy+y)*ref_stride; in get_block_rd()
670 memcpy(dst + sx+x0 + (sy+y)*ref_stride, cur + x0 + y*ref_stride, x1-x0); in get_block_rd()
681 …distortion = ff_w97_32_c(&s->m, src + sx + sy*ref_stride, dst + sx + sy*ref_stride, ref_stride, 32… in get_block_rd()
683 …distortion = ff_w53_32_c(&s->m, src + sx + sy*ref_stride, dst + sx + sy*ref_stride, ref_stride, 32… in get_block_rd()
[all …]
Dvp9recon.c301 const uint8_t *ref, ptrdiff_t ref_stride, in mc_luma_unscaled() argument
311 ref += y * ref_stride + x * bytesperpixel; in mc_luma_unscaled()
325 ref - !!my * 3 * ref_stride - !!mx * 3 * bytesperpixel, in mc_luma_unscaled()
326 160, ref_stride, in mc_luma_unscaled()
330 ref_stride = 160; in mc_luma_unscaled()
332 mc[!!mx][!!my](dst, dst_stride, ref, ref_stride, bh, mx << 1, my << 1); in mc_luma_unscaled()
410 const uint8_t *ref, ptrdiff_t ref_stride, in mc_luma_scaled() argument
420 mc_luma_unscaled(td, mc, dst, dst_stride, ref, ref_stride, ref_frame, in mc_luma_scaled()
439 ref += y * ref_stride + x * bytesperpixel; in mc_luma_scaled()
454 ref - 3 * ref_stride - 3 * bytesperpixel, in mc_luma_scaled()
[all …]
Dvp9dsp.h33 const uint8_t *ref, ptrdiff_t ref_stride,
36 const uint8_t *ref, ptrdiff_t ref_stride,
Dsnow.h415 int ref_stride= s->current_picture->linesize[plane_index]; in predict_slice() local
430 dst8[x + y*ref_stride]= v; in predict_slice()
450 w, ref_stride, obmc_stride, in predict_slice()
Dsnowdec.c45 int ref_stride= s->current_picture->linesize[plane_index]; in predict_slice_buffered() local
63 dst8[x + y*ref_stride]= v; in predict_slice_buffered()
86 w, ref_stride, obmc_stride, in predict_slice_buffered()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv98_video.c243 …dec->ref_stride = mb(templ->width)*16 * (mb_half(templ->height)*32 + nouveau_vp3_video_align(templ… in nv98_create_decoder()
245 dec->ref_stride * (templ->max_references+2) + tmp_size, in nv98_create_decoder()
Dnv98_video_vp.c140 uint64_t tmpimg_addr = dec->ref_bo->offset + dec->ref_stride * (dec->base.max_references+2); in nv98_decoder_vp()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video.c267 …dec->ref_stride = mb(templ->width)*16 * (mb_half(templ->height)*32 + nouveau_vp3_video_align(templ… in nvc0_create_decoder()
269 dec->ref_stride * (templ->max_references+2) + tmp_size, in nvc0_create_decoder()
Dnvc0_video_vp.c140 uint64_t tmpimg_addr = dec->ref_bo->offset + dec->ref_stride * (dec->base.max_references+2); in nvc0_decoder_vp()
/third_party/skia/third_party/externals/libwebp/src/webp/
Dencode.h407 const uint8_t* ref, size_t ref_stride,
/third_party/ffmpeg/libavcodec/arm/
Dvp9mc_16bpp_neon.S25 @ const uint8_t *ref, ptrdiff_t ref_stride,
Dvp9mc_neon.S25 @ const uint8_t *ref, ptrdiff_t ref_stride,
/third_party/ffmpeg/tests/checkasm/
Dvp9dsp.c566 const uint8_t *ref, ptrdiff_t ref_stride, in check_mc()