Searched refs:channels (Results 151 - 175 of 339) sorted by relevance

1234567891011>>

/external/opencv/otherlibs/highgui/
H A Dgrfmt_jpeg2000.h92 int width, int height, int depth, int channels );
H A Dgrfmt_bmp.cpp494 int width, int height, int /*depth*/, int channels )
497 int fileStep = (width*channels + 3) & -4;
505 int paletteSize = channels > 1 ? 0 : 1024;
522 m_strm.PutWord( channels << 3 );
530 if( channels == 1 )
536 width *= channels;
/external/qemu/distrib/sdl-1.2.12/src/audio/bsd/
H A DSDL_bsdaudio.c259 "channels : %i\n"
272 info.play.channels,
376 info.play.channels = spec->channels;
378 spec->channels = 1;
/external/quake/quake/src/QW/client/
H A Dsnd_mem.c128 if (info.channels != 1)
137 len = len * info.width * info.channels;
147 sc->stereo = info.channels;
291 info.channels = GetLittleShort();
/external/quake/quake/src/WinQuake/
H A Dsnd_mem.cpp128 if (info.channels != 1)
137 len = len * info.width * info.channels;
147 sc->stereo = info.channels;
289 info.channels = GetLittleShort();
H A Dsnd_dos.cpp232 timeconstant = 65536-(256000000/(shm->channels*shm->speed));
250 timeconstant = 65536-(256000000/(shm->channels*shm->speed));
420 shm->channels = 2;
426 shm->channels = 2;
432 shm->channels = 1;
H A Dsnd_mix.cpp164 if (shm->samplebits == 16 && shm->channels == 2)
171 count = (endtime - paintedtime) * shm->channels;
173 out_idx = paintedtime * shm->channels & out_mask;
174 step = 3 - shm->channels;
287 // paint in the channels.
288 ch = channels;
H A Dsnd_win.cpp197 shm->channels = 2;
203 format.nChannels = shm->channels;
324 shm->channels = format.nChannels;
364 shm->channels, shm->samplebits, shm->speed);
433 shm->channels = 2;
439 format.nChannels = shm->channels;
/external/speex/include/speex/
H A Dspeex_echo.h82 * @param nb_mic Number of microphone channels
83 * @param nb_speakers Number of speaker channels
144 * @param channels Number of channels (it's a bit pointless if you don't have at least 2)
147 SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size);
149 /** Remove correlation between the channels by modifying the phase and possibly
/external/svox/pico/compat/include/
H A DTtsEngine.h61 // @param [in] int - The number of channels
168 // @param[inout] channels in: the desired number of audio channels
169 // out: the number of channels used by the TTS engine
172 int& channels);
/external/webkit/Source/WebCore/dom/
H A DMessagePortChannel.h88 PassOwnPtr<MessagePortChannelArray> channels() { return m_channels.release(); } function in class:WebCore::MessagePortChannel::EventData
/external/opencv/cxcore/include/
H A Dcxcore.hpp50 CvImage( CvSize size, int depth, int channels )
52 image = cvCreateImage( size, depth, channels );
86 void create( CvSize size, int depth, int channels )
90 image->depth != depth || image->nChannels != channels )
91 attach( cvCreateImage( size, depth, channels ));
154 int channels() const { return image ? image->nChannels : 0; } function in class:CvImage
322 int channels() const { return matrix ? CV_MAT_CN(matrix->type) : 0; } function in class:CvMatrix
/external/qemu/distrib/sdl-1.2.12/src/audio/macrom/
H A DSDL_romaudio.c235 sample_bits = spec->size / spec->samples / spec->channels * 8;
239 "Audio format 0x%x, channels = %d, sample_bits = %d, frequency = %d\n",
240 spec->format, spec->channels, sample_bits, spec->freq);
243 header.numChannels = spec->channels;
271 if ( spec->channels >= 2 ) {
436 sample_bits = spec->size / spec->samples / spec->channels * 8;
438 audio_dbh.dbhNumChannels = spec->channels;
471 if ( spec->channels >= 2 ) {
/external/qemu/distrib/sdl-1.2.12/src/audio/ums/
H A DSDL_umsaudio.c71 static UMSAudioDevice_ReturnCode UADSetChannels(_THIS, long channels );
260 /* sample_bits = spec->size / spec->samples / spec->channels * 8; */
325 this->hidden->bytesPerSample = (bitsPerSample / 8) * spec->channels;
337 rc = UADSetChannels(this, spec->channels); /* functions reduces to mono or stereo */
489 static UMSAudioDevice_ReturnCode UADSetChannels(_THIS, long channels )
495 if ( channels != 1 ) channels = 2;
498 channels );
/external/flac/libFLAC/
H A Dstream_encoder_framing.c91 FLAC__ASSERT(metadata->data.stream_info.channels > 0);
92 FLAC__ASSERT(metadata->data.stream_info.channels <= (1u << FLAC__STREAM_METADATA_STREAMINFO_CHANNELS_LEN));
93 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.channels-1, FLAC__STREAM_METADATA_STREAMINFO_CHANNELS_LEN))
291 FLAC__ASSERT(header->channels > 0 && header->channels <= (1u << FLAC__STREAM_METADATA_STREAMINFO_CHANNELS_LEN) && header->channels <= FLAC__MAX_CHANNELS);
294 u = header->channels - 1;
297 FLAC__ASSERT(header->channels == 2);
301 FLAC__ASSERT(header->channels == 2);
305 FLAC__ASSERT(header->channels
[all...]
/external/qemu/distrib/sdl-1.2.12/src/audio/dma/
H A DSDL_dmaaudio.c289 value = (spec->channels > 1);
292 SDL_SetError("Couldn't set audio channels");
395 /* Set mono or stereo audio (currently only two channels supported) */
396 stereo = (spec->channels > 1);
399 spec->channels = 2;
401 spec->channels = 1;
406 once we know what format and channels are supported
420 spec->samples /= spec->channels;
/external/webkit/Source/WebCore/platform/image-decoders/png/
H A DPNGImageDecoder.cpp266 int bitDepth, colorType, interlaceType, compressionType, filterType, channels; local
315 channels = png_get_channels(png, info);
316 ASSERT(channels == 3 || channels == 4);
318 m_reader->setHasAlpha(channels == 4);
/external/dropbear/
H A Dcommon-channel.c25 /* Handle the multiplexed channels, such as sessions, x11, agent connections */
62 /* Initialise all the channels */
66 ses.channels = (struct Channel**)m_malloc(sizeof(struct Channel*));
68 ses.channels[0] = NULL;
79 /* Clean up channels, freeing allocated memory */
86 if (ses.channels[i] != NULL) {
88 remove_channel(ses.channels[i]);
91 m_free(ses.channels);
108 /* first see if we can use existing channels */
110 if (ses.channels[
[all...]
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
H A DSelectorTest.java17 package org.apache.harmony.nio.tests.java.nio.channels;
23 import java.nio.channels.ClosedChannelException;
24 import java.nio.channels.ClosedSelectorException;
25 import java.nio.channels.Pipe;
26 import java.nio.channels.SelectionKey;
27 import java.nio.channels.Selector;
28 import java.nio.channels.ServerSocketChannel;
29 import java.nio.channels.SocketChannel;
30 import java.nio.channels.spi.SelectorProvider;
83 * @tests java.nio.channels
[all...]
H A DServerSocketChannelTest.java18 package org.apache.harmony.nio.tests.java.nio.channels;
27 import java.nio.channels.AsynchronousCloseException;
28 import java.nio.channels.ClosedChannelException;
29 import java.nio.channels.IllegalBlockingModeException;
30 import java.nio.channels.NotYetBoundException;
31 import java.nio.channels.SelectionKey;
32 import java.nio.channels.ServerSocketChannel;
33 import java.nio.channels.SocketChannel;
34 import java.nio.channels.spi.SelectorProvider;
89 * Test method for 'java.nio.channels
[all...]
H A DSinkChannelTest.java17 package org.apache.harmony.nio.tests.java.nio.channels;
23 import java.nio.channels.ClosedChannelException;
24 import java.nio.channels.Pipe;
25 import java.nio.channels.SelectionKey;
26 import java.nio.channels.ServerSocketChannel;
27 import java.nio.channels.SocketChannel;
61 * @tests java.nio.channels.Pipe.SinkChannel#validOps()
68 * @tests java.nio.channels.Pipe.SinkChannel#write(ByteBuffer)
103 * @tests java.nio.channels.Pipe.SinkChannel#write(ByteBuffer)
147 * @tests java.nio.channels
[all...]
H A DChannelsTest.java16 package org.apache.harmony.nio.tests.java.nio.channels;
30 import java.nio.channels.Channels;
31 import java.nio.channels.ClosedChannelException;
32 import java.nio.channels.IllegalBlockingModeException;
33 import java.nio.channels.ReadableByteChannel;
34 import java.nio.channels.ServerSocketChannel;
35 import java.nio.channels.SocketChannel;
36 import java.nio.channels.WritableByteChannel;
153 * Test method for 'java.nio.channels.Channels.NewChannel'
223 * Test method for 'java.nio.channels
[all...]
/external/mesa3d/src/pixelflinger2/
H A Dtexture.cpp36 union Pixel { unsigned char channels[4]; unsigned int val; }; member in union:Pixel
43 c = vsetq_lane_s32(pixel->channels[0], c, 0);
44 c = vsetq_lane_s32(pixel->channels[1], c, 1);
45 c = vsetq_lane_s32(pixel->channels[2], c, 2);
46 c = vsetq_lane_s32(pixel->channels[3], c, 3);
50 color->r = (float)pixel->channels[0] / 255;
51 color->g = (float)pixel->channels[1] / 255;
52 color->b = (float)pixel->channels[2] / 255;
53 color->a = (float)pixel->channels[3] / 255;
H A Dllvm_texture.cpp106 Value * channels = Constant::getNullValue(intVecType(builder)); local
109 // channels = builder.CreateInsertElement(channels, texel, builder.getInt32(0));
110 // channels = builder.CreateBitCast(channels, floatVecType(builder));
111 // return channels;
113 channels = builder.CreateInsertElement(channels, texel, builder.getInt32(0));
114 channels = builder.CreateInsertElement(channels, texe
[all...]
/external/bluetooth/bluez/audio/
H A Dgstsbcparse.c54 "channels = (int) [ 1, 2 ], "
142 parse->channels = -1;
210 self->channels = -1;

Completed in 277 milliseconds

1234567891011>>