Searched refs:residual_sample (Results 1 – 4 of 4) sorted by relevance
/external/flac/libFLAC/ |
D | stream_encoder_intrin_ssse3.c | 61 unsigned partition, residual_sample, end = (unsigned)(-(int)predictor_order); in FLAC__precompute_partition_info_sums_intrin_ssse3() local 64 for(partition = residual_sample = 0; partition < partitions; partition++) { in FLAC__precompute_partition_info_sums_intrin_ssse3() 69 e1 = (residual_sample + 3) & ~3; e3 = end & ~3; in FLAC__precompute_partition_info_sums_intrin_ssse3() 74 for( ; residual_sample < e1; residual_sample++) { in FLAC__precompute_partition_info_sums_intrin_ssse3() 75 __m128i mm_res = _mm_abs_epi32(_mm_cvtsi32_si128(residual[residual_sample])); in FLAC__precompute_partition_info_sums_intrin_ssse3() 79 for( ; residual_sample < e3; residual_sample+=4) { in FLAC__precompute_partition_info_sums_intrin_ssse3() 80 __m128i mm_res = _mm_abs_epi32(_mm_loadu_si128((const __m128i*)(residual+residual_sample))); in FLAC__precompute_partition_info_sums_intrin_ssse3() 84 for( ; residual_sample < end; residual_sample++) { in FLAC__precompute_partition_info_sums_intrin_ssse3() 85 __m128i mm_res = _mm_abs_epi32(_mm_cvtsi32_si128(residual[residual_sample])); in FLAC__precompute_partition_info_sums_intrin_ssse3() 99 for(partition = residual_sample = 0; partition < partitions; partition++) { in FLAC__precompute_partition_info_sums_intrin_ssse3() [all …]
|
D | stream_encoder_intrin_sse2.c | 72 unsigned partition, residual_sample, end = (unsigned)(-(int)predictor_order); in FLAC__precompute_partition_info_sums_intrin_sse2() local 75 for(partition = residual_sample = 0; partition < partitions; partition++) { in FLAC__precompute_partition_info_sums_intrin_sse2() 80 e1 = (residual_sample + 3) & ~3; e3 = end & ~3; in FLAC__precompute_partition_info_sums_intrin_sse2() 85 for( ; residual_sample < e1; residual_sample++) { in FLAC__precompute_partition_info_sums_intrin_sse2() 86 __m128i mm_res = local_abs_epi32(_mm_cvtsi32_si128(residual[residual_sample])); in FLAC__precompute_partition_info_sums_intrin_sse2() 90 for( ; residual_sample < e3; residual_sample+=4) { in FLAC__precompute_partition_info_sums_intrin_sse2() 91 __m128i mm_res = local_abs_epi32(_mm_loadu_si128((const __m128i*)(residual+residual_sample))); in FLAC__precompute_partition_info_sums_intrin_sse2() 95 for( ; residual_sample < end; residual_sample++) { in FLAC__precompute_partition_info_sums_intrin_sse2() 96 __m128i mm_res = local_abs_epi32(_mm_cvtsi32_si128(residual[residual_sample])); in FLAC__precompute_partition_info_sums_intrin_sse2() 110 for(partition = residual_sample = 0; partition < partitions; partition++) { in FLAC__precompute_partition_info_sums_intrin_sse2() [all …]
|
D | stream_encoder_intrin_avx2.c | 61 unsigned partition, residual_sample, end = (unsigned)(-(int)predictor_order); in FLAC__precompute_partition_info_sums_intrin_avx2() local 64 for(partition = residual_sample = 0; partition < partitions; partition++) { in FLAC__precompute_partition_info_sums_intrin_avx2() 69 for( ; (int)residual_sample < (int)end-7; residual_sample+=8) { in FLAC__precompute_partition_info_sums_intrin_avx2() 70 … __m256i res256 = _mm256_abs_epi32(_mm256_loadu_si256((const __m256i*)(residual+residual_sample))); in FLAC__precompute_partition_info_sums_intrin_avx2() 76 for( ; (int)residual_sample < (int)end-3; residual_sample+=4) { in FLAC__precompute_partition_info_sums_intrin_avx2() 77 __m128i res128 = _mm_abs_epi32(_mm_loadu_si128((const __m128i*)(residual+residual_sample))); in FLAC__precompute_partition_info_sums_intrin_avx2() 81 for( ; residual_sample < end; residual_sample++) { in FLAC__precompute_partition_info_sums_intrin_avx2() 82 __m128i res128 = _mm_abs_epi32(_mm_cvtsi32_si128(residual[residual_sample])); in FLAC__precompute_partition_info_sums_intrin_avx2() 96 for(partition = residual_sample = 0; partition < partitions; partition++) { in FLAC__precompute_partition_info_sums_intrin_avx2() 101 for( ; (int)residual_sample < (int)end-3; residual_sample+=4) { in FLAC__precompute_partition_info_sums_intrin_avx2() [all …]
|
D | stream_encoder.c | 3977 unsigned partition, residual_sample, end = (unsigned)(-(int)predictor_order); in precompute_partition_info_sums_() local 3980 for(partition = residual_sample = 0; partition < partitions; partition++) { in precompute_partition_info_sums_() 3983 for( ; residual_sample < end; residual_sample++) in precompute_partition_info_sums_() 3984 …abs_residual_partition_sum += abs(residual[residual_sample]); /* abs(INT_MIN) is undefined, but if… in precompute_partition_info_sums_() 3989 for(partition = residual_sample = 0; partition < partitions; partition++) { in precompute_partition_info_sums_() 3992 for( ; residual_sample < end; residual_sample++) in precompute_partition_info_sums_() 3993 …abs_residual_partition_sum64 += abs(residual[residual_sample]); /* abs(INT_MIN) is undefined, but … in precompute_partition_info_sums_() 4033 unsigned partition, partition_sample, partition_samples, residual_sample; in precompute_partition_info_escapes_() local 4039 for(partition = residual_sample = 0; partition < partitions; partition++) { in precompute_partition_info_escapes_() 4045 r = residual[residual_sample++]; in precompute_partition_info_escapes_() [all …]
|