Home | History | Annotate | Download | only in encoder

Lines Matching refs:src_ptr

568 static int fp_estimate_point_noise(uint8_t *src_ptr, const int stride) {
578 uint8_t centre_val = *src_ptr;
583 tmp_ptr = src_ptr - stride - 1;
601 dn_val = *src_ptr;
605 dn_diff = (int)*src_ptr - (int)dn_val;
609 static int fp_highbd_estimate_point_noise(uint8_t *src_ptr, const int stride) {
620 uint16_t centre_val = *CONVERT_TO_SHORTPTR(src_ptr);
625 tmp_ptr = src_ptr - stride - 1;
644 dn_val = *CONVERT_TO_SHORTPTR(src_ptr);
648 dn_diff = (int)(*CONVERT_TO_SHORTPTR(src_ptr)) - (int)dn_val;
658 uint8_t *src_ptr = &x->plane[0].src.buf[0];
670 block_noise += fp_highbd_estimate_point_noise(src_ptr, stride);
672 block_noise += fp_estimate_point_noise(src_ptr, stride);
674 block_noise += fp_estimate_point_noise(src_ptr, stride);
676 ++src_ptr;
678 src_ptr += (stride - width);