sample            509 libavcodec/adpcm.c     int32_t sample = 0;
sample            512 libavcodec/adpcm.c         sample += lookup_sample;
sample            514 libavcodec/adpcm.c         sample += lookup_sample >> 1;
sample            516 libavcodec/adpcm.c         sample += lookup_sample >> 2;
sample            518 libavcodec/adpcm.c         sample += lookup_sample >> 3;
sample            520 libavcodec/adpcm.c         sample += lookup_sample >> 4;
sample            522 libavcodec/adpcm.c         sample += lookup_sample >> 5;
sample            524 libavcodec/adpcm.c         sample += lookup_sample >> 6;
sample            526 libavcodec/adpcm.c         sample = -sample;
sample            528 libavcodec/adpcm.c     sample += c->predictor;
sample            529 libavcodec/adpcm.c     sample = av_clip_int16(sample);
sample            534 libavcodec/adpcm.c     c->predictor = sample;
sample            537 libavcodec/adpcm.c     return sample;
sample            687 libavcodec/adpcm.c     int sample = nibble * (1 << shift);
sample            690 libavcodec/adpcm.c         sample += (8 * cs->sample1) - (4 * cs->sample2);
sample            692 libavcodec/adpcm.c         sample += 4 * cs->sample1;
sample            694 libavcodec/adpcm.c     sample = av_clip_int16(sample >> 2);
sample            697 libavcodec/adpcm.c     cs->sample1 = sample;
sample            699 libavcodec/adpcm.c     return sample;
sample           1525 libavcodec/adpcm.c                     int sample = sign_extend(byte[channel] >> i, 4) * (1 << shift[channel]);
sample           1526 libavcodec/adpcm.c                     sample = (sample +
sample           1530 libavcodec/adpcm.c                     c->status[channel].sample1 = av_clip_int16(sample);
sample           1953 libavcodec/adpcm.c                     int sample = 0, scale;
sample           1964 libavcodec/adpcm.c                         sample = (int)((scale >> shift) + (c->status[channel].sample1 * xa_adpcm_table[filter][0] + c->status[channel].sample2 * xa_adpcm_table[filter][1]) / 64);
sample           1966 libavcodec/adpcm.c                     *samples++ = av_clip_int16(sample);
sample           1968 libavcodec/adpcm.c                     c->status[channel].sample1 = sample;
sample           2002 libavcodec/adpcm.c                 int sample = bytestream2_get_byteu(&gb);
sample           2003 libavcodec/adpcm.c                 *samples++ = adpcm_argo_expand_nibble(cs, sign_extend(sample >> 4, 4), control, shift);
sample           2004 libavcodec/adpcm.c                 *samples++ = adpcm_argo_expand_nibble(cs, sign_extend(sample >> 0, 4), control, shift);
sample            178 libavcodec/adpcmenc.c                                                 int16_t sample)
sample            180 libavcodec/adpcmenc.c     int delta  = sample - c->prev_sample;
sample            191 libavcodec/adpcmenc.c                                                    int16_t sample)
sample            193 libavcodec/adpcmenc.c     int delta  = sample - c->prev_sample;
sample            228 libavcodec/adpcmenc.c                                                int16_t sample)
sample            235 libavcodec/adpcmenc.c     nibble = sample - predictor;
sample            257 libavcodec/adpcmenc.c                                                    int16_t sample)
sample            266 libavcodec/adpcmenc.c     delta = sample - c->predictor;
sample            321 libavcodec/adpcmenc.c         int sample   = samples[i * stride];
sample            333 libavcodec/adpcmenc.c                 const int div  = (sample - predictor) / step;
sample            346 libavcodec/adpcmenc.c                     d = sample - dec_sample;\
sample            411 libavcodec/adpcmenc.c                 const int div = (sample - predictor) * 4 / STEP_TABLE;\
sample           1791 libavcodec/alsdec.c     unsigned int c, sample, ra_frame, bytes_read, shift;
sample           1834 libavcodec/alsdec.c             for (sample = 0; sample < ctx->cur_frame_length; sample++)               \
sample           1836 libavcodec/alsdec.c                     *dest++ = raw_samples[c*raw_step + sample] * (1U << shift);      \
sample           1838 libavcodec/alsdec.c             for (sample = 0; sample < ctx->cur_frame_length; sample++)               \
sample           1840 libavcodec/alsdec.c                     *dest++ = raw_samples[sconf->chan_pos[c]*raw_step + sample] * (1U << shift);\
sample           1857 libavcodec/alsdec.c             for (sample = 0;
sample           1858 libavcodec/alsdec.c                  sample < ctx->cur_frame_length * avctx->channels;
sample           1859 libavcodec/alsdec.c                  sample++) {
sample           1863 libavcodec/alsdec.c                     v = av_bswap32(src[sample]);
sample           1865 libavcodec/alsdec.c                     v = src[sample];
sample           1878 libavcodec/alsdec.c                     for (sample = 0;
sample           1879 libavcodec/alsdec.c                          sample < ctx->cur_frame_length * avctx->channels;
sample           1880 libavcodec/alsdec.c                          sample++)
sample           1881 libavcodec/alsdec.c                         *dest++ = av_bswap16(src[sample]);
sample            165 libavcodec/aptx.h static void aptx_qmf_filter_signal_push(FilterSignal *signal, int32_t sample)
sample            167 libavcodec/aptx.h     signal->buffer[signal->pos            ] = sample;
sample            168 libavcodec/aptx.h     signal->buffer[signal->pos+FILTER_TAPS] = sample;
sample            140 libavcodec/aptxdec.c     int pos, opos, channel, sample, ret;
sample            163 libavcodec/aptxdec.c             for (sample = 0; sample < 4; sample++)
sample            164 libavcodec/aptxdec.c                 AV_WN32A(&frame->data[channel][4*(opos+sample)],
sample            165 libavcodec/aptxdec.c                          samples[channel][sample] * 256);
sample            211 libavcodec/aptxenc.c     int pos, ipos, channel, sample, output_size, ret;
sample            224 libavcodec/aptxenc.c             for (sample = 0; sample < 4; sample++)
sample            225 libavcodec/aptxenc.c                 samples[channel][sample] = (int32_t)AV_RN32A(&frame->data[channel][4*(ipos+sample)]) >> 8;
sample            547 libavcodec/dcaenc.c     int sample;
sample            549 libavcodec/dcaenc.c     for (sample = 0; sample < len; sample++) {
sample            550 libavcodec/dcaenc.c         int32_t s = abs(in[sample]);
sample            673 libavcodec/dcaenc.c     int sample, band, ch;
sample            678 libavcodec/dcaenc.c                 for (sample = 0; sample < SUBBAND_SAMPLES; sample++) {
sample            679 libavcodec/dcaenc.c                     int32_t val = quantize_value(c->subband[ch][band][sample],
sample            681 libavcodec/dcaenc.c                     c->quantized[ch][band][sample] = val;
sample           1017 libavcodec/dnxhdenc.c                     const int sample = (unsigned) pix[j] >> 6;
sample           1018 libavcodec/dnxhdenc.c                     sum   += sample;
sample           1019 libavcodec/dnxhdenc.c                     sqsum += sample * sample;
sample             48 libavcodec/dpcm.c     int sample[2];                  ///< previous sample (for SOL_DPCM)
sample            140 libavcodec/dpcm.c     s->sample[0] = s->sample[1] = 0;
sample            157 libavcodec/dpcm.c             s->sample[0] = s->sample[1] = 0x80;
sample            161 libavcodec/dpcm.c             s->sample[0] = s->sample[1] = 0x80;
sample            345 libavcodec/dpcm.c                 s->sample[0] += s->sol_table[n >> 4];
sample            346 libavcodec/dpcm.c                 s->sample[0]  = av_clip_uint8(s->sample[0]);
sample            347 libavcodec/dpcm.c                 *output_samples_u8++ = s->sample[0];
sample            349 libavcodec/dpcm.c                 s->sample[stereo] += s->sol_table[n & 0x0F];
sample            350 libavcodec/dpcm.c                 s->sample[stereo]  = av_clip_uint8(s->sample[stereo]);
sample            351 libavcodec/dpcm.c                 *output_samples_u8++ = s->sample[stereo];
sample            356 libavcodec/dpcm.c                 if (n & 0x80) s->sample[ch] -= sol_table_16[n & 0x7F];
sample            357 libavcodec/dpcm.c                 else          s->sample[ch] += sol_table_16[n & 0x7F];
sample            358 libavcodec/dpcm.c                 s->sample[ch] = av_clip_int16(s->sample[ch]);
sample            359 libavcodec/dpcm.c                 *output_samples++ = s->sample[ch];
sample            371 libavcodec/dpcm.c                 s->sample[ch] = 0;
sample            372 libavcodec/dpcm.c             s->sample[ch] += s->array[n + 128];
sample            373 libavcodec/dpcm.c             s->sample[ch]  = av_clip_int16(s->sample[ch]);
sample            374 libavcodec/dpcm.c             *output_samples++ = s->sample[ch];
sample            385 libavcodec/dpcm.c             *output_samples++ = s->sample[idx] += (unsigned)s->array[n];
sample            398 libavcodec/dpcm.c             s->sample[idx] += (n & 0x80 ? -1: 1) * derf_steps[index];
sample            399 libavcodec/dpcm.c             s->sample[idx]  = av_clip_int16(s->sample[idx]);
sample            400 libavcodec/dpcm.c             *output_samples++ = s->sample[idx];
sample             70 libavcodec/dvaudiodec.c static inline uint16_t dv_audio_12to16(uint16_t sample)
sample             74 libavcodec/dvaudiodec.c     sample = (sample < 0x800) ? sample : sample | 0xf000;
sample             75 libavcodec/dvaudiodec.c     shift  = (sample & 0xf00) >> 8;
sample             78 libavcodec/dvaudiodec.c         result = sample;
sample             81 libavcodec/dvaudiodec.c         result = (sample - (256 * shift)) << shift;
sample             84 libavcodec/dvaudiodec.c         result = ((sample + ((256 * shift) + 1)) << shift) - 1;
sample            123 libavcodec/ffv1dec.c     int16_t *sample[2];
sample            124 libavcodec/ffv1dec.c     sample[0] = s->sample_buffer + 3;
sample            125 libavcodec/ffv1dec.c     sample[1] = s->sample_buffer + w + 6 + 3;
sample            132 libavcodec/ffv1dec.c         int16_t *temp = sample[0]; // FIXME: try a normal buffer
sample            134 libavcodec/ffv1dec.c         sample[0] = sample[1];
sample            135 libavcodec/ffv1dec.c         sample[1] = temp;
sample            137 libavcodec/ffv1dec.c         sample[1][-1] = sample[0][0];
sample            138 libavcodec/ffv1dec.c         sample[0][w]  = sample[0][w - 1];
sample            141 libavcodec/ffv1dec.c             int ret = decode_line(s, w, sample, plane_index, 8);
sample            145 libavcodec/ffv1dec.c                 src[x*pixel_stride + stride * y] = sample[1][x];
sample            147 libavcodec/ffv1dec.c             int ret = decode_line(s, w, sample, plane_index, s->avctx->bits_per_raw_sample);
sample            152 libavcodec/ffv1dec.c                     ((uint16_t*)(src + stride*y))[x*pixel_stride] = sample[1][x];
sample            156 libavcodec/ffv1dec.c                     ((uint16_t*)(src + stride*y))[x*pixel_stride] = sample[1][x] << (16 - s->avctx->bits_per_raw_sample) | ((uint16_t **)sample)[1][x] >> (2 * s->avctx->bits_per_raw_sample - 16);
sample             24 libavcodec/ffv1dec_template.c                                                  TYPE *sample[2],
sample             45 libavcodec/ffv1dec_template.c             sample[1][x] = v;
sample             58 libavcodec/ffv1dec_template.c         context = RENAME(get_context)(p, sample[1] + x, sample[0] + x, sample[1] + x);
sample             89 libavcodec/ffv1dec_template.c                 if (sample[1][x - 1] == sample[0][x - 1]) {
sample             91 libavcodec/ffv1dec_template.c                         sample[1][x] = sample[0][x];
sample             97 libavcodec/ffv1dec_template.c                     sample[1][x] = RENAME(predict)(sample[1] + x, sample[0] + x);
sample            122 libavcodec/ffv1dec_template.c         sample[1][x] = av_mod_uintp2(RENAME(predict)(sample[1] + x, sample[0] + x) + (SUINT)diff, bits);
sample            131 libavcodec/ffv1dec_template.c     TYPE *sample[4][2];
sample            138 libavcodec/ffv1dec_template.c         sample[x][0] = RENAME(s->sample_buffer) +  x * 2      * (w + 6) + 3;
sample            139 libavcodec/ffv1dec_template.c         sample[x][1] = RENAME(s->sample_buffer) + (x * 2 + 1) * (w + 6) + 3;
sample            149 libavcodec/ffv1dec_template.c             TYPE *temp = sample[p][0]; // FIXME: try a normal buffer
sample            151 libavcodec/ffv1dec_template.c             sample[p][0] = sample[p][1];
sample            152 libavcodec/ffv1dec_template.c             sample[p][1] = temp;
sample            154 libavcodec/ffv1dec_template.c             sample[p][1][-1]= sample[p][0][0  ];
sample            155 libavcodec/ffv1dec_template.c             sample[p][0][ w]= sample[p][0][w-1];
sample            157 libavcodec/ffv1dec_template.c                 ret = RENAME(decode_line)(s, w, sample[p], (p + 1)/2, 9);
sample            159 libavcodec/ffv1dec_template.c                 ret = RENAME(decode_line)(s, w, sample[p], (p + 1)/2, bits + (s->slice_coding_mode != 1));
sample            164 libavcodec/ffv1dec_template.c             int g = sample[0][1][x];
sample            165 libavcodec/ffv1dec_template.c             int b = sample[1][1][x];
sample            166 libavcodec/ffv1dec_template.c             int r = sample[2][1][x];
sample            167 libavcodec/ffv1dec_template.c             int a = sample[3][1][x];
sample            278 libavcodec/ffv1enc.c     int16_t *sample[3];
sample            285 libavcodec/ffv1enc.c             sample[i] = s->sample_buffer + (w + 6) * ((h + i - y) % ring_size) + 3;
sample            287 libavcodec/ffv1enc.c         sample[0][-1]= sample[1][0  ];
sample            288 libavcodec/ffv1enc.c         sample[1][ w]= sample[1][w-1];
sample            291 libavcodec/ffv1enc.c                 sample[0][x] = src[x * pixel_stride + stride * y];
sample            292 libavcodec/ffv1enc.c             if((ret = encode_line(s, w, sample, plane_index, 8)) < 0)
sample            297 libavcodec/ffv1enc.c                     sample[0][x] = ((uint16_t*)(src + stride*y))[x];
sample            301 libavcodec/ffv1enc.c                     sample[0][x] = ((uint16_t*)(src + stride*y))[x] >> (16 - s->bits_per_raw_sample);
sample            304 libavcodec/ffv1enc.c             if((ret = encode_line(s, w, sample, plane_index, s->bits_per_raw_sample)) < 0)
sample            984 libavcodec/ffv1enc.c     int16_t *sample[3];
sample            990 libavcodec/ffv1enc.c             sample[p] = fs->sample_buffer + p*w;
sample           1010 libavcodec/ffv1enc.c                 int bg = ag - sample[0][x];
sample           1011 libavcodec/ffv1enc.c                 int bb = ab - sample[1][x];
sample           1012 libavcodec/ffv1enc.c                 int br = ar - sample[2][x];
sample           1022 libavcodec/ffv1enc.c             sample[0][x] = ag;
sample           1023 libavcodec/ffv1enc.c             sample[1][x] = ab;
sample           1024 libavcodec/ffv1enc.c             sample[2][x] = ar;
sample             24 libavcodec/ffv1enc_template.c                                                 TYPE *sample[3],
sample             49 libavcodec/ffv1enc_template.c             int v = sample[0][x];
sample             61 libavcodec/ffv1enc_template.c         context = RENAME(get_context)(p, sample[0] + x, sample[1] + x, sample[2] + x);
sample             62 libavcodec/ffv1enc_template.c         diff    = sample[0][x] - RENAME(predict)(sample[0] + x, sample[1] + x);
sample            130 libavcodec/ffv1enc_template.c     TYPE *sample[4][3];
sample            146 libavcodec/ffv1enc_template.c                 sample[p][i]= RENAME(s->sample_buffer) + p*ring_size*(w+6) + ((h+i-y)%ring_size)*(w+6) + 3;
sample            183 libavcodec/ffv1enc_template.c             sample[0][0][x] = g;
sample            184 libavcodec/ffv1enc_template.c             sample[1][0][x] = b;
sample            185 libavcodec/ffv1enc_template.c             sample[2][0][x] = r;
sample            186 libavcodec/ffv1enc_template.c             sample[3][0][x] = a;
sample            190 libavcodec/ffv1enc_template.c             sample[p][0][-1] = sample[p][1][0  ];
sample            191 libavcodec/ffv1enc_template.c             sample[p][1][ w] = sample[p][1][w-1];
sample            193 libavcodec/ffv1enc_template.c                 ret = RENAME(encode_line)(s, w, sample[p], (p + 1) / 2, 9);
sample            195 libavcodec/ffv1enc_template.c                 ret = RENAME(encode_line)(s, w, sample[p], (p + 1) / 2, bits + (s->slice_coding_mode != 1));
sample             54 libavcodec/flacdsp_template.c     sample *samples = (sample *) OUT(out);
sample             65 libavcodec/flacdsp_template.c     sample *samples = (sample *) OUT(out);
sample             79 libavcodec/flacdsp_template.c     sample *samples = (sample *) OUT(out);
sample             93 libavcodec/flacdsp_template.c     sample *samples = (sample *) OUT(out);
sample             35 libavcodec/hcom.c     uint8_t sample;
sample             59 libavcodec/hcom.c     s->sample = s->first_sample = avctx->extradata[avctx->extradata_size - 1];
sample            116 libavcodec/hcom.c                 s->sample = 0;
sample            117 libavcodec/hcom.c             s->sample = (s->sample + datum) & 0xFF;
sample            119 libavcodec/hcom.c             frame->data[0][n++] = s->sample;
sample            544 libavcodec/interplayvideo.c     unsigned char sample[2];
sample            547 libavcodec/interplayvideo.c     sample[0] = bytestream2_get_byte(&s->stream_ptr);
sample            548 libavcodec/interplayvideo.c     sample[1] = bytestream2_get_byte(&s->stream_ptr);
sample            552 libavcodec/interplayvideo.c             *s->pixel_ptr++ = sample[  y & 1 ];
sample            553 libavcodec/interplayvideo.c             *s->pixel_ptr++ = sample[!(y & 1)];
sample            434 libavcodec/libopusenc.c     int sample, channel;
sample            435 libavcodec/libopusenc.c     for (sample = 0; sample < nb_samples; ++sample) {
sample            437 libavcodec/libopusenc.c             const size_t src_pos = bytes_per_sample * (nb_channels * sample + channel);
sample            438 libavcodec/libopusenc.c             const size_t dst_pos = bytes_per_sample * (nb_channels * sample + channel_map[channel]);
sample            112 libavcodec/mf_utils.c     IMFSample *sample;
sample            115 libavcodec/mf_utils.c     hr = MFCreateSample(&sample);
sample            131 libavcodec/mf_utils.c             IMFSample_Release(sample);
sample            140 libavcodec/mf_utils.c     IMFSample_AddBuffer(sample, buffer);
sample            143 libavcodec/mf_utils.c     return sample;
sample            115 libavcodec/mfenc.c static void mf_sample_set_pts(AVCodecContext *avctx, IMFSample *sample, int64_t av_pts)
sample            119 libavcodec/mfenc.c         IMFSample_SetSampleTime(sample, stime);
sample            127 libavcodec/mfenc.c static int64_t mf_sample_get_pts(AVCodecContext *avctx, IMFSample *sample)
sample            130 libavcodec/mfenc.c     HRESULT hr = IMFSample_GetSampleTime(sample, &pts);
sample            229 libavcodec/mfenc.c static int mf_sample_to_avpacket(AVCodecContext *avctx, IMFSample *sample, AVPacket *avpkt)
sample            240 libavcodec/mfenc.c     hr = IMFSample_GetTotalLength(sample, &len);
sample            247 libavcodec/mfenc.c     IMFSample_ConvertToContiguousBuffer(sample, &buffer);
sample            262 libavcodec/mfenc.c     avpkt->pts = avpkt->dts = mf_sample_get_pts(avctx, sample);
sample            264 libavcodec/mfenc.c     hr = IMFAttributes_GetUINT32(sample, &MFSampleExtension_CleanPoint, &t32);
sample            268 libavcodec/mfenc.c     hr = IMFAttributes_GetUINT64(sample, &MFSampleExtension_DecodeTimestamp, &t);
sample            289 libavcodec/mfenc.c     IMFSample *sample;
sample            294 libavcodec/mfenc.c     sample = ff_create_memory_sample(frame->data[0], len, c->in_info.cbAlignment);
sample            295 libavcodec/mfenc.c     if (sample)
sample            296 libavcodec/mfenc.c         IMFSample_SetSampleDuration(sample, mf_to_mf_time(avctx, frame->nb_samples));
sample            297 libavcodec/mfenc.c     return sample;
sample            303 libavcodec/mfenc.c     IMFSample *sample;
sample            314 libavcodec/mfenc.c     sample = ff_create_memory_sample(NULL, size, c->in_info.cbAlignment);
sample            315 libavcodec/mfenc.c     if (!sample)
sample            318 libavcodec/mfenc.c     hr = IMFSample_GetBufferByIndex(sample, 0, &buffer);
sample            320 libavcodec/mfenc.c         IMFSample_Release(sample);
sample            327 libavcodec/mfenc.c         IMFSample_Release(sample);
sample            337 libavcodec/mfenc.c         IMFSample_Release(sample);
sample            341 libavcodec/mfenc.c     IMFSample_SetSampleDuration(sample, mf_to_mf_time(avctx, frame->pkt_duration));
sample            343 libavcodec/mfenc.c     return sample;
sample            349 libavcodec/mfenc.c     IMFSample *sample;
sample            352 libavcodec/mfenc.c         sample = mf_a_avframe_to_sample(avctx, frame);
sample            354 libavcodec/mfenc.c         sample = mf_v_avframe_to_sample(avctx, frame);
sample            357 libavcodec/mfenc.c     if (sample)
sample            358 libavcodec/mfenc.c         mf_sample_set_pts(avctx, sample, frame->pts);
sample            360 libavcodec/mfenc.c     return sample;
sample            363 libavcodec/mfenc.c static int mf_send_sample(AVCodecContext *avctx, IMFSample *sample)
sample            369 libavcodec/mfenc.c     if (sample) {
sample            377 libavcodec/mfenc.c             IMFSample_SetUINT32(sample, &MFSampleExtension_Discontinuity, TRUE);
sample            379 libavcodec/mfenc.c         hr = IMFTransform_ProcessInput(c->mft, c->in_stream_id, sample, 0);
sample            405 libavcodec/mfenc.c     IMFSample *sample = NULL;
sample            407 libavcodec/mfenc.c         sample = mf_avframe_to_sample(avctx, frame);
sample            408 libavcodec/mfenc.c         if (!sample)
sample            415 libavcodec/mfenc.c     ret = mf_send_sample(avctx, sample);
sample            416 libavcodec/mfenc.c     if (sample)
sample            417 libavcodec/mfenc.c         IMFSample_Release(sample);
sample            427 libavcodec/mfenc.c     IMFSample *sample;
sample            432 libavcodec/mfenc.c         sample = NULL;
sample            444 libavcodec/mfenc.c             sample = ff_create_memory_sample(NULL, c->out_info.cbSize, c->out_info.cbAlignment);
sample            445 libavcodec/mfenc.c             if (!sample)
sample            451 libavcodec/mfenc.c             .pSample = sample,
sample            503 libavcodec/mfenc.c     IMFSample *sample;
sample            506 libavcodec/mfenc.c     ret = mf_receive_sample(avctx, &sample);
sample            510 libavcodec/mfenc.c     ret = mf_sample_to_avpacket(avctx, sample, avpkt);
sample            511 libavcodec/mfenc.c     IMFSample_Release(sample);
sample            116 libavcodec/mlpdsp.c             int32_t sample = sample_buffer[i][mat_ch] *
sample            118 libavcodec/mlpdsp.c             lossless_check_data ^= (sample & 0xffffff) << mat_ch;
sample            120 libavcodec/mlpdsp.c                 *data_32++ = sample * 256U;
sample            122 libavcodec/mlpdsp.c                 *data_16++ = sample >> 8;
sample           1035 libavcodec/mlpenc.c             int32_t sample = *sample_buffer++ >> dp->quant_step_size[ch];
sample           1036 libavcodec/mlpenc.c             sample -= sign_huff_offset[ch];
sample           1039 libavcodec/mlpenc.c                 int vlc = sample >> lsb_bits[ch];
sample           1044 libavcodec/mlpenc.c             put_sbits(pb, lsb_bits[ch], sample);
sample           1253 libavcodec/mlpenc.c                 int32_t sample;
sample           1255 libavcodec/mlpenc.c                 sample = is24 ? *samples_32++ >> 8 : *samples_16++ * 256;
sample           1258 libavcodec/mlpenc.c                 abs_sample = FFABS(sample);
sample           1262 libavcodec/mlpenc.c                 temp_lossless_check_data ^= (sample & 0x00ffffff) << channel;
sample           1263 libavcodec/mlpenc.c                 *sample_buffer++ = sample;
sample           1308 libavcodec/mlpenc.c static int number_trailing_zeroes(int32_t sample)
sample           1312 libavcodec/mlpenc.c     for (bits = 0; bits < 24 && !(sample & (1<<bits)); bits++);
sample           1663 libavcodec/mlpenc.c         int32_t sample = *sample_buffer >> dp->quant_step_size[channel];
sample           1666 libavcodec/mlpenc.c         sample -= unsign_offset;
sample           1668 libavcodec/mlpenc.c         temp_min = sample & mask;
sample           1676 libavcodec/mlpenc.c         sample >>= lsb_bits;
sample           1678 libavcodec/mlpenc.c         bitcount += ff_mlp_huffman_tables[codebook][sample + codebook_offset][1];
sample           1750 libavcodec/mlpenc.c             int32_t sample = *sample_buffer >> dp->quant_step_size[channel];
sample           1751 libavcodec/mlpenc.c             if (sample < min)
sample           1752 libavcodec/mlpenc.c                 min = sample;
sample           1753 libavcodec/mlpenc.c             if (sample > max)
sample           1754 libavcodec/mlpenc.c                 max = sample;
sample           1755 libavcodec/mlpenc.c             average += sample;
sample           1835 libavcodec/mlpenc.c         int32_t sample = *sample_buffer;
sample           1848 libavcodec/mlpenc.c         residual = sample - (accum & mask);
sample           1855 libavcodec/mlpenc.c         filter_state_buffer[FIR][i] = sample;
sample           1934 libavcodec/mlpenc.c                 int32_t sample = *(sample_buffer + src_ch);
sample           1935 libavcodec/mlpenc.c                 accum += (int64_t) sample * mp->forco[mat][src_ch];
sample            682 libavcodec/mpegaudioenc_template.c                         int qindex, steps, m, sample, bits;
sample            687 libavcodec/mpegaudioenc_template.c                             sample = s->sb_samples[ch][k][l + m][i];
sample            692 libavcodec/mpegaudioenc_template.c                                 a = (float)sample * s->scale_factor_inv_table[s->scale_factors[ch][i][k]];
sample            704 libavcodec/mpegaudioenc_template.c                                     q1 = sample * (1 << -shift);
sample            706 libavcodec/mpegaudioenc_template.c                                     q1 = sample >> shift;
sample            166 libavcodec/opusenc.c             float sample = b->overlap[i];
sample            167 libavcodec/opusenc.c             b->overlap[i] = sample - m;
sample            168 libavcodec/opusenc.c             m = sample * CELT_EMPH_COEFF;
sample            179 libavcodec/opusenc.c                 float sample = b->samples[sf*subframesize + i];
sample            180 libavcodec/opusenc.c                 b->samples[sf*subframesize + i] = sample - m;
sample            181 libavcodec/opusenc.c                 m = sample * CELT_EMPH_COEFF;
sample            161 libavcodec/rawdec.c             int sample = get_bits(&gb, avctx->bits_per_coded_sample); \
sample            162 libavcodec/rawdec.c             w16(dst + i*2, SCALE16(sample, avctx->bits_per_coded_sample)); \
sample            810 libavcodec/sonic.c                 double sample = s->coded_samples[ch][i];
sample            811 libavcodec/sonic.c                 energy2 += sample*sample;
sample            812 libavcodec/sonic.c                 energy1 += fabs(sample);
sample             67 libavcodec/ttaenc.c static int32_t get_sample(const AVFrame *frame, int sample,
sample             73 libavcodec/ttaenc.c         ret = frame->data[0][sample] - 0x80;
sample             76 libavcodec/ttaenc.c         ret = ptr[sample];
sample             79 libavcodec/ttaenc.c         ret = ptr[sample] >> 8;
sample            166 libavcodec/vima.c         int sample;
sample            168 libavcodec/vima.c         for (sample = 0; sample < samples; sample++) {
sample             38 libavcodec/wavpackenc.c #define APPLY_WEIGHT_F(weight, sample) ((((((sample) & 0xffff) * (weight)) >> 9) + \
sample             39 libavcodec/wavpackenc.c     ((((sample) & ~0xffff) >> 9) * (weight)) + 1) >> 1)
sample             41 libavcodec/wavpackenc.c #define APPLY_WEIGHT_I(weight, sample) (((weight) * (sample) + 512) >> 10)
sample             43 libavcodec/wavpackenc.c #define APPLY_WEIGHT(weight, sample) ((sample) != (short) (sample) ? \
sample             44 libavcodec/wavpackenc.c     APPLY_WEIGHT_F(weight, sample) : APPLY_WEIGHT_I (weight, sample))
sample            223 libavcodec/wavpackenc.c static void process_float(WavPackEncodeContext *s, int32_t *sample)
sample            225 libavcodec/wavpackenc.c     int32_t shift_count, value, f = *sample;
sample            261 libavcodec/wavpackenc.c     *sample = get_sign(f) ? -value : value;
sample           2039 libavcodec/wavpackenc.c static void wavpack_encode_sample(WavPackEncodeContext *s, WvChannel *c, int32_t sample)
sample           2043 libavcodec/wavpackenc.c     int sign = sample < 0;
sample           2047 libavcodec/wavpackenc.c             if (sample)
sample           2053 libavcodec/wavpackenc.c         } else if (sample) {
sample           2064 libavcodec/wavpackenc.c         sample = ~sample;
sample           2066 libavcodec/wavpackenc.c     if (sample < (int32_t) GET_MED(0)) {
sample           2074 libavcodec/wavpackenc.c         if (sample - low < GET_MED(1)) {
sample           2082 libavcodec/wavpackenc.c             if (sample - low < GET_MED(2)) {
sample           2087 libavcodec/wavpackenc.c                 ones_count = 2 + (sample - low) / GET_MED(2);
sample           2112 libavcodec/wavpackenc.c         uint32_t maxcode = high - low, code = sample - low;
sample           2157 libavcodec/wavpackenc.c static void pack_float_sample(WavPackEncodeContext *s, int32_t *sample)
sample           2163 libavcodec/wavpackenc.c     if (get_exponent(*sample) == 255) {
sample           2164 libavcodec/wavpackenc.c         if (get_mantissa(*sample)) {
sample           2166 libavcodec/wavpackenc.c             put_bits(pb, 23, get_mantissa(*sample));
sample           2173 libavcodec/wavpackenc.c     } else if (get_exponent(*sample)) {
sample           2174 libavcodec/wavpackenc.c         shift_count = max_exp - get_exponent(*sample);
sample           2175 libavcodec/wavpackenc.c         value = 0x800000 + get_mantissa(*sample);
sample           2178 libavcodec/wavpackenc.c         value = get_mantissa(*sample);
sample           2188 libavcodec/wavpackenc.c             if (get_exponent(*sample) || get_mantissa(*sample)) {
sample           2190 libavcodec/wavpackenc.c                 put_bits(pb, 23, get_mantissa(*sample));
sample           2193 libavcodec/wavpackenc.c                     put_bits(pb, 8, get_exponent(*sample));
sample           2195 libavcodec/wavpackenc.c                 put_bits(pb, 1, get_sign(*sample));
sample           2200 libavcodec/wavpackenc.c                     put_bits(pb, 1, get_sign(*sample));
sample           2205 libavcodec/wavpackenc.c             put_sbits(pb, shift_count, get_mantissa(*sample));
sample           2207 libavcodec/wavpackenc.c             put_bits(pb, 1, get_mantissa(*sample) & 1);
sample             61 libavcodec/ws-snd1.c     int sample = 128;
sample            121 libavcodec/ws-snd1.c                 sample += ( code       & 0x3) - 2;
sample            122 libavcodec/ws-snd1.c                 sample = av_clip_uint8(sample);
sample            123 libavcodec/ws-snd1.c                 *samples++ = sample;
sample            124 libavcodec/ws-snd1.c                 sample += ((code >> 2) & 0x3) - 2;
sample            125 libavcodec/ws-snd1.c                 sample = av_clip_uint8(sample);
sample            126 libavcodec/ws-snd1.c                 *samples++ = sample;
sample            127 libavcodec/ws-snd1.c                 sample += ((code >> 4) & 0x3) - 2;
sample            128 libavcodec/ws-snd1.c                 sample = av_clip_uint8(sample);
sample            129 libavcodec/ws-snd1.c                 *samples++ = sample;
sample            130 libavcodec/ws-snd1.c                 sample +=  (code >> 6)        - 2;
sample            131 libavcodec/ws-snd1.c                 sample = av_clip_uint8(sample);
sample            132 libavcodec/ws-snd1.c                 *samples++ = sample;
sample            138 libavcodec/ws-snd1.c                 sample += ws_adpcm_4bit[code & 0xF];
sample            139 libavcodec/ws-snd1.c                 sample = av_clip_uint8(sample);
sample            140 libavcodec/ws-snd1.c                 *samples++ = sample;
sample            141 libavcodec/ws-snd1.c                 sample += ws_adpcm_4bit[code >> 4];
sample            142 libavcodec/ws-snd1.c                 sample = av_clip_uint8(sample);
sample            143 libavcodec/ws-snd1.c                 *samples++ = sample;
sample            151 libavcodec/ws-snd1.c                 sample += t >> 3;
sample            152 libavcodec/ws-snd1.c                 sample = av_clip_uint8(sample);
sample            153 libavcodec/ws-snd1.c                 *samples++ = sample;
sample            158 libavcodec/ws-snd1.c                 sample = buf[-1];
sample            162 libavcodec/ws-snd1.c             memset(samples, sample, smp);
sample            313 libavdevice/dshow_pin.c libAVMemInputPin_Receive(libAVMemInputPin *this, IMediaSample *sample)
sample            333 libavdevice/dshow_pin.c     if (!sample)
sample            336 libavdevice/dshow_pin.c     IMediaSample_GetTime(sample, &orig_curtime, &dummy);
sample            343 libavdevice/dshow_pin.c         IMediaSample_GetTime(sample, &curtime, &dummy);
sample            355 libavdevice/dshow_pin.c     buf_size = IMediaSample_GetActualDataLength(sample);
sample            356 libavdevice/dshow_pin.c     IMediaSample_GetPointer(sample, &buf);
sample            274 libavfilter/af_acrossover.c             double sample = src[i], lo, hi;
sample            279 libavfilter/af_acrossover.c                 lo = sample;
sample            280 libavfilter/af_acrossover.c                 hi = sample;
sample            293 libavfilter/af_acrossover.c                 sample = hi;
sample            248 libavfilter/af_acrusher.c             double sample = src[c] * level_in;
sample            250 libavfilter/af_acrusher.c             sample = mix * samplereduction(s, &s->sr[c], sample) + src[c] * (1. - mix) * level_in;
sample            251 libavfilter/af_acrusher.c             dst[c] = bitreduction(s, sample) * level_out;
sample            145 libavfilter/af_aiir.c         double sample = 0.;                                             \
sample            152 libavfilter/af_aiir.c             sample += b[x] * ic[x];                                     \
sample            155 libavfilter/af_aiir.c             sample -= a[x] * oc[x];                                     \
sample            157 libavfilter/af_aiir.c         oc[0] = sample;                                                 \
sample            158 libavfilter/af_aiir.c         sample *= og * g;                                               \
sample            159 libavfilter/af_aiir.c         sample = sample * mix + ic[0] * (1. - mix);                     \
sample            160 libavfilter/af_aiir.c         if (need_clipping && sample < min) {                            \
sample            163 libavfilter/af_aiir.c         } else if (need_clipping && sample > max) {                     \
sample            167 libavfilter/af_aiir.c             dst[n] = sample;                                            \
sample            208 libavfilter/af_aiir.c             double sample = ig * (i ? dst[n] : src[n]);                 \
sample            209 libavfilter/af_aiir.c             double o0 = sample * b0 + i1 * b1 + i2 * b2 + o1 * a1 + o2 * a2; \
sample            217 libavfilter/af_aiir.c             o0 = o0 * mix + (1. - mix) * sample;                        \
sample            151 libavfilter/af_alimiter.c             double sample = src[c] * level_in;
sample            153 libavfilter/af_alimiter.c             buffer[s->pos + c] = sample;
sample            154 libavfilter/af_alimiter.c             peak = FFMAX(peak, fabs(sample));
sample            203 libavfilter/af_alimiter.c             double sample = buf[c];
sample            205 libavfilter/af_alimiter.c             peak = FFMAX(peak, fabs(sample));
sample            728 libavfilter/af_anequalizer.c             double sample = bptr[n];
sample            730 libavfilter/af_anequalizer.c             sample  = process_sample(f->section, sample);
sample            731 libavfilter/af_anequalizer.c             bptr[n] = sample;
sample            110 libavfilter/af_anlms.c static float fir_sample(AudioNLMSContext *s, float sample, float *delay,
sample            116 libavfilter/af_anlms.c     delay[*offset] = sample;
sample            580 libavfilter/af_astats.c #define UPDATE_STATS(planar, type, sample, normalizer_suffix, int_sample) \
sample            582 libavfilter/af_astats.c         UPDATE_STATS_##planar(type, update_stat(s, p, sample, sample normalizer_suffix, int_sample), s->is_float ? update_float_stat(s, p, sample) : s->is_double ? update_double_stat(s, p, sample) : (void)NULL, ); \
sample            584 libavfilter/af_astats.c         UPDATE_STATS_##planar(type, update_minmax(s, p, sample), , p->nmin = p->min normalizer_suffix; p->nmax = p->max normalizer_suffix;); \
sample             35 libavfilter/af_bs2b.c typedef void (*filter_func)(t_bs2bdp bs2bdp, uint8_t *sample, int n);
sample            150 libavfilter/af_compensationdelay.c             const double sample = src[n];
sample            152 libavfilter/af_compensationdelay.c             buffer[w_ptr] = sample;
sample            153 libavfilter/af_compensationdelay.c             dst[n] = dry * sample + wet * buffer[r_ptr];
sample            150 libavfilter/af_deesser.c             double sample = src[i];
sample            154 libavfilter/af_deesser.c             dec->s1 = sample;
sample            164 libavfilter/af_deesser.c             offset = 1.0 - fabs(sample);
sample            168 libavfilter/af_deesser.c                                   (sample * (offset * iirAmount));
sample            176 libavfilter/af_deesser.c                 sample = dec->iirSampleA + ((sample - dec->iirSampleA) / dec->ratioA);
sample            179 libavfilter/af_deesser.c                                   (sample * (offset * iirAmount));
sample            187 libavfilter/af_deesser.c                 sample = dec->iirSampleB + ((sample - dec->iirSampleB) / dec->ratioB);
sample            193 libavfilter/af_deesser.c                 sample = src[i];
sample            197 libavfilter/af_deesser.c             case OUT_MODE: dst[i] = sample; break;
sample            198 libavfilter/af_deesser.c             case ESS_MODE: dst[i] = src[i] - sample; break;
sample            117 libavfilter/af_drmeter.c static void update_stat(DRMeterContext *s, ChannelStats *p, float sample)
sample            123 libavfilter/af_drmeter.c     p->peak = FFMAX(FFABS(sample), p->peak);
sample            124 libavfilter/af_drmeter.c     p->sum += sample * sample;
sample             99 libavfilter/af_earwax.c     int32_t sample;
sample            103 libavfilter/af_earwax.c         sample = 0;
sample            105 libavfilter/af_earwax.c             sample += in[j] * filt[j];
sample            106 libavfilter/af_earwax.c         *out = av_clip_int16(sample >> 6);
sample           1196 libavfilter/af_hdcd.c static int32_t hdcd_analyze_gen(int32_t sample, unsigned int v, unsigned int maxv)
sample           1199 libavfilter/af_hdcd.c     int64_t s64 = sample;
sample           1216 libavfilter/af_hdcd.c             int32_t sample = samples[i * stride];
sample           1217 libavfilter/af_hdcd.c             samples[i * stride] = hdcd_analyze_gen(sample, !!(pel && extend), 1);
sample           1281 libavfilter/af_hdcd.c             int32_t sample = samples[i * stride];
sample           1282 libavfilter/af_hdcd.c             int32_t asample = abs(sample) - pe_level;
sample           1285 libavfilter/af_hdcd.c                 sample = sample >= 0 ? peaktab[asample] : -peaktab[asample];
sample           1287 libavfilter/af_hdcd.c                 sample <<= shft;
sample           1289 libavfilter/af_hdcd.c             samples[i * stride] = sample;
sample             99 libavfilter/af_silenceremove.c     void (*update)(struct SilenceRemoveContext *s, double sample);
sample            100 libavfilter/af_silenceremove.c     double(*compute)(struct SilenceRemoveContext *s, double sample);
sample            128 libavfilter/af_silenceremove.c static double compute_peak(SilenceRemoveContext *s, double sample)
sample            134 libavfilter/af_silenceremove.c     new_sum += fabs(sample);
sample            139 libavfilter/af_silenceremove.c static void update_peak(SilenceRemoveContext *s, double sample)
sample            142 libavfilter/af_silenceremove.c     *s->window_current = fabs(sample);
sample            150 libavfilter/af_silenceremove.c static double compute_rms(SilenceRemoveContext *s, double sample)
sample            156 libavfilter/af_silenceremove.c     new_sum += sample * sample;
sample            161 libavfilter/af_silenceremove.c static void update_rms(SilenceRemoveContext *s, double sample)
sample            164 libavfilter/af_silenceremove.c     *s->window_current = sample * sample;
sample            140 libavfilter/avf_abitscope.c static void count_bits(AudioBitScopeContext *s, uint32_t sample, int max)
sample            145 libavfilter/avf_abitscope.c         if (sample & (1U << i))
sample            272 libavfilter/avf_avectorscope.c                 float sample = samples[i] / (float)INT16_MAX;
sample            273 libavfilter/avf_avectorscope.c                 max = FFMAX(FFABS(sample), max);
sample             82 libavfilter/avf_showwaves.c     int (*get_h)(int16_t sample, int height);
sample            176 libavfilter/avf_showwaves.c static int get_lin_h(int16_t sample, int height)
sample            178 libavfilter/avf_showwaves.c     return height/2 - av_rescale(sample, height/2, INT16_MAX);
sample            181 libavfilter/avf_showwaves.c static int get_lin_h2(int16_t sample, int height)
sample            183 libavfilter/avf_showwaves.c     return av_rescale(FFABS(sample), height, INT16_MAX);
sample            186 libavfilter/avf_showwaves.c static int get_log_h(int16_t sample, int height)
sample            188 libavfilter/avf_showwaves.c     return height/2 - FFSIGN(sample) * (log10(1 + FFABS(sample)) * (height/2) / log10(1 + INT16_MAX));
sample            191 libavfilter/avf_showwaves.c static int get_log_h2(int16_t sample, int height)
sample            193 libavfilter/avf_showwaves.c     return log10(1 + FFABS(sample)) * height / log10(1 + INT16_MAX);
sample            196 libavfilter/avf_showwaves.c static int get_sqrt_h(int16_t sample, int height)
sample            198 libavfilter/avf_showwaves.c     return height/2 - FFSIGN(sample) * (sqrt(FFABS(sample)) * (height/2) / sqrt(INT16_MAX));
sample            201 libavfilter/avf_showwaves.c static int get_sqrt_h2(int16_t sample, int height)
sample            203 libavfilter/avf_showwaves.c     return sqrt(FFABS(sample)) * height / sqrt(INT16_MAX);
sample            206 libavfilter/avf_showwaves.c static int get_cbrt_h(int16_t sample, int height)
sample            208 libavfilter/avf_showwaves.c     return height/2 - FFSIGN(sample) * (cbrt(FFABS(sample)) * (height/2) / cbrt(INT16_MAX));
sample            211 libavfilter/avf_showwaves.c static int get_cbrt_h2(int16_t sample, int height)
sample            213 libavfilter/avf_showwaves.c     return cbrt(FFABS(sample)) * height / cbrt(INT16_MAX);
sample            598 libavfilter/avf_showwaves.c                     int16_t sample = sum[ch] / max_samples;
sample            605 libavfilter/avf_showwaves.c                     h = showwaves->get_h(sample, ch_height);
sample            862 libavfilter/f_ebur128.c                 SET_META_PEAK(sample, SAMPLES);
sample             55 libavformat/dv.c static inline uint16_t dv_audio_12to16(uint16_t sample)
sample             59 libavformat/dv.c     sample = (sample < 0x800) ? sample : sample | 0xf000;
sample             60 libavformat/dv.c     shift  = (sample & 0xf00) >> 8;
sample             63 libavformat/dv.c         result = sample;
sample             66 libavformat/dv.c         result = (sample - (256 * shift)) << shift;
sample             69 libavformat/dv.c         result = ((sample + ((256 * shift) + 1)) << shift) - 1;
sample            157 libavformat/libmodplug.c     ADD_META_MULTIPLE_ENTRIES(sample,     ModPlug_SampleName);
sample           5982 libavformat/mov.c static int mov_read_sample_encryption_info(MOVContext *c, AVIOContext *pb, MOVStreamContext *sc, AVEncryptionInfo **sample, int use_subsamples)
sample           5993 libavformat/mov.c     *sample = av_encryption_info_clone(sc->cenc.default_encrypted_sample);
sample           5994 libavformat/mov.c     if (!*sample)
sample           5998 libavformat/mov.c         if (avio_read(pb, (*sample)->iv, sc->cenc.per_sample_iv_size) != sc->cenc.per_sample_iv_size) {
sample           6000 libavformat/mov.c             av_encryption_info_free(*sample);
sample           6001 libavformat/mov.c             *sample = NULL;
sample           6008 libavformat/mov.c         av_free((*sample)->subsamples);
sample           6009 libavformat/mov.c         (*sample)->subsamples = av_mallocz_array(subsample_count, sizeof(*subsamples));
sample           6010 libavformat/mov.c         if (!(*sample)->subsamples) {
sample           6011 libavformat/mov.c             av_encryption_info_free(*sample);
sample           6012 libavformat/mov.c             *sample = NULL;
sample           6017 libavformat/mov.c             (*sample)->subsamples[i].bytes_of_clear_data = avio_rb16(pb);
sample           6018 libavformat/mov.c             (*sample)->subsamples[i].bytes_of_protected_data = avio_rb32(pb);
sample           6023 libavformat/mov.c             av_encryption_info_free(*sample);
sample           6024 libavformat/mov.c             *sample = NULL;
sample           6027 libavformat/mov.c         (*sample)->subsample_count = subsample_count;
sample           6089 libavformat/mov.c     AVEncryptionInfo **sample, **encrypted_samples;
sample           6122 libavformat/mov.c         sample = &encryption_index->encrypted_samples[i];
sample           6127 libavformat/mov.c         ret = mov_read_sample_encryption_info(c, pb, sc, sample, sample_info_size > sc->cenc.per_sample_iv_size);
sample           6597 libavformat/mov.c static int cenc_decrypt(MOVContext *c, MOVStreamContext *sc, AVEncryptionInfo *sample, uint8_t *input, int size)
sample           6601 libavformat/mov.c     if (sample->scheme != MKBETAG('c','e','n','c') || sample->crypt_byte_block != 0 || sample->skip_byte_block != 0) {
sample           6619 libavformat/mov.c     av_aes_ctr_set_full_iv(sc->cenc.aes_ctr, sample->iv);
sample           6621 libavformat/mov.c     if (!sample->subsample_count)
sample           6628 libavformat/mov.c     for (i = 0; i < sample->subsample_count; i++)
sample           6630 libavformat/mov.c         if (sample->subsamples[i].bytes_of_clear_data + sample->subsamples[i].bytes_of_protected_data > size) {
sample           6636 libavformat/mov.c         input += sample->subsamples[i].bytes_of_clear_data;
sample           6637 libavformat/mov.c         size -= sample->subsamples[i].bytes_of_clear_data;
sample           6640 libavformat/mov.c         av_aes_ctr_crypt(sc->cenc.aes_ctr, input, input, sample->subsamples[i].bytes_of_protected_data);
sample           6641 libavformat/mov.c         input += sample->subsamples[i].bytes_of_protected_data;
sample           6642 libavformat/mov.c         size -= sample->subsamples[i].bytes_of_protected_data;
sample           7190 libavformat/mov.c                 AVIndexEntry *sample = &st->index_entries[0];
sample           7191 libavformat/mov.c                 if (avio_seek(sc->pb, sample->pos, SEEK_SET) != sample->pos) {
sample           7196 libavformat/mov.c                 if (av_get_packet(sc->pb, &pkt, sample->size) < 0)
sample           7208 libavformat/mov.c                 AVIndexEntry *sample = &st->index_entries[i];
sample           7214 libavformat/mov.c                 if (end < sample->timestamp) {
sample           7219 libavformat/mov.c                 if (avio_seek(sc->pb, sample->pos, SEEK_SET) != sample->pos) {
sample           7226 libavformat/mov.c                 if (len > sample->size-2)
sample           7252 libavformat/mov.c                 avpriv_new_chapter(s, i, st->time_base, sample->timestamp, end, title);
sample           7769 libavformat/mov.c     AVIndexEntry *sample = NULL;
sample           7779 libavformat/mov.c             if (!sample || (!(s->pb->seekable & AVIO_SEEKABLE_NORMAL) && current_sample->pos < sample->pos) ||
sample           7782 libavformat/mov.c                  ((FFABS(best_dts - dts) <= AV_TIME_BASE && current_sample->pos < sample->pos) ||
sample           7784 libavformat/mov.c                 sample = current_sample;
sample           7790 libavformat/mov.c     return sample;
sample           7863 libavformat/mov.c     AVIndexEntry *sample;
sample           7869 libavformat/mov.c     sample = mov_find_next_sample(s, &st);
sample           7870 libavformat/mov.c     if (!sample || (mov->next_root_atom && sample->pos > mov->next_root_atom)) {
sample           7883 libavformat/mov.c         sample->pos = FFMIN(sample->pos, mov->next_root_atom);
sample           7884 libavformat/mov.c         sample->size = FFMIN(sample->size, (mov->next_root_atom - sample->pos));
sample           7888 libavformat/mov.c         int64_t ret64 = avio_seek(sc->pb, sample->pos, SEEK_SET);
sample           7889 libavformat/mov.c         if (ret64 != sample->pos) {
sample           7891 libavformat/mov.c                    sc->ffindex, sample->pos);
sample           7898 libavformat/mov.c         if( st->discard == AVDISCARD_NONKEY && 0==(sample->flags & AVINDEX_KEYFRAME) ) {
sample           7903 libavformat/mov.c         ret = av_get_packet(sc->pb, pkt, sample->size);
sample           7941 libavformat/mov.c     pkt->dts = sample->timestamp;
sample           7942 libavformat/mov.c     if (sample->flags & AVINDEX_DISCARD_FRAME) {
sample           7969 libavformat/mov.c     pkt->flags |= sample->flags & AVINDEX_KEYFRAME ? AV_PKT_FLAG_KEY : 0;
sample           7970 libavformat/mov.c     pkt->pos = sample->pos;
sample           8024 libavformat/mov.c     int sample, time_sample, ret;
sample           8035 libavformat/mov.c     sample = av_index_search_timestamp(st, timestamp, flags);
sample           8036 libavformat/mov.c     av_log(s, AV_LOG_TRACE, "stream %d, timestamp %"PRId64", sample %d\n", st->index, timestamp, sample);
sample           8037 libavformat/mov.c     if (sample < 0 && st->nb_index_entries && timestamp < st->index_entries[0].timestamp)
sample           8038 libavformat/mov.c         sample = 0;
sample           8039 libavformat/mov.c     if (sample < 0) /* not sure what to do */
sample           8041 libavformat/mov.c     mov_current_sample_set(sc, sample);
sample           8072 libavformat/mov.c     return sample;
sample           8079 libavformat/mov.c     int sample;
sample           8086 libavformat/mov.c     sample = mov_seek_stream(s, st, sample_time, flags);
sample           8087 libavformat/mov.c     if (sample < 0)
sample           8088 libavformat/mov.c         return sample;
sample           8092 libavformat/mov.c         int64_t seek_timestamp = st->index_entries[sample].timestamp;
sample           8119 libavformat/mov.c             if (sc->ffindex == stream_index && sc->current_sample == sample)
sample            269 libavformat/movenc.h                              int track_index, int sample,
sample            100 libavformat/movenchint.c                               int sample)
sample            116 libavformat/movenchint.c     queue->samples[queue->len].sample_number = sample;
sample            129 libavformat/movenchint.c         HintSample *sample = &queue->samples[i];
sample            130 libavformat/movenchint.c         if (!sample->own_data) {
sample            131 libavformat/movenchint.c             uint8_t *ptr = av_malloc(sample->size);
sample            139 libavformat/movenchint.c             memcpy(ptr, sample->data, sample->size);
sample            140 libavformat/movenchint.c             sample->data = ptr;
sample            141 libavformat/movenchint.c             sample->own_data = 1;
sample            221 libavformat/movenchint.c         HintSample *sample = &queue->samples[0];
sample            224 libavformat/movenchint.c         if (sample->offset == 0 && sample->size > 5)
sample            225 libavformat/movenchint.c             sample->offset = 5;
sample            227 libavformat/movenchint.c         if (match_segments(data, len, sample->data, sample->offset,
sample            228 libavformat/movenchint.c                            sample->size, pos, match_offset, match_len) == 0) {
sample            229 libavformat/movenchint.c             *match_sample = sample->sample_number;
sample            232 libavformat/movenchint.c             sample->offset = *match_offset + *match_len + 5;
sample            233 libavformat/movenchint.c             if (sample->offset + 10 >= sample->size)
sample            238 libavformat/movenchint.c         if (sample->offset < 10 && sample->size > 20) {
sample            241 libavformat/movenchint.c             sample->offset = sample->size/2;
sample            402 libavformat/movenchint.c                              int track_index, int sample,
sample            420 libavformat/movenchint.c         sample_queue_push(&trk->sample_queue, sample_data, sample_size, sample);
sample            422 libavformat/movenchint.c         sample_queue_push(&trk->sample_queue, pkt->data, pkt->size, sample);
sample            548 libavformat/mxfdec.c             uint32_t sample = bytestream_get_le32(&buf_ptr);
sample            550 libavformat/mxfdec.c                 bytestream_put_le24(&data_ptr, (sample >> 4) & 0xffffff);
sample            552 libavformat/mxfdec.c                 bytestream_put_le16(&data_ptr, (sample >> 12) & 0xffff);
sample           2724 libavformat/mxfenc.c             uint32_t sample;
sample           2726 libavformat/mxfenc.c                 sample = AV_RL24(samples)<< 4;
sample           2729 libavformat/mxfenc.c                 sample = AV_RL16(samples)<<12;
sample           2732 libavformat/mxfenc.c             avio_wl32(pb, sample | i);
sample            232 libavformat/rl2.c     AVIndexEntry *sample = NULL;
sample            242 libavformat/rl2.c             sample = &s->streams[i]->index_entries[ rl2->index_pos[i] ];
sample            243 libavformat/rl2.c             pos= sample->pos;
sample            254 libavformat/rl2.c     avio_seek(pb, sample->pos, SEEK_SET);
sample            257 libavformat/rl2.c     ret = av_get_packet(pb, pkt, sample->size);
sample            258 libavformat/rl2.c     if(ret != sample->size){
sample            263 libavformat/rl2.c     pkt->pts = sample->timestamp;
sample             46 libavformat/sdsdec.c         unsigned sample = ((unsigned)src[i + 0] << 25) + ((unsigned)src[i + 1] << 18);
sample             48 libavformat/sdsdec.c         dst[i / 2] = sample;
sample             57 libavformat/sdsdec.c         unsigned sample;
sample             59 libavformat/sdsdec.c         sample = ((unsigned)src[i + 0] << 25) | ((unsigned)src[i + 1] << 18) | ((unsigned)src[i + 2] << 11);
sample             60 libavformat/sdsdec.c         dst[i / 3] = sample;
sample             69 libavformat/sdsdec.c         unsigned sample;
sample             71 libavformat/sdsdec.c         sample = ((unsigned)src[i + 0] << 25) | ((unsigned)src[i + 1] << 18) | ((unsigned)src[i + 2] << 11) | ((unsigned)src[i + 3] << 4);
sample             72 libavformat/sdsdec.c         dst[i / 4] = sample;
sample            272 libavformat/segafilm.c     film_sample *sample;
sample            280 libavformat/segafilm.c     sample = &film->sample_table[film->current_sample];
sample            290 libavformat/segafilm.c         if (next_sample->stream != sample->stream) {
sample            297 libavformat/segafilm.c     avio_seek(pb, sample->sample_offset, SEEK_SET);
sample            299 libavformat/segafilm.c     ret = av_get_packet(pb, pkt, sample->sample_size);
sample            300 libavformat/segafilm.c     if (ret != sample->sample_size)
sample            303 libavformat/segafilm.c     pkt->stream_index = sample->stream;
sample            304 libavformat/segafilm.c     pkt->dts = sample->pts;
sample            305 libavformat/segafilm.c     pkt->pts = sample->pts;
sample            306 libavformat/segafilm.c     pkt->flags |= sample->keyframe ? AV_PKT_FLAG_KEY : 0;
sample            308 libavformat/segafilm.c         pkt->duration = next_sample->pts - sample->pts;
sample           1705 libavformat/utils.c             int64_t sample = ts_to_samples(st, pts);
sample           1707 libavformat/utils.c             int64_t end_sample = sample + duration;
sample           1709 libavformat/utils.c                 sample < st->last_discard_sample)
sample            113 libavformat/vividas.c static unsigned recover_key(unsigned char sample[4], unsigned expected_size)
sample            119 libavformat/vividas.c     return AV_RL32(sample) ^ AV_RL32(plaintext);
sample            184 libavresample/dither.c         float sample = src[i] * S16_SCALE;
sample            195 libavresample/dither.c         sample -= err;
sample            198 libavresample/dither.c             dst[i]             = av_clip_int16(lrintf(sample));
sample            201 libavresample/dither.c             dst[i]             = av_clip_int16(lrintf(sample + dither[i]));
sample            202 libavresample/dither.c             state->dither_b[0] = av_clipf(dst[i] - sample, -1.5f, 1.5f);
sample             43 libavresample/tests/avresample.c                                 int channels, int sample, int ch,           \
sample             49 libavresample/tests/avresample.c         out[ch][sample] = v;                                                \
sample             51 libavresample/tests/avresample.c         out[0][sample * channels + ch] = v;                                 \
sample             61 libavresample/tests/avresample.c                        int channels, int sample, int ch, double v_dbl)
sample             65 libavresample/tests/avresample.c         put_sample_u8(data, sample_fmt, channels, sample, ch, v_dbl);
sample             68 libavresample/tests/avresample.c         put_sample_s16(data, sample_fmt, channels, sample, ch, v_dbl);
sample             71 libavresample/tests/avresample.c         put_sample_s32(data, sample_fmt, channels, sample, ch, v_dbl);
sample             74 libavresample/tests/avresample.c         put_sample_flt(data, sample_fmt, channels, sample, ch, v_dbl);
sample             77 libavresample/tests/avresample.c         put_sample_dbl(data, sample_fmt, channels, sample, ch, v_dbl);
sample            460 libavutil/log.c static void missing_feature_sample(int sample, void *avc, const char *msg,
sample            468 libavutil/log.c     if (sample)