Lines Matching refs:sample
61 int sample = 128; in ws_snd_decode_frame() local
121 sample += ( code & 0x3) - 2; in ws_snd_decode_frame()
122 sample = av_clip_uint8(sample); in ws_snd_decode_frame()
123 *samples++ = sample; in ws_snd_decode_frame()
124 sample += ((code >> 2) & 0x3) - 2; in ws_snd_decode_frame()
125 sample = av_clip_uint8(sample); in ws_snd_decode_frame()
126 *samples++ = sample; in ws_snd_decode_frame()
127 sample += ((code >> 4) & 0x3) - 2; in ws_snd_decode_frame()
128 sample = av_clip_uint8(sample); in ws_snd_decode_frame()
129 *samples++ = sample; in ws_snd_decode_frame()
130 sample += (code >> 6) - 2; in ws_snd_decode_frame()
131 sample = av_clip_uint8(sample); in ws_snd_decode_frame()
132 *samples++ = sample; in ws_snd_decode_frame()
138 sample += ws_adpcm_4bit[code & 0xF]; in ws_snd_decode_frame()
139 sample = av_clip_uint8(sample); in ws_snd_decode_frame()
140 *samples++ = sample; in ws_snd_decode_frame()
141 sample += ws_adpcm_4bit[code >> 4]; in ws_snd_decode_frame()
142 sample = av_clip_uint8(sample); in ws_snd_decode_frame()
143 *samples++ = sample; in ws_snd_decode_frame()
151 sample += t >> 3; in ws_snd_decode_frame()
152 sample = av_clip_uint8(sample); in ws_snd_decode_frame()
153 *samples++ = sample; in ws_snd_decode_frame()
158 sample = buf[-1]; in ws_snd_decode_frame()
162 memset(samples, sample, smp); in ws_snd_decode_frame()