Searched refs:channels (Results 1 - 25 of 300) sorted by relevance

1234567891011>>

/external/libpng/contrib/tools/
H A Dcvtcolor.c53 int channels = 0; local
92 ++channels;
95 ++channels;
98 ++channels;
101 ++channels;
108 int components = channels;
114 if (components < channels)
123 if ((channels & 1) == 0)
125 double alpha = c[channels-1];
128 for (i=0; i<channels
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/audio/
H A DAudioData.java48 protected int channels; field in class:AudioData
82 * @return Number of channels. 1 for mono, 2 for stereo, etc.
85 return channels;
97 * @param channels # of channels, 1 = mono, 2 = stereo
101 public void setupFormat(int channels, int bitsPerSample, int sampleRate){ argument
105 this.channels = channels;
H A DAudioBuffer.java71 int bytesPerSec = (bitsPerSample / 8) * channels * sampleRate;
81 "[id="+id+", ch="+channels+", bits="+bitsPerSample +
/external/libvorbis/include/vorbis/
H A Dvorbisenc.h47 * \param channels The number of channels to be encoded.
61 long channels,
84 * \param channels The number of channels to be encoded.
98 long channels,
118 * \param channels The number of channels to be encoded.
130 long channels,
146 * \param channels Th
[all...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
H A DAudioQuality.java24 int channels; field in class:AudioQuality
/external/libpng/contrib/gregbook/
H A Dreadppm.c68 int bit_depth, color_type, channels; variable
97 channels = 3;
100 channels = 4;
103 channels = 1;
152 /* GRR WARNING: grayscale needs to be expanded and channels reset! */
154 *pRowbytes = rowbytes = channels*width;
155 *pChannels = channels;
/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p_utils.c75 *op_class = 81; /* 2.407 GHz, channels 1..13 */
90 *op_class = 115; /* 5 GHz, channels 36..48 */
99 *op_class = 124; /* 5 GHz, channels 149..161 */
108 *op_class = 125; /* 5 GHz, channels 149..169 */
117 *op_class = 180; /* 60 GHz, channels 1..4 */
134 for (i = 0; i < a->channels; i++) {
135 for (j = 0; j < b->channels; j++) {
138 res->channel[res->channels] = a->channel[i];
139 res->channels++;
140 if (res->channels
301 p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class, u8 channel) argument
318 p2p_channels_includes_freq(const struct p2p_channels *channels, unsigned int freq) argument
367 p2p_get_pref_freq(struct p2p_data *p2p, const struct p2p_channels *channels) argument
421 p2p_channel_pick_random(const u8 *channels, unsigned int num_channels) argument
493 p2p_channels_to_freqs(const struct p2p_channels *channels, int *freq_list, unsigned int max_len) argument
[all...]
/external/wpa_supplicant_8/src/p2p/
H A Dp2p_utils.c75 *op_class = 81; /* 2.407 GHz, channels 1..13 */
90 *op_class = 115; /* 5 GHz, channels 36..48 */
99 *op_class = 124; /* 5 GHz, channels 149..161 */
108 *op_class = 125; /* 5 GHz, channels 149..169 */
117 *op_class = 180; /* 60 GHz, channels 1..4 */
134 for (i = 0; i < a->channels; i++) {
135 for (j = 0; j < b->channels; j++) {
138 res->channel[res->channels] = a->channel[i];
139 res->channels++;
140 if (res->channels
301 p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class, u8 channel) argument
318 p2p_channels_includes_freq(const struct p2p_channels *channels, unsigned int freq) argument
367 p2p_get_pref_freq(struct p2p_data *p2p, const struct p2p_channels *channels) argument
421 p2p_channel_pick_random(const u8 *channels, unsigned int num_channels) argument
493 p2p_channels_to_freqs(const struct p2p_channels *channels, int *freq_list, unsigned int max_len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/
H A Dp2p_utils.c75 *op_class = 81; /* 2.407 GHz, channels 1..13 */
90 *op_class = 115; /* 5 GHz, channels 36..48 */
99 *op_class = 124; /* 5 GHz, channels 149..161 */
108 *op_class = 125; /* 5 GHz, channels 149..169 */
117 *op_class = 180; /* 60 GHz, channels 1..4 */
134 for (i = 0; i < a->channels; i++) {
135 for (j = 0; j < b->channels; j++) {
138 res->channel[res->channels] = a->channel[i];
139 res->channels++;
140 if (res->channels
301 p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class, u8 channel) argument
318 p2p_channels_includes_freq(const struct p2p_channels *channels, unsigned int freq) argument
367 p2p_get_pref_freq(struct p2p_data *p2p, const struct p2p_channels *channels) argument
421 p2p_channel_pick_random(const u8 *channels, unsigned int num_channels) argument
493 p2p_channels_to_freqs(const struct p2p_channels *channels, int *freq_list, unsigned int max_len) argument
[all...]
/external/toybox/toys/other/
H A Dmix.c14 List OSS sound channels (module snd-mixer-oss), or set volume(s).
35 const char *channels[SOUND_MIXER_NRDEVICES] = SOUND_DEVICE_NAMES; local
45 if (!strcmp(channels[channel], TT.chan)) break;
47 else printf("%s\n", channels[channel]);
58 TT.dev, channels[channel], level>>8, level & 0xFF);
59 else xprintf("%s:%s = %d\n", TT.dev, channels[channel], level);
/external/libopus/celt/
H A Dopus_custom_demo.c51 opus_int32 frame_size, channels, rate; local
64 fprintf (stderr, "Usage: test_opus_custom <rate> <channels> <frame size> "
71 channels = atoi(argv[2]);
104 enc = opus_custom_encoder_create(mode, channels, &err);
112 dec = opus_custom_decoder_create(mode, channels, &err);
128 in = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16));
129 out = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16));
134 err = fread(in, sizeof(short), frame_size*channels, fin);
174 for (i=0;i<ret*channels;i++)
178 for (i=0;i<ret*channels;
[all...]
/external/libopus/include/
H A Dopus_custom.h135 * @param [in] channels <tt>int</tt>: Number of channels
140 int channels
153 * @param [in] channels <tt>int</tt>: Number of channels
159 int channels
170 * @param [in] channels <tt>int</tt>: Number of channels
176 int channels,
246 * @param [in] channels <t
[all...]
H A Dopus_multistream.h107 * single packet, enabling support for up to 255 channels. Unlike an
124 * is configured to decode them to either 1 or 2 channels, respectively.
141 * The output channels specified by the encoder
197 * encoded channels (<code>streams +
209 int channels,
220 * @param channels <tt>int</tt>: Number of channels in the input signal.
223 * coded channels (<code>streams +
227 * This must be no more than the number of channels.
233 * encoded channels (<cod
[all...]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
H A DBox.java24 import java.nio.channels.ReadableByteChannel;
25 import java.nio.channels.WritableByteChannel;
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/
H A DDefaultServer.java61 // First two channels are reserved for reliable and
74 private List<KernelAdapter> channels = new ArrayList<KernelAdapter>(); field in class:DefaultServer
98 channels.add( reliableAdapter );
101 channels.add( fastAdapter );
120 // Note: it does bug me that channels aren't 100% universal and
128 // Check for consistency with the channels list
129 if( channels.size() - CH_FIRST != alternatePorts.size() )
137 channels.add( new KernelAdapter(this, kernel, dispatcher, true) );
157 for( KernelAdapter ka : channels ) {
162 for( KernelAdapter ka : channels ) {
444 private Endpoint[] channels; field in class:DefaultServer.Connection
[all...]
/external/libopus/src/
H A Dopus_decoder.c58 int channels; member in struct:OpusDecoder
87 int opus_decoder_get_size(int channels) argument
91 if (channels<1 || channels > 2)
97 celtDecSizeBytes = celt_decoder_get_size(channels);
101 int opus_decoder_init(OpusDecoder *st, opus_int32 Fs, int channels) argument
108 || (channels!=1&&channels!=2))
111 OPUS_CLEAR((char*)st, opus_decoder_get_size(channels));
122 st->stream_channels = st->channels
143 opus_decoder_create(opus_int32 Fs, int channels, int *error) argument
172 smooth_fade(const opus_val16 *in1, const opus_val16 *in2, opus_val16 *out, int overlap, int channels, const opus_val16 *window, opus_int32 Fs) argument
[all...]
H A Dopus_multistream_encoder.c81 /* then opus_val32 window_mem[channels*120]; */
82 /* then opus_val32 preemph_mem[channels]; */
142 static void channel_pos(int channels, int pos[8]) argument
145 if (channels==4)
151 } else if (channels==3||channels==5||channels==6)
159 } else if (channels==7)
168 } else if (channels==8)
221 int len, int overlap, int channels, in
220 surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32 *mem, opus_val32 *preemph_mem, int len, int overlap, int channels, int rate, opus_copy_channel_in_func copy_channel_in ) argument
357 opus_multistream_surround_encoder_get_size(int channels, int mapping_family) argument
394 opus_multistream_encoder_init_impl( OpusMSEncoder *st, opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application, int surround ) argument
449 OPUS_CLEAR(ms_get_preemph_mem(st), channels); local
456 opus_multistream_encoder_init( OpusMSEncoder *st, opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application ) argument
469 opus_multistream_surround_encoder_init( OpusMSEncoder *st, opus_int32 Fs, int channels, int mapping_family, int *streams, int *coupled_streams, unsigned char *mapping, int application ) argument
520 opus_multistream_encoder_create( opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application, int *error ) argument
557 opus_multistream_surround_encoder_create( opus_int32 Fs, int channels, int mapping_family, int *streams, int *coupled_streams, unsigned char *mapping, int application, int *error ) argument
712 int channels; local
[all...]
/external/flac/libFLAC/include/protected/
H A Dstream_decoder.h44 unsigned channels; member in struct:FLAC__StreamDecoderProtected
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_parse.py107 def __init__(self, name, layout, block_width, block_height, channels, swizzles, colorspace):
112 self.channels = channels
132 for channel in self.channels:
138 for channel in self.channels:
146 ref_channel = self.channels[0]
147 for channel in self.channels[1:]:
155 ref_channel = self.channels[0]
157 ref_channel = self.channels[1]
158 for channel in self.channels[
[all...]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/
H A DAppleLosslessSpecificBox.java19 8bit channels? 16bit ?? 32bit max coded frame size 32bit
28 private int channels; // 8bit field in class:AppleLosslessSpecificBox
83 return channels;
86 public void setChannels(int channels) { argument
87 this.channels = channels;
132 channels = IsoTypeReader.readUInt8(content);
148 IsoTypeWriter.writeUInt8(byteBuffer, channels);
/external/tremolo/Tremolo/
H A Dmapping0.c87 int testM=info->coupling[i].mag=(unsigned char)(oggpack_read(opb,ilog(vi->channels)));
88 int testA=info->coupling[i].ang=(unsigned char)(oggpack_read(opb,ilog(vi->channels)));
93 testM>=vi->channels ||
94 testA>=vi->channels) goto err_out;
102 info->chmuxlist=_ogg_malloc(sizeof(*info->chmuxlist)*vi->channels);
103 for(i=0;i<vi->channels;i++){
133 alloca(sizeof(*pcmbundle)*vi->channels);
135 alloca(sizeof(*zerobundle)*vi->channels);
137 alloca(sizeof(*nonzero)*vi->channels);
139 alloca(sizeof(*floormemo)*vi->channels);
[all...]
/external/jetty/src/java/org/eclipse/jetty/server/nio/
H A DInheritedChannelConnector.java22 import java.nio.channels.Channel;
23 import java.nio.channels.ServerSocketChannel;
/external/kernel-headers/original/uapi/linux/hsi/
H A Dhsi_char.h53 uint32_t channels; member in struct:hsc_rx_config
58 uint32_t channels; member in struct:hsc_tx_config
/external/libpng/
H A Dpngwtran.c21 * row_info bit depth should be 8 (one pixel per byte). The channels
30 row_info->channels == 1)
154 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
178 int channels = 0; local
182 shift_start[channels] = row_info->bit_depth - bit_depth->red;
183 shift_dec[channels] = bit_depth->red;
184 channels++;
186 shift_start[channels] = row_info->bit_depth - bit_depth->green;
187 shift_dec[channels] = bit_depth->green;
188 channels
[all...]
/external/pdfium/samples/fx_lpng/lpng_v163/
H A Dfx_pngwtran.c40 /* png_byte channels; number of channels (1-4) */
41 /* png_byte pixel_depth; bits per pixel (depth*channels) */
96 * row_info bit depth should be 8 (one pixel per byte). The channels
105 row_info->channels == 1)
229 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
253 int channels = 0; local
257 shift_start[channels] = row_info->bit_depth - bit_depth->red;
258 shift_dec[channels] = bit_depth->red;
259 channels
[all...]

Completed in 1135 milliseconds

1234567891011>>