Searched refs:sources (Results 1 - 25 of 36) sorted by path

12

/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp504 Vector<sp<MediaSource> > &sources, bool syncInfoPresent) {
516 for (size_t i = 0; i < sources.size(); ++i) {
517 sp<MediaSource> source = sources.editItemAt(i);
503 writeSourcesToMP4( Vector<sp<MediaSource> > &sources, bool syncInfoPresent) argument
/frameworks/av/media/img_utils/include/img_utils/
H A DTiffWriter.h93 virtual status_t write(Output* out, StripSource** sources, size_t sourcesCount,
/frameworks/av/media/img_utils/src/
H A DTiffWriter.cpp59 status_t TiffWriter::write(Output* out, StripSource** sources, size_t sourcesCount, argument
89 " sources (%zu).", __FUNCTION__, offVecSize, sourcesCount);
113 if (sources[j]->getIfd() == ifdKey) {
114 if ((ret = sources[i]->writeToStream(endOut, sizeToWrite)) != OK) {
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp1420 // * Resume fetchers that are still needed and assign them original packet sources.
1426 sp<AnotherPacketSource> sources[kMaxStreams]; local
1429 sources[j] = mPacketSources.valueFor(indexToType(j));
1444 if (sources[kAudioIndex] != NULL || sources[kVideoIndex] != NULL
1445 || sources[kSubtitleIndex] != NULL) {
1447 sources[kAudioIndex], sources[kVideoIndex], sources[kSubtitleIndex]);
1476 sp<AnotherPacketSource> sources[kMaxStream local
[all...]
/frameworks/av/services/audioflinger/
H A DPatchPanel.cpp158 // limit number of sources to 1 for now or 2 sources for special cross hw module case.
159 // only the audio policy manager can request a patch creation with 2 sources.
179 switch (patch->sources[0].type) {
181 audio_module_handle_t srcModule = patch->sources[0].ext.device.hw_module;
221 // special case num sources == 2 -=> reuse an exiting output mix to connect to the
224 if (patch->sources[1].type != AUDIO_PORT_TYPE_MIX ||
226 patch->sources[1].ext.mix.hw_module) {
233 audioflinger->checkPlaybackThread_l(patch->sources[1].ext.mix.handle);
260 audio_devices_t device = patch->sources[
[all...]
H A DThreads.cpp2742 patch->sources,
6345 mInDevice = patch->sources[0].ext.device.type;
6373 patch->sources,
/frameworks/av/services/audiopolicy/
H A DAudioPolicyManager.cpp531 rxSourceDeviceDesc->toAudioPortConfig(&patch.sources[0]);
544 outputDesc->toAudioPortConfig(&patch.sources[1]);
569 txSourceDeviceDesc->toAudioPortConfig(&patch.sources[0]);
587 outputDesc->toAudioPortConfig(&patch.sources[1]);
2562 ALOGV("createAudioPatch() num sources %d num sinks %d", patch->num_sources, patch->num_sinks);
2573 if (patch->sources[0].role != AUDIO_PORT_ROLE_SOURCE) {
2585 ALOGV("createAudioPatch source id %d role %d type %d", patch->sources[0].id,
2586 patch->sources[0].role,
2587 patch->sources[0].type);
2607 if (patch->sources[
[all...]
H A DAudioPolicyService.cpp872 if (patch.sources[count].id != patch2.sources[count].id) {
/frameworks/base/core/java/android/text/
H A DTextUtils.java844 String[] sources,
848 for (int i = 0; i < sources.length; i++) {
849 int where = indexOf(tb, sources[i]);
852 tb.setSpan(sources[i], where, where + sources[i].length(),
856 for (int i = 0; i < sources.length; i++) {
857 int start = tb.getSpanStart(sources[i]);
858 int end = tb.getSpanEnd(sources[i]);
843 replace(CharSequence template, String[] sources, CharSequence[] destinations) argument
/frameworks/base/core/java/android/view/
H A DInputDevice.java37 * Some input devices present multiple distinguishable sources of input.
40 * As a further wrinkle, different kinds of input sources uses different coordinate systems
359 int productId, String descriptor, boolean isExternal, int sources, int keyboardType,
369 mSources = sources;
582 * Gets the input sources supported by this input device as a combined bitfield.
583 * @return The supported input sources.
590 * Determines whether the input device supports the given source or sources.
592 * @param source The input source or sources to check against. This can be a generic device
594 * {@link InputDevice#SOURCE_CLASS_POINTER}, or a combination of sources bitwise ORed together.
595 * @return Whether the device can produce all of the given sources
358 InputDevice(int id, int generation, int controllerNumber, String name, int vendorId, int productId, String descriptor, boolean isExternal, int sources, int keyboardType, KeyCharacterMap keyCharacterMap, boolean hasVibrator, boolean hasButtonUnderPad) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp1835 Vector<StripSource*> sources; local
1842 ALOGV("%s: Adding thumbnail strip sources.", __FUNCTION__);
1849 sources.add(thumbnailSource.get());
1873 sources.add(&stripSource);
1876 if ((ret = writer->write(out.get(), sources.editArray(), sources.size())) != OK) {
1890 sources.add(&stripSource);
1893 if ((ret = writer->write(out.get(), sources.editArray(), sources.size())) != OK) {
1941 Vector<StripSource*> sources; local
[all...]
H A Dandroid_media_AudioSystem.cpp1057 jStatus = convertAudioPortConfigToNative(env, &nPatch.sources[i], jSource, false);
1230 // load sources
1242 &nPatches[i].sources[j]);
1251 nPatches[i].sources[j].type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix",
1252 nPatches[i].sources[j].id);
/frameworks/base/media/java/android/media/
H A DAudioManager.java3521 * @param sources List of source audio ports. All must be AudioPort.ROLE_SOURCE.
3536 AudioPortConfig[] sources,
3538 return AudioSystem.createAudioPatch(patch, sources, sinks);
3665 for (int j = 0; j < newPatches.get(i).sources().length; j++) {
3666 AudioPortConfig portCfg = updatePortConfig(newPatches.get(i).sources()[j],
3668 newPatches.get(i).sources()[j] = portCfg;
3679 for (AudioPortConfig portCfg : newPatch.sources()) {
3535 createAudioPatch(AudioPatch[] patch, AudioPortConfig[] sources, AudioPortConfig[] sinks) argument
H A DAudioPatch.java21 * An AudioPatch describes a connection between audio sources and audio sinks.
36 AudioPatch(AudioHandle patchHandle, AudioPortConfig[] sources, AudioPortConfig[] sinks) { argument
38 mSources = sources;
43 * Retrieve the list of sources of this audio patch.
45 public AudioPortConfig[] sources() { method in class:AudioPatch
H A DAudioSystem.java561 AudioPortConfig[] sources, AudioPortConfig[] sinks);
560 createAudioPatch(AudioPatch[] patch, AudioPortConfig[] sources, AudioPortConfig[] sinks) argument
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_frame.cpp206 std::vector<const GLFrame*> sources; local
207 sources.push_back(frame);
208 GetIdentity()->Process(sources, this);
377 std::vector<const GLFrame*> sources; local
378 sources.push_back(this);
385 GetIdentity()->Process(sources, &target);
/frameworks/base/opengl/java/android/opengl/
H A DGLES31Ext.java303 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
308 int[] sources,
321 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
325 java.nio.IntBuffer sources,
332 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
336 int[] sources,
345 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
349 java.nio.IntBuffer sources,
305 glGetDebugMessageLogKHR( int count, int bufSize, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset, int[] lengths, int lengthsOffset, byte[] messageLog, int messageLogOffset) argument
323 glGetDebugMessageLogKHR( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths, java.nio.ByteBuffer messageLog) argument
334 glGetDebugMessageLogKHR( int count, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset) argument
347 glGetDebugMessageLogKHR( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities) argument
/frameworks/base/services/
H A DAndroid.mk46 # include all the jni subdirs to collect their sources
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java7272 final int sources = device.getSources();
7278 if ((sources & InputDevice.SOURCE_TOUCHSCREEN) ==
7286 if ((sources & InputDevice.SOURCE_TRACKBALL) == InputDevice.SOURCE_TRACKBALL) {
7289 } else if ((sources & InputDevice.SOURCE_DPAD) == InputDevice.SOURCE_DPAD
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java281 public void processMulti(TextureSource[] sources, RenderTarget target, int width, int height) { argument
284 checkTexCount(sources.length);
287 bindInputTextures(sources);
610 private void bindInputTextures(TextureSource[] sources) { argument
611 for (int i = 0; i < sources.length; ++i) {
616 sources[i].bind();
623 throw new RuntimeException("Shader does not seem to support " + sources.length
/frameworks/base/tools/split-select/
H A DAndroid.mk27 sources := \ macro
78 LOCAL_SRC_FILES := $(sources)
/frameworks/compile/slang/
H A DAndroid.mk175 intermediates := $(call local-generated-sources-dir)
/frameworks/native/libs/binder/
H A DAndroid.mk15 # we have the common sources, plus some device-specific stuff
16 sources := \ macro
44 LOCAL_SRC_FILES := $(sources)
56 LOCAL_SRC_FILES := $(sources)
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h125 typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
137 GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp13630 GLuint GLTrace_glGetDebugMessageLogKHR(GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog) { argument
13648 // copy argument sources
13652 arg_sources->add_int64value((uintptr_t)sources);
13687 GLuint retValue = glContext->hooks->gl.glGetDebugMessageLogKHR(count, bufSize, sources, types, ids, severities, lengths, messageLog);
13698 (void *) sources,
[all...]

Completed in 791 milliseconds

12