Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 25 of 2115) sorted by relevance

12345678910>>...85

/third_party/mesa3d/src/gallium/drivers/crocus/ci/
Dcrocus-hsw-fails.txt9 spec@!opengl 1.1@read-front clear-front-first samples=2,Fail
10 spec@!opengl 1.1@read-front clear-front-first samples=4,Fail
11 spec@!opengl 1.1@read-front clear-front-first samples=6,Fail
12 spec@!opengl 1.1@read-front clear-front-first samples=8,Fail
13 spec@!opengl 1.1@read-front samples=2,Fail
14 spec@!opengl 1.1@read-front samples=4,Fail
15 spec@!opengl 1.1@read-front samples=6,Fail
16 spec@!opengl 1.1@read-front samples=8,Fail
257 spec@arb_copy_image@arb_copy_image-formats --samples=2,Fail
258 spec@arb_copy_image@arb_copy_image-formats --samples=2@Source: GL_R16/Destination: GL_R16I,Fail
[all …]
/third_party/lame/mpglib/
Ddct64_i386.c45 dct64_1(real * out0, real * out1, real * b1, real * b2, real * samples) in dct64_1() argument
51 b1[0x00] = samples[0x00] + samples[0x1F]; in dct64_1()
52 b1[0x1F] = (samples[0x00] - samples[0x1F]) * costab[0x0]; in dct64_1()
54 b1[0x01] = samples[0x01] + samples[0x1E]; in dct64_1()
55 b1[0x1E] = (samples[0x01] - samples[0x1E]) * costab[0x1]; in dct64_1()
57 b1[0x02] = samples[0x02] + samples[0x1D]; in dct64_1()
58 b1[0x1D] = (samples[0x02] - samples[0x1D]) * costab[0x2]; in dct64_1()
60 b1[0x03] = samples[0x03] + samples[0x1C]; in dct64_1()
61 b1[0x1C] = (samples[0x03] - samples[0x1C]) * costab[0x3]; in dct64_1()
63 b1[0x04] = samples[0x04] + samples[0x1B]; in dct64_1()
[all …]
/third_party/pulseaudio/src/pulsecore/
Dsvolume_c.c31 static void pa_volume_u8_c(uint8_t *samples, const int32_t *volumes, unsigned channels, unsigned le… in pa_volume_u8_c() argument
35 int32_t t = pa_mult_s16_volume(*samples - 0x80, volumes[channel]); in pa_volume_u8_c()
38 *samples++ = (uint8_t) (t + 0x80); in pa_volume_u8_c()
45 static void pa_volume_alaw_c(uint8_t *samples, const int32_t *volumes, unsigned channels, unsigned … in pa_volume_alaw_c() argument
49 int32_t t = pa_mult_s16_volume(st_alaw2linear16(*samples), volumes[channel]); in pa_volume_alaw_c()
52 *samples++ = (uint8_t) st_13linear2alaw((int16_t) t >> 3); in pa_volume_alaw_c()
59 static void pa_volume_ulaw_c(uint8_t *samples, const int32_t *volumes, unsigned channels, unsigned … in pa_volume_ulaw_c() argument
63 int32_t t = pa_mult_s16_volume(st_ulaw2linear16(*samples), volumes[channel]); in pa_volume_ulaw_c()
66 *samples++ = (uint8_t) st_14linear2ulaw((int16_t) t >> 2); in pa_volume_ulaw_c()
73 static void pa_volume_s16ne_c(int16_t *samples, const int32_t *volumes, unsigned channels, unsigned… in pa_volume_s16ne_c() argument
[all …]
/third_party/ffmpeg/libavcodec/
Dac3dsp.c183 static void ac3_downmix_5_to_2_symmetric_c(float **samples, float **matrix, in ac3_downmix_5_to_2_symmetric_c() argument
193 v0 = samples[0][i] * front_mix + in ac3_downmix_5_to_2_symmetric_c()
194 samples[1][i] * center_mix + in ac3_downmix_5_to_2_symmetric_c()
195 samples[3][i] * surround_mix; in ac3_downmix_5_to_2_symmetric_c()
197 v1 = samples[1][i] * center_mix + in ac3_downmix_5_to_2_symmetric_c()
198 samples[2][i] * front_mix + in ac3_downmix_5_to_2_symmetric_c()
199 samples[4][i] * surround_mix; in ac3_downmix_5_to_2_symmetric_c()
201 samples[0][i] = v0; in ac3_downmix_5_to_2_symmetric_c()
202 samples[1][i] = v1; in ac3_downmix_5_to_2_symmetric_c()
206 static void ac3_downmix_5_to_1_symmetric_c(float **samples, float **matrix, in ac3_downmix_5_to_1_symmetric_c() argument
[all …]
Ds302menc.c103 const uint32_t *samples = (uint32_t *)frame->data[0]; in s302m_encode2_frame() local
109 o[0] = ff_reverse[(samples[0] & 0x0000FF00) >> 8]; in s302m_encode2_frame()
110 o[1] = ff_reverse[(samples[0] & 0x00FF0000) >> 16]; in s302m_encode2_frame()
111 o[2] = ff_reverse[(samples[0] & 0xFF000000) >> 24]; in s302m_encode2_frame()
112 o[3] = ff_reverse[(samples[1] & 0x00000F00) >> 4] | vucf; in s302m_encode2_frame()
113 o[4] = ff_reverse[(samples[1] & 0x000FF000) >> 12]; in s302m_encode2_frame()
114 o[5] = ff_reverse[(samples[1] & 0x0FF00000) >> 20]; in s302m_encode2_frame()
115 o[6] = ff_reverse[(samples[1] & 0xF0000000) >> 28]; in s302m_encode2_frame()
117 samples += 2; in s302m_encode2_frame()
125 const uint32_t *samples = (uint32_t *)frame->data[0]; in s302m_encode2_frame() local
[all …]
Dpcm.c100 const short *samples; in pcm_encode_frame() local
111 samples = (const short *)frame->data[0]; in pcm_encode_frame()
119 ENCODE(uint32_t, le32, samples, dst, n, 0, 0x80000000) in pcm_encode_frame()
122 ENCODE(uint32_t, be32, samples, dst, n, 0, 0x80000000) in pcm_encode_frame()
125 ENCODE(int32_t, le24, samples, dst, n, 8, 0) in pcm_encode_frame()
131 ENCODE(int32_t, be24, samples, dst, n, 8, 0) in pcm_encode_frame()
134 ENCODE(uint32_t, le24, samples, dst, n, 8, 0x800000) in pcm_encode_frame()
137 ENCODE(uint32_t, be24, samples, dst, n, 8, 0x800000) in pcm_encode_frame()
141 uint32_t tmp = ff_reverse[(*samples >> 8) & 0xff] + in pcm_encode_frame()
142 (ff_reverse[*samples & 0xff] << 8); in pcm_encode_frame()
[all …]
Dws-snd1.c62 uint8_t *samples; in ws_snd_decode_frame() local
86 samples = frame->data[0]; in ws_snd_decode_frame()
87 samples_end = samples + out_size; in ws_snd_decode_frame()
90 memcpy(samples, buf, out_size); in ws_snd_decode_frame()
95 while (samples < samples_end && buf - avpkt->data < buf_size) { in ws_snd_decode_frame()
109 if (samples_end - samples < smp) in ws_snd_decode_frame()
123 *samples++ = sample; in ws_snd_decode_frame()
126 *samples++ = sample; in ws_snd_decode_frame()
129 *samples++ = sample; in ws_snd_decode_frame()
132 *samples++ = sample; in ws_snd_decode_frame()
[all …]
Dadpcm.c760 …ic void adpcm_swf_decode(AVCodecContext *avctx, const uint8_t *buf, int buf_size, int16_t *samples) in adpcm_swf_decode() argument
780 *samples++ = c->status[i].predictor = get_sbits(&gb, 16); in adpcm_swf_decode()
812 *samples++ = c->status[i].predictor; in adpcm_swf_decode()
1072 int16_t *samples; in adpcm_decode_frame() local
1089 samples = (int16_t *)frame->data[0]; in adpcm_decode_frame()
1135 samples = samples_p[channel]; in adpcm_decode_frame()
1139 samples[m ] = adpcm_ima_qt_expand_nibble(cs, byte & 0x0F); in adpcm_decode_frame()
1140 samples[m + 1] = adpcm_ima_qt_expand_nibble(cs, byte >> 4 ); in adpcm_decode_frame()
1166 samples = &samples_p[i][1 + n * samples_per_block]; in adpcm_decode_frame()
1175 samples[m] = adpcm_ima_wav_expand_nibble(cs, &g, in adpcm_decode_frame()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/ci/
Dr600-rv770-fails.txt407 spec@!opengl 1.1@read-front clear-front-first samples=2,Fail
408 spec@!opengl 1.1@read-front clear-front-first samples=4,Fail
409 spec@!opengl 1.1@read-front clear-front-first samples=6,Fail
410 spec@!opengl 1.1@read-front clear-front-first samples=8,Fail
411 spec@!opengl 1.1@read-front samples=2,Fail
412 spec@!opengl 1.1@read-front samples=4,Fail
413 spec@!opengl 1.1@read-front samples=6,Fail
414 spec@!opengl 1.1@read-front samples=8,Fail
623 spec@arb_copy_image@arb_copy_image-formats --samples=2,Crash
624 spec@arb_copy_image@arb_copy_image-formats --samples=2@Source: GL_R8/Destination: GL_R8I,Fail
[all …]
/third_party/openGLES/extensions/AMD/
DAMD_framebuffer_multisample_advanced.txt48 buffer. This function takes a <samples> parameter that has strict
51 that all framebuffer attachments have the same number of samples.
55 distinguishes between samples and storage samples for color
56 renderbuffers where the number of storage samples can be less than
57 the number of samples. This extension also allows non-matching sample
70 enum target, sizei samples, sizei storageSamples,
74 uint renderbuffer, sizei samples, sizei storageSamples,
110 the form {color samples, color storage samples, depth and stencil
111 samples}. The first element in each triple is at least 2. The second
118 The data storage, format, dimensions, number of samples, and number of
[all …]
/third_party/elfutils/tests/
Drun-nvidia-extended-linemap-libdw.sh29 0: /home/johnmc/hpctoolkit-gpu-samples/nvidia_extended_linemap4/main.cu:25:0: is_stmt:yes, end_seq:…
30 10: /home/johnmc/hpctoolkit-gpu-samples/nvidia_extended_linemap4/main.cu:26:0: is_stmt:yes, end_seq…
31 40: /home/johnmc/hpctoolkit-gpu-samples/nvidia_extended_linemap4/main.cu:27:0: is_stmt:yes, end_seq…
32 90: /home/johnmc/hpctoolkit-gpu-samples/nvidia_extended_linemap4/main.cu:25:0: is_stmt:yes, end_seq…
33 a0: /home/johnmc/hpctoolkit-gpu-samples/nvidia_extended_linemap4/main.cu:28:0: is_stmt:yes, end_seq…
34 100: /home/johnmc/hpctoolkit-gpu-samples/nvidia_extended_linemap4/main.cu:28:0: is_stmt:yes, end_se…
35 100: /home/johnmc/hpctoolkit-gpu-samples/nvidia_extended_linemap4/main.cu:8:0: is_stmt:yes, end_seq…
36 foo inlined at /home/johnmc/hpctoolkit-gpu-samples/nvidia_extended_linemap4/main.cu:28
37 150: /home/johnmc/hpctoolkit-gpu-samples/nvidia_extended_linemap4/main.cu:9:0: is_stmt:yes, end_seq…
38 foo inlined at /home/johnmc/hpctoolkit-gpu-samples/nvidia_extended_linemap4/main.cu:28
[all …]
/third_party/ffmpeg/libavfilter/
Daf_hdcd.c1042 …ontext *ctx, hdcd_state *states, int channels, int *flag, const int32_t *samples, int count, int s… in hdcd_integrate() argument
1057 bits[i] |= (*(samples++) & 1U) << j; in hdcd_integrate()
1058 samples += stride - channels; in hdcd_integrate()
1127 static int hdcd_scan(HDCDContext *ctx, hdcd_state *states, int channels, const int32_t *samples, in… in hdcd_scan() argument
1151 int consumed = hdcd_integrate(ctx, states, channels, &flag, samples, max - result, stride); in hdcd_scan()
1166 samples += consumed * stride; in hdcd_scan()
1179 static void hdcd_analyze_prepare(hdcd_state *state, int32_t *samples, int count, int stride) { in hdcd_analyze_prepare() argument
1188 int32_t save = (abs(samples[n]) - PEAK_EXT_LEVEL >= 0) ? 2 : 0; /* above PE level */ in hdcd_analyze_prepare()
1189 save |= samples[n] & 1; /* save LSB for HDCD packets */ in hdcd_analyze_prepare()
1190 samples[n] = TONEGEN16(state->_ana_snb, f, state->rate, 0.1); in hdcd_analyze_prepare()
[all …]
Daf_replaygain.c371 static void calc_stereo_peak(const float *samples, int nb_samples, in calc_stereo_peak() argument
377 if (samples[0] > peak) in calc_stereo_peak()
378 peak = samples[0]; in calc_stereo_peak()
379 else if (-samples[0] > peak) in calc_stereo_peak()
380 peak = -samples[0]; in calc_stereo_peak()
382 if (samples[1] > peak) in calc_stereo_peak()
383 peak = samples[1]; in calc_stereo_peak()
384 else if (-samples[1] > peak) in calc_stereo_peak()
385 peak = -samples[1]; in calc_stereo_peak()
387 samples += 2; in calc_stereo_peak()
[all …]
/third_party/skia/tools/
DStats.h24 Stats(const SkTArray<double>& samples, bool want_plot) { in Stats()
25 int n = samples.count(); in Stats()
31 min = samples[0]; in Stats()
32 max = samples[0]; in Stats()
34 if (samples[i] < min) { min = samples[i]; } in Stats()
35 if (samples[i] > max) { max = samples[i]; } in Stats()
40 sum += samples[i]; in Stats()
46 err += (samples[i] - mean) * (samples[i] - mean); in Stats()
50 std::vector<double> sorted(samples.begin(), samples.end()); in Stats()
62 double s = samples[i]; in Stats()
/third_party/alsa-utils/bat/
Dconvert.c21 void convert_uint8_to_float(void *buf, float *val, int samples) in convert_uint8_to_float() argument
25 for (i = 0; i < samples; i++) in convert_uint8_to_float()
29 void convert_int16_to_float(void *buf, float *val, int samples) in convert_int16_to_float() argument
33 for (i = 0; i < samples; i++) in convert_int16_to_float()
37 void convert_int24_to_float(void *buf, float *val, int samples) in convert_int24_to_float() argument
42 for (i = 0; i < samples; i++) { in convert_int24_to_float()
51 void convert_int32_to_float(void *buf, float *val, int samples) in convert_int32_to_float() argument
55 for (i = 0; i < samples; i++) in convert_int32_to_float()
59 void convert_float_to_uint8(float *val, void *buf, int samples, int channels) in convert_float_to_uint8() argument
63 for (i = 0; i < samples; i++) { in convert_float_to_uint8()
[all …]
/third_party/icu/
D.gitignore82 !icu4c/source/samples/csdet/Makefile
87 icu4c/source/samples/udata/*.dat
88 icu4c/source/samples/ufortune/resources/*.dat
89 icu4c/source/samples/ufortune/resources/*.res
90 icu4c/source/samples/uresb/*.res
160 icu4c/source/samples/all/all.ncb
161 icu4c/source/samples/all/all.suo
162 icu4c/source/samples/break/break
163 icu4c/source/samples/break/break.exe
164 icu4c/source/samples/cal/icucal
[all …]
/third_party/pulseaudio/sonic/
DSonic.java76 short samples[], in scaleSamples() argument
86 int value = (samples[xSample]*fixedPointVolume) >> 12; in scaleSamples()
92 samples[xSample] = (short)value; in scaleSamples()
262 float samples[], in addFloatSamplesToInputBuffer() argument
271 inputBuffer[xBuffer++] = (short)(samples[xSample]*32767.0f); in addFloatSamplesToInputBuffer()
278 short samples[], in addShortSamplesToInputBuffer() argument
285 move(inputBuffer, numInputSamples, samples, 0, numSamples); in addShortSamplesToInputBuffer()
291 byte samples[], in addUnsignedByteSamplesToInputBuffer() argument
299 sample = (short)((samples[xSample] & 0xff) - 128); // Convert from unsigned to signed in addUnsignedByteSamplesToInputBuffer()
334 short samples[], in copyToOutput() argument
[all …]
Dsonic.c69 short *samples, in scaleSamples() argument
77 value = (*samples*fixedPointVolume) >> 12; in scaleSamples()
83 *samples++ = value; in scaleSamples()
344 float *samples, in addFloatSamplesToInputBuffer() argument
358 *buffer++ = (*samples++)*32767.0f; in addFloatSamplesToInputBuffer()
367 short *samples, in addShortSamplesToInputBuffer() argument
376 memcpy(stream->inputBuffer + stream->numInputSamples*stream->numChannels, samples, in addShortSamplesToInputBuffer()
385 unsigned char *samples, in addUnsignedCharSamplesToInputBuffer() argument
399 *buffer++ = (*samples++ - 128) << 8; in addUnsignedCharSamplesToInputBuffer()
422 short *samples, in copyToOutput() argument
[all …]
/third_party/ltp/lib/
Dtst_timer_test.c25 static long long *samples; variable
83 long long max_sample = samples[0]; in frequency_plot()
84 long long min_sample = samples[cur_sample-1]; in frequency_plot()
100 bucket = flooru(1.00 * (samples[i] - min_sample)/bucket_size); in frequency_plot()
156 samples[cur_sample++] = tst_timer_elapsed_us(); in tst_timer_sample()
225 fprintf(f, "%lli\n", samples[i]); in write_to_file()
275 qsort(samples, nsamples, sizeof(samples[0]), cmp); in do_timer_test()
279 for (i = 0; samples[i] > 10 * usec && i < (int)nsamples; i++) { in do_timer_test()
280 if (samples[i] <= 3 * monotonic_resolution) in do_timer_test()
286 i, samples[0], samples[i-1]); in do_timer_test()
[all …]
/third_party/ffmpeg/tests/ref/fate/
Daudio_fifo6 remaining samples in audio_fifo: 24
10 remaining samples in audio_fifo: 12
46 remaining samples in audio_fifo: 12
51 remaining samples in audio_fifo: 6
82 remaining samples in audio_fifo: 24
86 remaining samples in audio_fifo: 12
122 remaining samples in audio_fifo: 12
127 remaining samples in audio_fifo: 6
158 remaining samples in audio_fifo: 24
162 remaining samples in audio_fifo: 12
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_framebuffer_multisample_coverage.txt43 between color samples and coverage samples.
48 takes a <samples> parameter. Using rules provided by the
49 specification, the <samples> parameter is resolved to an actual
50 number of samples that is supported by the underlying hardware.
51 EXT_framebuffer_multisample does not specify whether <samples>
52 refers to coverage samples or color samples.
107 samples, and number of color samples of a renderbuffer object's
128 for a desired minimum number of coverage samples. Since different
130 multisampled rendering, the actual number of coverage samples
139 desired minimum number of colors samples. Since different
[all …]
/third_party/openGLES/extensions/NV/
DNV_framebuffer_multisample_coverage.txt43 between color samples and coverage samples.
48 takes a <samples> parameter. Using rules provided by the
49 specification, the <samples> parameter is resolved to an actual
50 number of samples that is supported by the underlying hardware.
51 EXT_framebuffer_multisample does not specify whether <samples>
52 refers to coverage samples or color samples.
107 samples, and number of color samples of a renderbuffer object's
128 for a desired minimum number of coverage samples. Since different
130 multisampled rendering, the actual number of coverage samples
139 desired minimum number of colors samples. Since different
[all …]
/third_party/libsnd/src/
Dms_adpcm.c37 short *samples ; member
149 pms->samples = pms->dummydata ; in wavlike_msadpcm_init()
186 { pms->samples = pms->dummydata ; in wavlike_msadpcm_init()
229 { memset (pms->samples, 0, pms->samplesperblock * pms->channels) ; in msadpcm_decode_block()
247 pms->samples [1] = pms->block [3] | (pms->block [4] << 8) ; in msadpcm_decode_block()
248 pms->samples [0] = pms->block [5] | (pms->block [6] << 8) ; in msadpcm_decode_block()
258 pms->samples [2] = pms->block [6] | (pms->block [7] << 8) ; in msadpcm_decode_block()
259 pms->samples [3] = pms->block [8] | (pms->block [9] << 8) ; in msadpcm_decode_block()
261 pms->samples [0] = pms->block [10] | (pms->block [11] << 8) ; in msadpcm_decode_block()
262 pms->samples [1] = pms->block [12] | (pms->block [13] << 8) ; in msadpcm_decode_block()
[all …]
/third_party/alsa-lib/src/pcm/
Dpcm_misc.c342 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples) in snd_pcm_format_size() argument
348 return samples; in snd_pcm_format_size()
355 return samples * 2; in snd_pcm_format_size()
368 return samples * 3; in snd_pcm_format_size()
385 return samples * 4; in snd_pcm_format_size()
388 return samples * 8; in snd_pcm_format_size()
391 return samples * 4; in snd_pcm_format_size()
394 return samples; in snd_pcm_format_size()
396 if (samples & 1) in snd_pcm_format_size()
398 return samples / 2; in snd_pcm_format_size()
[all …]
/third_party/ffmpeg/libavformat/
Dmovenchint.c74 if (queue->samples[0].own_data) in sample_queue_pop()
75 av_freep(&queue->samples[0].data); in sample_queue_pop()
77 memmove(queue->samples, queue->samples + 1, sizeof(HintSample)*queue->len); in sample_queue_pop()
87 if (queue->samples[i].own_data) in sample_queue_free()
88 av_freep(&queue->samples[i].data); in sample_queue_free()
89 av_freep(&queue->samples); in sample_queue_free()
106 if (!queue->samples || queue->len >= queue->size) { in sample_queue_push()
107 HintSample *samples; in sample_queue_push() local
108 samples = av_realloc_array(queue->samples, queue->size + 10, sizeof(HintSample)); in sample_queue_push()
109 if (!samples) in sample_queue_push()
[all …]

12345678910>>...85