Searched refs:channels (Results 26 - 50 of 300) sorted by relevance

1234567891011>>

/external/flac/libFLAC/include/private/
H A Dmd5.h48 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample);
/external/guava/guava-tests/test/com/google/common/io/
H A DPackageSanityTests.java22 import java.nio.channels.FileChannel.MapMode;
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
H A DBoxParser.java22 import java.nio.channels.ReadableByteChannel;
H A DChannelHelper.java21 import java.nio.channels.FileChannel;
22 import java.nio.channels.ReadableByteChannel;
23 import java.nio.channels.SelectionKey;
24 import java.nio.channels.WritableByteChannel;
/external/libopus/include/
H A Dopus.h61 * @li Support for multichannel (up to 255 channels)
86 * enc = opus_encoder_create(Fs, channels, application, &error);
100 * size = opus_encoder_get_size(channels);
102 * error = opus_encoder_init(enc, Fs, channels, application);
167 * @param[in] channels <tt>int</tt>: Number of channels.
171 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT int opus_encoder_get_size(int channels);
200 * @param [in] channels <tt>int</tt>: Number of channels (1 or 2) in input signal
203 * @note Regardless of the sampling rate and number channels selecte
[all...]
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/
H A DDefaultClient.java60 // First two channels are reserved for reliable and
61 // unreliable. Note: channels are endpoint specific so these
80 private List<ConnectorAdapter> channels = new ArrayList<ConnectorAdapter>(); field in class:DefaultClient
103 if( !channels.isEmpty() )
107 channels.add(new ConnectorAdapter(reliable, dispatcher, dispatcher, true));
109 channels.add(new ConnectorAdapter(fast, dispatcher, dispatcher, false));
112 channels.add(null);
129 for( ConnectorAdapter ca : channels ) {
166 for( int ch = CH_UNRELIABLE; ch < channels.size(); ch++ ) {
167 if( channels
[all...]
/external/libopus/src/
H A Dopus_encoder.c66 int channels; member in struct:OpusEncoder
148 int opus_encoder_get_size(int channels) argument
152 if (channels<1 || channels > 2)
158 celtEncSizeBytes = celt_encoder_get_size(channels);
162 int opus_encoder_init(OpusEncoder* st, opus_int32 Fs, int channels, int application) argument
169 if((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000)||(channels!=1&&channels!=2)||
174 OPUS_CLEAR((char*)st, opus_encoder_get_size(channels));
185 st->stream_channels = st->channels
248 gen_toc(int mode, int framerate, int bandwidth, int channels) argument
320 hp_cutoff(const opus_val16 *in, opus_int32 cutoff_Hz, opus_val16 *out, opus_val32 *hp_mem, int len, int channels, opus_int32 Fs) argument
356 dc_reject(const opus_val16 *in, opus_int32 cutoff_Hz, opus_val16 *out, opus_val32 *hp_mem, int len, int channels, opus_int32 Fs) argument
381 dc_reject(const opus_val16 *in, opus_int32 cutoff_Hz, opus_val16 *out, opus_val32 *hp_mem, int len, int channels, opus_int32 Fs) argument
405 stereo_fade(const opus_val16 *in, opus_val16 *out, opus_val16 g1, opus_val16 g2, int overlap48, int frame_size, int channels, const opus_val16 *window, opus_int32 Fs) argument
437 gain_fade(const opus_val16 *in, opus_val16 *out, opus_val16 g1, opus_val16 g2, int overlap48, int frame_size, int channels, const opus_val16 *window, opus_int32 Fs) argument
476 opus_encoder_create(opus_int32 Fs, int channels, int application, int *error) argument
[all...]
H A Dopus_demo.c47 fprintf(stderr, "Usage: %s [-e] <application> <sampling rate (Hz)> <channels (1/2)> "
49 fprintf(stderr, " %s -d <sampling rate (Hz)> <channels (1/2)> "
200 static OpusEncoder *ms_opus_encoder_create(opus_int32 Fs, int channels, int application, int *error)
204 return (OpusEncoder *)opus_multistream_surround_encoder_create(Fs, channels, 1, &streams, &coupled_streams, mapping, application, error);
206 static OpusDecoder *ms_opus_decoder_create(opus_int32 Fs, int channels, int *error)
212 coupled_streams = channels==2;
213 return (OpusDecoder *)opus_multistream_decoder_create(Fs, channels, streams, coupled_streams, mapping, error);
226 int frame_size, channels; local
322 channels = atoi(argv[args]);
325 if (channels <
[all...]
/external/libvorbis/lib/
H A Dmapping0.c81 oggpack_write(opb,info->coupling_mag[i],ilog(vi->channels));
82 oggpack_write(opb,info->coupling_ang[i],ilog(vi->channels));
91 for(i=0;i<vi->channels;i++)
122 int testM=info->coupling_mag[i]=oggpack_read(opb,ilog(vi->channels));
123 int testA=info->coupling_ang[i]=oggpack_read(opb,ilog(vi->channels));
128 testM>=vi->channels ||
129 testA>=vi->channels) goto err_out;
137 for(i=0;i<vi->channels;i++){
247 int *nonzero = alloca(sizeof(*nonzero)*vi->channels);
248 float **gmdct = _vorbis_block_alloc(vb,vi->channels*sizeo
[all...]
/external/tinyalsa/
H A Dtinycap.c62 unsigned int channels, unsigned int rate,
77 unsigned int channels = 2; local
86 fprintf(stderr, "Usage: %s file.wav [-D card] [-d device] [-c channels] "
107 channels = atoi(*argv);
139 header.num_channels = channels;
158 header.byte_rate = (header.bits_per_sample / 8) * channels * rate;
159 header.block_align = channels * (header.bits_per_sample / 8);
184 unsigned int channels, unsigned int rate,
195 config.channels = channels;
183 capture_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, unsigned int rate, enum pcm_format format, unsigned int period_size, unsigned int period_count) argument
[all...]
H A Dtinyplay.c63 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels,
187 int sample_is_playable(unsigned int card, unsigned int device, unsigned int channels, argument
201 can_play &= check_param(params, PCM_PARAM_CHANNELS, channels, "Sample", " channels");
211 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, argument
222 config.channels = channels;
234 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) {
254 printf("Playing sample: %u ch, %u hz, %u bit\n", channels, rate, bits);
/external/opencv/otherlibs/highgui/
H A Dgrfmt_pxm.cpp381 int channels = _channels > 1 ? 3 : 1; local
382 int fileStep = width*channels*(depth/8);
394 lineLength = channels * width * depth / 8;
396 lineLength = (6 * channels + (channels > 1 ? 2 : 0)) * width + 32;
410 '2' + (channels > 1 ? 1 : 0) + (isBinary ? 3 : 0),
434 for( x = 0; x < width*channels*2; x += 2 )
441 m_strm.PutBytes( (channels > 1 || depth > 8) ? buffer : (char*)data, fileStep );
447 if( channels > 1 )
451 for( x = 0; x < width*channels;
[all...]
H A Dgrfmt_imageio.h41 int width, int height, int depth, int channels );
H A Dgrfmt_tiff.cpp360 int channels = 1; local
460 channels = value;
461 if( channels != 1 && channels != 3 && channels != 4 )
507 if( photometric == 0 || photometric == 1 && channels == 1 )
518 m_compression != TIFF_HUFFMAN && channels == 1 )
532 (channels == 3 || channels == 4) &&
535 m_bpp = 8*channels;
[all...]
/external/speex/libspeex/
H A Dscal.c59 int channels; member in struct:SpeexDecorrState_
81 EXPORT SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size) argument
86 st->channels = channels;
96 st->buff = speex_alloc(channels*2*frame_size*sizeof(float));
97 st->ringID = speex_alloc(channels*sizeof(int));
98 st->order = speex_alloc(channels*sizeof(int));
99 st->alpha = speex_alloc(channels*sizeof(float));
100 st->ring = speex_alloc(channels*ALLPASS_ORDER*sizeof(float));
108 for (ch=0;ch<channels;c
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_table.py111 channel = format.channels[i]
135 if format.colorspace != ZS and format.channels[0].pure == False:
168 if format.colorspace != ZS and format.channels[0].pure == True and format.channels[0].type == UNSIGNED:
175 elif format.colorspace != ZS and format.channels[0].pure == True and format.channels[0].type == SIGNED:
/external/jetty/src/java/org/eclipse/jetty/server/nio/
H A DNetworkTrafficSelectChannelConnector.java22 import java.nio.channels.SelectionKey;
23 import java.nio.channels.SocketChannel;
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
H A DAnimControl.java53 * 2) Multiple animation channels
81 * Animation channels
83 private transient ArrayList<AnimChannel> channels = new ArrayList<AnimChannel>(); field in class:AnimControl
114 clone.channels = new ArrayList<AnimChannel>();
185 channels.add(channel);
198 return channels.get(index);
202 * @return The number of channels that are controlled by this
208 return channels.size();
212 * Clears all the channels that were created.
217 channels
[all...]
/external/tremolo/Tremolo/
H A Ddsp.c73 v->work=(ogg_int32_t **)_ogg_malloc(vi->channels*sizeof(*v->work));
74 v->mdctright=(ogg_int32_t **)_ogg_malloc(vi->channels*sizeof(*v->mdctright));
75 for(i=0;i<vi->channels;i++){
101 for(i=0;i<vi->channels;i++)
106 for(i=0;i<vi->channels;i++)
152 for(i=0;i<vi->channels;i++)
157 pcm+i,vi->channels,
228 for(i=0;i<vi->channels;i++)
/external/libvorbis/examples/
H A Ddecoder_example.c193 fprintf(stderr,"\nBitstream is %d channel, %ldHz\n",vi.channels,vi.rate);
197 convsize=4096/vi.channels;
246 for(i=0;i<vi.channels;i++){
265 ptr+=vi.channels;
273 fwrite(convbuffer,2*vi.channels,bout,stdout);
/external/aac/libPCMutils/src/
H A Dlimiter.cpp99 unsigned int channels, maxChannels; member in struct:TDLimiter
162 limiter->channels = maxChannels;
190 FDKmemset(limiter->delayBuf, 0, limiter->attack * limiter->channels * sizeof(FIXP_DBL) );
235 unsigned int channels = limiter->channels; local
278 /* get maximum absolute sample value of all channels, including the additional gain. */
280 for (j = 0; j < channels; j++) {
281 tmp2 = (FIXP_PCM)samples[i * channels + j];
349 for (j = 0; j < channels; j++) {
351 tmp = delayBuf[delayBufIdx * channels
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_tile_soa.py64 channel = format.channels[i]
124 src_channel = format.channels[i]
141 src_channel = format.channels[i]
200 dst_channel = format.channels[i]
209 width = format.channels[i].size
271 dst_channel = format.channels[i]
283 dst_channel = format.channels[i]
311 and (format.channels[0].type == UNSIGNED \
312 or format.channels[1].type == UNSIGNED):
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
H A DFreeBox.java27 import java.nio.channels.FileChannel;
28 import java.nio.channels.ReadableByteChannel;
29 import java.nio.channels.WritableByteChannel;
/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p_invitation.c77 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels);
110 struct p2p_channels *channels)
155 if (channels)
156 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels);
183 struct p2p_channels all_channels, intersection, *channels = NULL; local
235 p2p_channels_union(&p2p->cfg->channels, &p2p->cfg->cli_channels,
241 p2p_dbg(p2p, "No common channels found");
246 p2p_channels_dump(p2p, "own channels", &p2p->cfg->channels);
247 p2p_channels_dump(p2p, "own client channels",
105 p2p_build_invitation_resp(struct p2p_data *p2p, struct p2p_device *peer, u8 dialog_token, u8 status, const u8 *group_bssid, u8 reg_class, u8 channel, struct p2p_channels *channels) argument
427 struct p2p_channels intersection, *channels = NULL; local
[all...]
/external/wpa_supplicant_8/src/p2p/
H A Dp2p_invitation.c77 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels);
110 struct p2p_channels *channels)
155 if (channels)
156 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels);
183 struct p2p_channels all_channels, intersection, *channels = NULL; local
235 p2p_channels_union(&p2p->cfg->channels, &p2p->cfg->cli_channels,
241 p2p_dbg(p2p, "No common channels found");
246 p2p_channels_dump(p2p, "own channels", &p2p->cfg->channels);
247 p2p_channels_dump(p2p, "own client channels",
105 p2p_build_invitation_resp(struct p2p_data *p2p, struct p2p_device *peer, u8 dialog_token, u8 status, const u8 *group_bssid, u8 reg_class, u8 channel, struct p2p_channels *channels) argument
427 struct p2p_channels intersection, *channels = NULL; local
[all...]

Completed in 1906 milliseconds

1234567891011>>