Lines Matching defs:dst
33 pixel *dst = (pixel *)_dst;
39 dst[x] = get_bits(gb, pcm_bit_depth) << (BIT_DEPTH - pcm_bit_depth);
40 dst += stride;
48 pixel *dst = (pixel *)_dst;
54 dst[x] = av_clip_pixel(dst[x] + *res);
57 dst += stride;
131 #define SET(dst, x) (dst) = (x)
132 #define SCALE(dst, x) (dst) = av_clip_int16(((x) + add) >> shift)
134 #define TR_4x4_LUMA(dst, src, step, assign) \
141 assign(dst[2 * step], 74 * (src[0 * step] - \
144 assign(dst[0 * step], 29 * c0 + 55 * c1 + c3); \
145 assign(dst[1 * step], 55 * c2 - 29 * c1 + c3); \
146 assign(dst[3 * step], 55 * c0 + 29 * c2 - c3); \
171 #define TR_4(dst, src, dstep, sstep, assign, end) \
178 assign(dst[0 * dstep], e0 + o0); \
179 assign(dst[1 * dstep], e1 + o1); \
180 assign(dst[2 * dstep], e1 - o1); \
181 assign(dst[3 * dstep], e0 - o0); \
184 #define TR_8(dst, src, dstep, sstep, assign, end) \
195 assign(dst[i * dstep], e_8[i] + o_8[i]); \
196 assign(dst[(7 - i) * dstep], e_8[i] - o_8[i]); \
200 #define TR_16(dst, src, dstep, sstep, assign, end) \
211 assign(dst[i * dstep], e_16[i] + o_16[i]); \
212 assign(dst[(15 - i) * dstep], e_16[i] - o_16[i]); \
216 #define TR_32(dst, src, dstep, sstep, assign, end) \
227 assign(dst[i * dstep], e_32[i] + o_32[i]); \
228 assign(dst[(31 - i) * dstep], e_32[i] - o_32[i]); \
303 pixel *dst = (pixel *)_dst;
316 dst[x] = av_clip_pixel(src[x] + offset_table[(src[x] >> shift) & 31]);
317 dst += stride_dst;
334 pixel *dst = (pixel *)_dst;
348 dst[x] = av_clip_pixel(src[x] + sao_offset_val[offset_val]);
351 dst += stride_dst;
362 pixel *dst = (pixel *)_dst;
375 dst[y * stride_dst] = av_clip_pixel(src[y * stride_src] + offset_val);
383 dst[x * stride_dst + offset] = av_clip_pixel(src[x * stride_src + offset] + offset_val);
392 dst[x] = av_clip_pixel(src[x] + offset_val);
399 dst[x + y_stride_dst] = av_clip_pixel(src[x + y_stride_src] + offset_val);
412 pixel *dst = (pixel *)_dst;
425 dst[y * stride_dst] = av_clip_pixel(src[y * stride_src] + offset_val);
433 dst[x * stride_dst + offset] = av_clip_pixel(src[x * stride_src + offset] + offset_val);
442 dst[x] = av_clip_pixel(src[x] + offset_val);
450 dst[x + y_stride_dst] = av_clip_pixel(src[x + y_stride_src] + offset_val);
464 dst[y*stride_dst] = src[y*stride_src];
468 dst[y*stride_dst+width-1] = src[y*stride_src+width-1];
473 dst[x] = src[x];
477 dst[(height-1)*stride_dst+x] = src[(height-1)*stride_src+x];
480 dst[0] = src[0];
482 dst[width-1] = src[width-1];
484 dst[stride_dst*(height-1)+width-1] = src[stride_src*(height-1)+width-1];
486 dst[stride_dst*(height-1)] = src[stride_src*(height-1)];
496 static void FUNC(put_hevc_pel_pixels)(int16_t *dst,
506 dst[x] = src[x] << (14 - BIT_DEPTH);
508 dst += MAX_PB_SIZE;
518 pixel *dst = (pixel *)_dst;
522 memcpy(dst, src, width * sizeof(pixel));
524 dst += dststride;
535 pixel *dst = (pixel *)_dst;
547 dst[x] = av_clip_pixel(((src[x] << (14 - BIT_DEPTH)) + src2[x] + offset) >> shift);
549 dst += dststride;
560 pixel *dst = (pixel *)_dst;
572 dst[x] = av_clip_pixel((((src[x] << (14 - BIT_DEPTH)) * wx + offset) >> shift) + ox);
574 dst += dststride;
586 pixel *dst = (pixel *)_dst;
596 dst[x] = av_clip_pixel(( (src[x] << (14 - BIT_DEPTH)) * wx1 + src2[x] * wx0 + (ox0 + ox1 + 1) * (1 << log2Wd)) >> (log2Wd + 1));
599 dst += dststride;
617 static void FUNC(put_hevc_qpel_h)(int16_t *dst,
627 dst[x] = QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8);
629 dst += MAX_PB_SIZE;
633 static void FUNC(put_hevc_qpel_v)(int16_t *dst,
643 dst[x] = QPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8);
645 dst += MAX_PB_SIZE;
649 static void FUNC(put_hevc_qpel_hv)(int16_t *dst,
675 dst[x] = QPEL_FILTER(tmp, MAX_PB_SIZE) >> 6;
677 dst += MAX_PB_SIZE;
688 pixel *dst = (pixel *)_dst;
701 dst[x] = av_clip_pixel(((QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) + offset) >> shift);
703 dst += dststride;
714 pixel *dst = (pixel *)_dst;
728 dst[x] = av_clip_pixel(((QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) + src2[x] + offset) >> shift);
730 dst += dststride;
742 pixel *dst = (pixel *)_dst;
755 dst[x] = av_clip_pixel(((QPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) + offset) >> shift);
757 dst += dststride;
769 pixel *dst = (pixel *)_dst;
783 dst[x] = av_clip_pixel(((QPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) + src2[x] + offset) >> shift);
785 dst += dststride;
798 pixel *dst = (pixel *)_dst;
824 dst[x] = av_clip_pixel(((QPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) + offset) >> shift);
826 dst += dststride;
838 pixel *dst = (pixel *)_dst;
863 dst[x] = av_clip_pixel(((QPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) + src2[x] + offset) >> shift);
865 dst += dststride;
878 pixel *dst = (pixel *)_dst;
891 dst[x] = av_clip_pixel((((QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) * wx + offset) >> shift) + ox);
893 dst += dststride;
905 pixel *dst = (pixel *)_dst;
917 dst[x] = av_clip_pixel(((QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) * wx1 + src2[x] * wx0 +
920 dst += dststride;
933 pixel *dst = (pixel *)_dst;
946 dst[x] = av_clip_pixel((((QPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) * wx + offset) >> shift) + ox);
948 dst += dststride;
960 pixel *dst = (pixel *)_dst;
972 dst[x] = av_clip_pixel(((QPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) * wx1 + src2[x] * wx0 +
975 dst += dststride;
989 pixel *dst = (pixel *)_dst;
1015 dst[x] = av_clip_pixel((((QPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) * wx + offset) >> shift) + ox);
1017 dst += dststride;
1030 pixel *dst = (pixel *)_dst;
1053 dst[x] = av_clip_pixel(((QPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) * wx1 + src2[x] * wx0 +
1056 dst += dststride;
1070 static void FUNC(put_hevc_epel_h)(int16_t *dst,
1080 dst[x] = EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8);
1082 dst += MAX_PB_SIZE;
1086 static void FUNC(put_hevc_epel_v)(int16_t *dst,
1097 dst[x] = EPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8);
1099 dst += MAX_PB_SIZE;
1103 static void FUNC(put_hevc_epel_hv)(int16_t *dst,
1128 dst[x] = EPEL_FILTER(tmp, MAX_PB_SIZE) >> 6;
1130 dst += MAX_PB_SIZE;
1140 pixel *dst = (pixel *)_dst;
1152 dst[x] = av_clip_pixel(((EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) + offset) >> shift);
1154 dst += dststride;
1165 pixel *dst = (pixel *)_dst;
1177 dst[x] = av_clip_pixel(((EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) + src2[x] + offset) >> shift);
1179 dst += dststride;
1191 pixel *dst = (pixel *)_dst;
1203 dst[x] = av_clip_pixel(((EPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) + offset) >> shift);
1205 dst += dststride;
1217 pixel *dst = (pixel *)_dst;
1228 dst[x] = av_clip_pixel(((EPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) + src2[x] + offset) >> shift);
1229 dst += dststride;
1241 pixel *dst = (pixel *)_dst;
1267 dst[x] = av_clip_pixel(((EPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) + offset) >> shift);
1269 dst += dststride;
1280 pixel *dst = (pixel *)_dst;
1306 dst[x] = av_clip_pixel(((EPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) + src2[x] + offset) >> shift);
1308 dst += dststride;
1319 pixel *dst = (pixel *)_dst;
1332 dst[x] = av_clip_pixel((((EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) * wx + offset) >> shift) + ox);
1334 dst += dststride;
1347 pixel *dst = (pixel *)_dst;
1357 dst[x] = av_clip_pixel(((EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) * wx1 + src2[x] * wx0 +
1360 dst += dststride;
1371 pixel *dst = (pixel *)_dst;
1384 dst[x] = av_clip_pixel((((EPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) * wx + offset) >> shift) + ox);
1386 dst += dststride;
1400 pixel *dst = (pixel *)_dst;
1409 dst[x] = av_clip_pixel(((EPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) * wx1 + src2[x] * wx0 +
1412 dst += dststride;
1423 pixel *dst = (pixel *)_dst;
1450 dst[x] = av_clip_pixel((((EPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) * wx + offset) >> shift) + ox);
1452 dst += dststride;
1464 pixel *dst = (pixel *)_dst;
1488 dst[x] = av_clip_pixel(((EPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) * wx1 + src2[x] * wx0 +
1491 dst += dststride;