/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/ |
H A D | xt_rateest.c | 28 bps1 = info->bps1 >= r->bps ? info->bps1 - r->bps : 0; 31 bps1 = r->bps; 43 bps2 = info->bps2 >= r->bps ? info->bps2 - r->bps : 0; 46 bps2 = r->bps;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavdevice/ |
H A D | sndio_common.c | 33 s->hwpos += delta * s->channels * s->bps; 76 s->buffer_size = par.round * par.bps * 90 s->bps = par.bps;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | gen_stats.h | 32 * @bps: current byte rate 36 __u32 bps; member in struct:gnet_stats_rate_est
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
H A D | flacdsp.c | 89 int bps) 91 if (bps > 16) { 130 ff_flacdsp_init_arm(c, fmt, bps); 132 ff_flacdsp_init_x86(c, fmt, bps); 88 ff_flacdsp_init(FLACDSPContext *c, enum AVSampleFormat fmt, int bps) argument
|
H A D | flac.h | 66 int bps; /**< bits-per-sample */\ 122 * @param bps bits-per-sample 124 int ff_flac_get_max_frame_size(int blocksize, int ch, int bps);
|
H A D | flac.c | 90 fi->bps = sample_size_table[bps_code]; 148 int ff_flac_get_max_frame_size(int blocksize, int ch, int bps) argument 157 count += ch * ((7+bps+7)/8); /* subframe headers */ 160 count += (( 2*bps+1) * blocksize + 7) / 8; 162 count += ( ch*bps * blocksize + 7) / 8; 223 s->bps = get_bits(&gb, 5) + 1; 227 avctx->bits_per_raw_sample = s->bps;
|
H A D | wma.c | 77 volatile float bps; local 136 bps = (float)avctx->bit_rate / (float)(avctx->channels * avctx->sample_rate); 137 s->byte_offset_bits = av_log2((int)(bps * s->frame_len / 8.0 + 0.5)) + 2; 145 bps1 = bps; 147 bps1 = bps * 1.6; 163 if (bps > 0.5) { 171 if (bps <= 0.625) { 173 } else if (bps > 0.75) { 179 if (bps >= 0.8) { 181 } else if (bps > [all...] |
H A D | alac.c | 83 static inline unsigned int decode_scalar(GetBitContext *gb, int k, int bps) argument 89 x = get_bits_long(gb, bps); 106 int nb_samples, int bps, int rice_history_mult) 122 x = decode_scalar(&alac->gb, k, bps); 168 int nb_samples, int bps, int16_t *lpc_coefs, 190 bps); 197 buffer_out[i] = sign_extend(buffer_out[i - 1] + error_buffer[i], bps); 213 buffer_out[i] = sign_extend(val, bps); 263 int has_size, bps, is_compressed, decorr_shift, decorr_left_weight, ret; local 274 bps 105 rice_decompress(ALACContext *alac, int32_t *output_buffer, int nb_samples, int bps, int rice_history_mult) argument 167 lpc_prediction(int32_t *error_buffer, int32_t *buffer_out, int nb_samples, int bps, int16_t *lpc_coefs, int lpc_order, int lpc_quant) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavdevice/ |
H A D | sndio_common.c | 33 s->hwpos += delta * s->channels * s->bps; 76 s->buffer_size = par.round * par.bps * 90 s->bps = par.bps;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/ |
H A D | pcmdec.c | 32 int ret, size, bps; local 43 bps= av_get_bits_per_sample(s->streams[0]->codec->codec_id); 44 assert(bps); // if false there IS a bug elsewhere (NOT in this function) 46 pkt->pts= pkt->pos*8 / (bps * s->streams[0]->codec->channels);
|
H A D | riff.c | 390 int bps, blkalign, bytespersec; local 411 bps = 0; 413 if (!(bps = av_get_bits_per_sample(enc->codec_id))) { 415 bps = enc->bits_per_coded_sample; 417 bps = 16; // default to 16 420 if(bps != enc->bits_per_coded_sample && enc->bits_per_coded_sample){ 421 av_log(enc, AV_LOG_WARNING, "requested bits_per_coded_sample (%d) and actually stored (%d) differ\n", enc->bits_per_coded_sample, bps); 432 blkalign = bps * enc->channels / av_gcd(8, bps); 445 avio_wl16(pb, bps); /* bit 580 ff_wav_codec_get_id(unsigned int tag, int bps) argument [all...] |
H A D | riff.h | 51 enum CodecID ff_wav_codec_get_id(unsigned int tag, int bps);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/ |
H A D | riffenc.c | 56 int bps, blkalign, bytespersec, frame_size; local 91 bps = 0; 93 if (!(bps = av_get_bits_per_sample(enc->codec_id))) { 95 bps = enc->bits_per_coded_sample; 97 bps = 16; // default to 16 100 if (bps != enc->bits_per_coded_sample && enc->bits_per_coded_sample) { 104 enc->bits_per_coded_sample, bps); 122 blkalign = bps * enc->channels / av_gcd(8, bps); 137 avio_wl16(pb, bps); /* bit [all...] |
H A D | riffdec.c | 62 int bps = avio_rl16(pb); local 63 if (bps) 64 c->bits_per_coded_sample = bps; 142 enum AVCodecID ff_wav_codec_get_id(unsigned int tag, int bps) argument 150 id = ff_get_pcm_codec_id(bps, 0, 0, ~1); 152 id = ff_get_pcm_codec_id(bps, 1, 0, 0); 154 if (id == AV_CODEC_ID_ADPCM_IMA_WAV && bps == 8)
|
H A D | nistspheredec.c | 38 int bps = 0, be = 0; local 62 st->codec->bits_per_coded_sample = bps << 3; 104 sscanf(buffer, "%*s %*s %"SCNd32, &bps);
|
H A D | westwood_vqa.c | 58 int bps; member in struct:WsVqaDemuxContext 121 wsvqa->bps = header[27]; 197 if (!wsvqa->bps) 198 wsvqa->bps = 8; 200 st->codec->bits_per_coded_sample = wsvqa->bps; 208 if (wsvqa->bps == 16)
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/tc/ |
H A D | tc_core.c | 49 int tc_calc_rtable(unsigned bps, __u32 *rtab, int cell_log, unsigned mtu, argument 70 rtab[i] = tc_core_usec2tick(1000000*((double)sz/bps));
|
H A D | tc_red.c | 72 int tc_red_eval_idle_damping(int Wlog, unsigned avpkt, unsigned bps, __u8 *sbuf) argument 74 double xmit_time = tc_core_usec2tick(1000000*(double)avpkt/bps);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | flacdec.c | 56 int curr_bps; ///< bps for current subframe, adjusted for channel correlation and wasted bits 113 if (s->bps > 16) 132 av_log(avctx, AV_LOG_DEBUG, " Bits: %d\n", s->bps); 166 s->bps = get_bits(&gb, 5) + 1; 170 avctx->bits_per_raw_sample = s->bps; 368 if (s->bps > 16) { 409 s->curr_bps = s->bps; 491 if (!s->bps && !fi.bps) { 492 av_log(s->avctx, AV_LOG_ERROR, "bps no [all...] |
H A D | wma.c | 115 volatile float bps; local 178 bps = (float)s->bit_rate / (float)(s->nb_channels * s->sample_rate); 179 s->byte_offset_bits = av_log2((int)(bps * s->frame_len / 8.0 + 0.5)) + 2; 183 bps1 = bps; 185 bps1 = bps * 1.6; 201 if (bps > 0.5) { 209 if (bps <= 0.625) { 211 } else if (bps > 0.75) { 217 if (bps >= 0.8) { 219 } else if (bps > [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/test/ |
H A D | test_seeking.sh | 79 if flac --ogg --silent --force-raw-format --endian=little --sign=signed --channels=1 --bps=8 --sample-rate=44100 -c $0 1>/dev/null 2>&1 ; then 94 run_flac --verify --force --silent --force-raw-format --endian=big --sign=signed --sample-rate=44100 --bps=8 --channels=1 --blocksize=576 -S- --output-name=tiny.flac noise8m32.raw || die "ERROR generating FLAC file" 95 run_flac --verify --force --silent --force-raw-format --endian=big --sign=signed --sample-rate=44100 --bps=16 --channels=2 --blocksize=576 -S- --output-name=small.flac noise.raw || die "ERROR generating FLAC file" 96 run_flac --verify --force --silent --force-raw-format --endian=big --sign=signed --sample-rate=44100 --bps=8 --channels=1 --blocksize=576 -S10x --output-name=tiny-s.flac noise8m32.raw || die "ERROR generating FLAC file" 97 run_flac --verify --force --silent --force-raw-format --endian=big --sign=signed --sample-rate=44100 --bps=16 --channels=2 --blocksize=576 -S10x --output-name=small-s.flac noise.raw || die "ERROR generating FLAC file" 139 run_flac --verify --force --silent --force-raw-format --endian=big --sign=signed --sample-rate=44100 --bps=8 --channels=1 --blocksize=576 --output-name=tiny.oga --ogg noise8m32.raw || die "ERROR generating Ogg FLAC file" 140 run_flac --verify --force --silent --force-raw-format --endian=big --sign=signed --sample-rate=44100 --bps=16 --channels=2 --blocksize=576 --output-name=small.oga --ogg noise.raw || die "ERROR generating Ogg FLAC file"
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/examples/c/encode/file/ |
H A D | main.c | 55 unsigned bps = 0; local 74 fprintf(stderr, "ERROR: invalid/unsupported WAVE file, only 16bps stereo WAVE in canonical form allowed\n"); 80 bps = 16; 93 ok &= FLAC__stream_encoder_set_bits_per_sample(encoder, bps); 131 if(fread(buffer, channels*(bps/8), need, fin) != need) {
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/examples/cpp/encode/file/ |
H A D | main.cpp | 61 unsigned bps = 0; local 80 fprintf(stderr, "ERROR: invalid/unsupported WAVE file, only 16bps stereo WAVE in canonical form allowed\n"); 86 bps = 16; 99 ok &= encoder.set_bits_per_sample(bps); 137 if(fread(buffer, channels*(bps/8), need, fin) != need) {
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/flac/ |
H A D | decode.c | 89 unsigned bps; member in struct:__anon3770 120 static FLAC__bool write_riff_wave_fmt_chunk(FILE *f, FLAC__bool is_waveformatextensible, unsigned bps, unsigned channels, unsigned sample_rate, FLAC__uint32 channel_mask); 121 static FLAC__bool write_aiff_form_comm_chunk(FILE *f, FLAC__uint64 samples, unsigned bps, unsigned channels, unsigned sample_rate); 314 d->bps = 0; 485 if(!d->analysis_mode && !d->test_only && (d->is_wave_out || d->is_aiff_out) && ((d->total_samples * d->channels * ((d->bps+7)/8)) & 1)) { 601 const FLAC__bool is_waveformatextensible = decoder_session->is_wave_out && (decoder_session->channel_mask == 2 || decoder_session->channel_mask > 3 || decoder_session->bps%8 || decoder_session->channels > 2); 602 FLAC__uint64 data_size = samples * decoder_session->channels * ((decoder_session->bps+7)/8); 660 if(!write_riff_wave_fmt_chunk(f, is_waveformatextensible, decoder_session->bps, decoder_session->channels, decoder_session->sample_rate, decoder_session->channel_mask)) 707 if(!write_aiff_form_comm_chunk(f, samples, decoder_session->bps, decoder_session->channels, decoder_session->sample_rate)) 748 FLAC__bool write_riff_wave_fmt_chunk(FILE *f, FLAC__bool is_waveformatextensible, unsigned bps, unsigne argument 792 write_aiff_form_comm_chunk(FILE *f, FLAC__uint64 samples, unsigned bps, unsigned channels, unsigned sample_rate) argument 913 const unsigned bps = frame->header.bits_per_sample, channels = frame->header.channels; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/ |
H A D | af_amerge.c | 40 int bps; member in struct:__anon3317 156 am->bps = av_get_bytes_per_sample(ctx->outputs[0]->format); 199 * @param bps bytes per sample 203 uint8_t **outs, int ns, int bps) 214 memcpy((*outs) + bps * *(route_cur++), ins[i], bps); 215 ins[i] += bps; 218 *outs += nb_ch * bps; 256 am->in[i].pos * am->in[i].nb_ch * am->bps; 275 switch (am->bps) { 201 copy_samples(int nb_inputs, struct amerge_input in[], int *route, uint8_t *ins[], uint8_t **outs, int ns, int bps) argument [all...] |