Lines Matching refs:BIT_DEPTH

39             dst[x] = get_bits(gb, pcm_bit_depth) << (BIT_DEPTH - pcm_bit_depth);
109 int shift = 15 - BIT_DEPTH - log2_size;
161 shift = 20 - BIT_DEPTH;
257 shift = 20 - BIT_DEPTH; \
269 int shift = 14 - BIT_DEPTH; \
307 int shift = BIT_DEPTH - 5;
506 dst[x] = src[x] << (14 - BIT_DEPTH);
538 int shift = 14 + 1 - BIT_DEPTH;
539 #if BIT_DEPTH < 14
547 dst[x] = av_clip_pixel(((src[x] << (14 - BIT_DEPTH)) + src2[x] + offset) >> shift);
562 int shift = denom + 14 - BIT_DEPTH;
563 #if BIT_DEPTH < 14
569 ox = ox * (1 << (BIT_DEPTH - 8));
572 dst[x] = av_clip_pixel((((src[x] << (14 - BIT_DEPTH)) * wx + offset) >> shift) + ox);
589 int shift = 14 + 1 - BIT_DEPTH;
592 ox0 = ox0 * (1 << (BIT_DEPTH - 8));
593 ox1 = ox1 * (1 << (BIT_DEPTH - 8));
596 dst[x] = av_clip_pixel(( (src[x] << (14 - BIT_DEPTH)) * wx1 + src2[x] * wx0 + (ox0 + ox1 + 1) * (1 << log2Wd)) >> (log2Wd + 1));
627 dst[x] = QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8);
643 dst[x] = QPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8);
666 tmp[x] = QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8);
691 int shift = 14 - BIT_DEPTH;
693 #if BIT_DEPTH < 14
701 dst[x] = av_clip_pixel(((QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) + offset) >> shift);
719 int shift = 14 + 1 - BIT_DEPTH;
720 #if BIT_DEPTH < 14
728 dst[x] = av_clip_pixel(((QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) + src2[x] + offset) >> shift);
745 int shift = 14 - BIT_DEPTH;
747 #if BIT_DEPTH < 14
755 dst[x] = av_clip_pixel(((QPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) + offset) >> shift);
774 int shift = 14 + 1 - BIT_DEPTH;
775 #if BIT_DEPTH < 14
783 dst[x] = av_clip_pixel(((QPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) + src2[x] + offset) >> shift);
802 int shift = 14 - BIT_DEPTH;
804 #if BIT_DEPTH < 14
814 tmp[x] = QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8);
842 int shift = 14 + 1 - BIT_DEPTH;
843 #if BIT_DEPTH < 14
853 tmp[x] = QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8);
881 int shift = denom + 14 - BIT_DEPTH;
882 #if BIT_DEPTH < 14
888 ox = ox * (1 << (BIT_DEPTH - 8));
891 dst[x] = av_clip_pixel((((QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) * wx + offset) >> shift) + ox);
910 int shift = 14 + 1 - BIT_DEPTH;
913 ox0 = ox0 * (1 << (BIT_DEPTH - 8));
914 ox1 = ox1 * (1 << (BIT_DEPTH - 8));
917 dst[x] = av_clip_pixel(((QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) * wx1 + src2[x] * wx0 +
936 int shift = denom + 14 - BIT_DEPTH;
937 #if BIT_DEPTH < 14
943 ox = ox * (1 << (BIT_DEPTH - 8));
946 dst[x] = av_clip_pixel((((QPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) * wx + offset) >> shift) + ox);
965 int shift = 14 + 1 - BIT_DEPTH;
968 ox0 = ox0 * (1 << (BIT_DEPTH - 8));
969 ox1 = ox1 * (1 << (BIT_DEPTH - 8));
972 dst[x] = av_clip_pixel(((QPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) * wx1 + src2[x] * wx0 +
993 int shift = denom + 14 - BIT_DEPTH;
994 #if BIT_DEPTH < 14
1004 tmp[x] = QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8);
1012 ox = ox * (1 << (BIT_DEPTH - 8));
1034 int shift = 14 + 1 - BIT_DEPTH;
1041 tmp[x] = QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8);
1049 ox0 = ox0 * (1 << (BIT_DEPTH - 8));
1050 ox1 = ox1 * (1 << (BIT_DEPTH - 8));
1080 dst[x] = EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8);
1097 dst[x] = EPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8);
1118 tmp[x] = EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8);
1143 int shift = 14 - BIT_DEPTH;
1144 #if BIT_DEPTH < 14
1152 dst[x] = av_clip_pixel(((EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) + offset) >> shift);
1168 int shift = 14 + 1 - BIT_DEPTH;
1169 #if BIT_DEPTH < 14
1177 dst[x] = av_clip_pixel(((EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) + src2[x] + offset) >> shift);
1194 int shift = 14 - BIT_DEPTH;
1195 #if BIT_DEPTH < 14
1203 dst[x] = av_clip_pixel(((EPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) + offset) >> shift);
1219 int shift = 14 + 1 - BIT_DEPTH;
1220 #if BIT_DEPTH < 14
1228 dst[x] = av_clip_pixel(((EPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) + src2[x] + offset) >> shift);
1246 int shift = 14 - BIT_DEPTH;
1247 #if BIT_DEPTH < 14
1257 tmp[x] = EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8);
1285 int shift = 14 + 1 - BIT_DEPTH;
1286 #if BIT_DEPTH < 14
1296 tmp[x] = EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8);
1322 int shift = denom + 14 - BIT_DEPTH;
1323 #if BIT_DEPTH < 14
1329 ox = ox * (1 << (BIT_DEPTH - 8));
1332 dst[x] = av_clip_pixel((((EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) * wx + offset) >> shift) + ox);
1350 int shift = 14 + 1 - BIT_DEPTH;
1353 ox0 = ox0 * (1 << (BIT_DEPTH - 8));
1354 ox1 = ox1 * (1 << (BIT_DEPTH - 8));
1357 dst[x] = av_clip_pixel(((EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) * wx1 + src2[x] * wx0 +
1374 int shift = denom + 14 - BIT_DEPTH;
1375 #if BIT_DEPTH < 14
1381 ox = ox * (1 << (BIT_DEPTH - 8));
1384 dst[x] = av_clip_pixel((((EPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) * wx + offset) >> shift) + ox);
1402 int shift = 14 + 1 - BIT_DEPTH;
1405 ox0 = ox0 * (1 << (BIT_DEPTH - 8));
1406 ox1 = ox1 * (1 << (BIT_DEPTH - 8));
1409 dst[x] = av_clip_pixel(((EPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) * wx1 + src2[x] * wx0 +
1428 int shift = denom + 14 - BIT_DEPTH;
1429 #if BIT_DEPTH < 14
1439 tmp[x] = EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8);
1447 ox = ox * (1 << (BIT_DEPTH - 8));
1469 int shift = 14 + 1 - BIT_DEPTH;
1476 tmp[x] = EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8);
1484 ox0 = ox0 * (1 << (BIT_DEPTH - 8));
1485 ox1 = ox1 * (1 << (BIT_DEPTH - 8));
1526 beta <<= BIT_DEPTH - 8;
1535 const int tc = _tc[j] << (BIT_DEPTH - 8);
1622 const int tc = _tc[j] << (BIT_DEPTH - 8);