Searched defs:output (Results 151 - 175 of 178) sorted by last modified time

12345678

/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyInterfaceImpl.cpp164 audio_io_handle_t *output,
185 return mAudioPolicyManager->getOutputForAttr(attr, output, session, stream, uid,
190 status_t AudioPolicyService::startOutput(audio_io_handle_t output, argument
208 status_t status = audioPolicyEffects->addOutputSessionEffects(output, stream, session);
214 return mAudioPolicyManager->startOutput(output, stream, session);
217 status_t AudioPolicyService::stopOutput(audio_io_handle_t output, argument
228 mOutputCommandThread->stopOutputCommand(output, stream, session);
232 status_t AudioPolicyService::doStopOutput(audio_io_handle_t output, argument
244 status_t status = audioPolicyEffects->releaseOutputSessionEffects(output, stream, session);
250 return mAudioPolicyManager->stopOutput(output, strea
163 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uid_t uid, const audio_config_t *config, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId, audio_port_handle_t *portId) argument
253 releaseOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
264 doReleaseOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
[all...]
H A DAudioPolicyService.cpp70 // start output activity command thread
434 volume %f, output %d", data->mStream, data->mVolume, data->mIO);
453 ALOGV("AudioCommandThread() processing stop output %d",
465 ALOGV("AudioCommandThread() processing release output %d",
660 audio_io_handle_t output,
668 data->mIO = output;
671 ALOGV("AudioCommandThread() adding set volume stream %d, volume %f, output %d",
672 stream, volume, output);
704 void AudioPolicyService::AudioCommandThread::stopOutputCommand(audio_io_handle_t output, argument
711 data->mIO = output;
658 volumeCommand(audio_stream_type_t stream, float volume, audio_io_handle_t output, int delayMs) argument
719 releaseOutputCommand(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
1059 setStreamVolume(audio_stream_type_t stream, float volume, audio_io_handle_t output, int delayMs) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DZslProcessor.cpp240 ALOGE("%s: Camera %d: Error querying capture output stream info: "
257 ALOGE("%s: Camera %d: Unable to delete old output stream "
275 ALOGE("%s: Camera %d: Unable to delete old output stream "
358 ALOGE("%s: Camera %d: Cannot delete ZSL output stream %d: "
513 IGraphicBufferProducer::QueueBufferOutput output; local
515 NATIVE_WINDOW_API_CPU, false, &output);
589 ALOGE("%s: Unable to update request output streams",
684 IGraphicBufferProducer::QueueBufferOutput output; local
688 rc = mInputProducer->queueBuffer(mInputProducerSlot, input, &output);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.cpp153 bool output) {
181 if (output) {
220 bool output) {
236 res = returnBufferCheckedLocked(buffer, timestamp, output,
246 if (output) {
268 if (output) {
148 handoutBufferLocked(camera3_stream_buffer &buffer, buffer_handle_t *handle, int acquireFence, int releaseFence, camera3_buffer_status_t status, bool output) argument
217 returnAnyBufferLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output) argument
H A DCamera3InputStream.cpp71 ALOGE("%s: Stream %d: Can't acquire next output buffer: %s (%d)",
85 /*releaseFence*/-1, CAMERA3_BUFFER_STATUS_OK, /*output*/false);
97 bool output,
102 (void)output;
103 ALOG_ASSERT(!output, "Expected output to be false");
166 return returnAnyBufferLocked(buffer, /*timestamp*/0, /*output*/false);
94 returnBufferCheckedLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output, sp<Fence> *releaseFenceOut) argument
H A DCamera3OutputStream.cpp173 /*releaseFence*/-1, CAMERA3_BUFFER_STATUS_OK, /*output*/true);
188 status_t res = returnAnyBufferLocked(buffer, timestamp, /*output*/true);
203 bool output,
207 (void)output;
208 ALOG_ASSERT(output, "Expected output to be true");
507 ALOGE("%s: Stream %d: Can't attach the output buffer to this surface: %s (%d)",
519 ALOGE("%s: Stream %d: Can't get next output buffer from buffer manager: %s (%d)",
546 ALOGE("%s: Stream %d: Can't dequeue next output buffer: %s (%d)",
654 // If an opaque output strea
200 returnBufferCheckedLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output, sp<Fence> *releaseFenceOut) argument
[all...]
H A DCamera3Stream.cpp462 ALOGV("%s: Already dequeued max output buffers (%d), wait for next returned one.",
470 ALOGE("%s: wait for output buffer return timed out after %lldms (max_buffers %d)",
480 fireBufferListenersLocked(*buffer, /*acquired*/true, /*output*/true);
536 fireBufferListenersLocked(buffer, /*acquired*/false, /*output*/true);
575 fireBufferListenersLocked(*buffer, /*acquired*/true, /*output*/false);
596 fireBufferListenersLocked(buffer, /*acquired*/false, /*output*/false);
612 const camera3_stream_buffer& buffer, bool acquired, bool output) {
619 info.mOutput = output;
682 ALOGE("%s: This type of stream does not support output", __FUNCTION__);
687 ALOGE("%s: This type of stream does not support output", __FUNCTION_
611 fireBufferListenersLocked( const camera3_stream_buffer& buffer, bool acquired, bool output) argument
[all...]
H A DCamera3StreamSplitter.cpp63 // Add output surfaces. This has to be before creating internal buffer queue
72 SP_LOGE("%s: Failed to add output surface: %s(%d)",
84 // the output's attachBuffer().
119 for (auto& output : mOutputs) {
120 output->disconnect(NATIVE_WINDOW_API_CAMERA);
221 status_t Camera3StreamSplitter::outputBufferLocked(const sp<IGraphicBufferProducer>& output, argument
235 int slot = getSlotForOutputLocked(output, tracker.getBuffer());
237 // In case the output BufferQueue has its own lock, if we hold splitter lock while calling
238 // queueBuffer (which will try to acquire the output lock), the output coul
527 OutputListener( wp<Camera3StreamSplitter> splitter, wp<IGraphicBufferProducer> output) argument
535 sp<IGraphicBufferProducer> output = mOutput.promote(); local
[all...]
/frameworks/av/camera/ndk/
H A DNdkCameraDevice.cpp111 void ACaptureSessionOutput_free(ACaptureSessionOutput* output) { argument
113 if (output != nullptr) {
114 delete output;
121 ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output) {
123 if (container == nullptr || output == nullptr) {
124 ALOGE("%s: Error: invalid input: container %p, output %p",
125 __FUNCTION__, container, output);
128 auto pair = container->mOutputs.insert(*output);
130 ALOGW("%s: output %p already exists!", __FUNCTION__, output);
120 ACaptureSessionOutputContainer_add( ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output) argument
136 ACaptureSessionOutputContainer_remove( ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
H A DFwdLockEngine.h288 * the output converted data and offset. In this case the
518 FwdLockConv_Output_t output; member in class:android::FwdLockEngine::ConvertSession
522 memset(&output, 0, sizeof(FwdLockConv_Output_t));
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c542 * Writes the header of the output file.
545 * @param[out] pOutput The output from the conversion process.
591 * @param[out] pOutput The output from the conversion process.
825 * Encrypts the given character and writes it to the output buffer.
829 * @param[in,out] pOutput The output from the conversion process.
863 * @param[in,out] pOutput The output from the conversion process.
875 // to the output buffer and start over.
886 // The current character isn't part of the delimiter. Write it to the output buffer.
931 * @param[in,out] pOutput The output from the conversion process.
1072 * @param[in,out] pOutput The output fro
1269 FwdLockConv_Output_t output; local
[all...]
/frameworks/av/drm/libmediadrm/
H A DDrm.cpp678 Vector<uint8_t> &output) {
691 return mPlugin->encrypt(sessionId, keyId, input, iv, output);
698 Vector<uint8_t> &output) {
711 return mPlugin->decrypt(sessionId, keyId, input, iv, output);
674 encrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
694 decrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
H A DDrmHal.cpp828 Vector<uint8_t> const &iv, Vector<uint8_t> &output) {
843 output = toVector(hOutput);
854 Vector<uint8_t> const &iv, Vector<uint8_t> &output) {
869 output = toVector(hOutput);
826 encrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
852 decrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
H A DIDrm.cpp429 Vector<uint8_t> &output) {
442 readVector(reply, output);
451 Vector<uint8_t> &output) {
464 readVector(reply, output);
850 Vector<uint8_t> sessionId, keyId, input, iv, output; local
855 uint32_t result = encrypt(sessionId, keyId, input, iv, output);
856 writeVector(reply, output);
864 Vector<uint8_t> sessionId, keyId, input, iv, output; local
869 uint32_t result = decrypt(sessionId, keyId, input, iv, output);
870 writeVector(reply, output);
425 encrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
447 decrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DDrmPlugin.h187 Vector<uint8_t>& output) {
192 UNUSED(output);
201 Vector<uint8_t>& output) {
206 UNUSED(output);
182 encrypt( const Vector<uint8_t>& sessionId, const Vector<uint8_t>& keyId, const Vector<uint8_t>& input, const Vector<uint8_t>& iv, Vector<uint8_t>& output) argument
196 decrypt( const Vector<uint8_t>& sessionId, const Vector<uint8_t>& keyId, const Vector<uint8_t>& input, const Vector<uint8_t>& iv, Vector<uint8_t>& output) argument
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp556 Vector<uint8_t> &output)
580 // byte[] mock-output -> output
581 index = mByteArrayProperties.indexOfKey(String8("mock-output"));
586 output = mByteArrayProperties.valueAt(index);
595 Vector<uint8_t> &output)
619 // byte[] mock-output -> output
620 index = mByteArrayProperties.indexOfKey(String8("mock-output"));
625 output
552 encrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
591 decrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
[all...]
/frameworks/av/media/img_utils/src/
H A DTiffEntry.cpp127 String8 output; local
129 output.appendFormat("[id: %x, type: %d, count: %u, value: '", getTag(), getType(), count);
142 output.appendFormat("%u ", typed_data[i]);
152 output.append(typed_data, len);
158 output.appendFormat("%u ", typed_data[i]);
165 output.appendFormat("%u ", typed_data[i]);
173 output.appendFormat("%u/%u ", typed_data[i], typed_data[i + 1]);
180 output.appendFormat("%d ", typed_data[i]);
187 output.appendFormat("%d ", typed_data[i]);
194 output
[all...]
H A DTiffIfd.cpp365 String8 output; local
366 output.appendFormat("[ifd: %x, num_entries: %zu, entries:\n", getId(), s);
368 output.append("\t");
369 output.append(mEntries[i]->toString());
370 output.append("\n");
372 output.append(", next_ifd: %x]", ((mNextIfd != NULL) ? mNextIfd->getId() : 0));
373 return output;
/frameworks/av/media/libaudioclient/
H A DAudioSystem.cpp160 audio_io_handle_t output)
165 af->setStreamVolume(stream, value, output);
179 audio_io_handle_t output)
184 *volume = af->streamVolume(stream, output);
258 audio_io_handle_t output; local
264 output = getOutput(streamType);
265 if (output == 0) {
269 return getSamplingRate(output, samplingRate);
295 audio_io_handle_t output; local
301 output
159 setStreamVolume(audio_stream_type_t stream, float value, audio_io_handle_t output) argument
178 getStreamVolume(audio_stream_type_t stream, float* volume, audio_io_handle_t output) argument
332 audio_io_handle_t output; local
346 getLatency(audio_io_handle_t output, uint32_t* latency) argument
380 getRenderPosition(audio_io_handle_t output, uint32_t *halFrames, uint32_t *dspFrames) argument
815 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uid_t uid, const audio_config_t *config, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId, audio_port_handle_t *portId) argument
832 startOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
841 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
850 releaseOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
[all...]
H A DAudioTrack.cpp133 // audio_io_handle_t output
141 ALOGE("Unable to query output sample rate for stream type %d; status %d",
148 ALOGE("Unable to query output frame count for stream type %d; status %d",
155 ALOGE("Unable to query output latency for stream type %d; status %d",
765 // An offload output can be re-used between two audio tracks having
1264 audio_io_handle_t output; local
1277 status = AudioSystem::getOutputForAttr(attr, &output,
1282 if (status != NO_ERROR || output == AUDIO_IO_HANDLE_NONE) {
1283 ALOGE("Could not get audio output for session %d, stream type %d, usage %d, sample rate %u,"
1294 status = AudioSystem::getLatency(output,
2688 audio_io_handle_t output = getOutput(); local
[all...]
H A DIAudioFlinger.cpp106 audio_io_handle_t output,
132 data.writeInt32((int32_t) output);
288 virtual audio_format_t format(audio_io_handle_t output) const
292 data.writeInt32((int32_t) output);
306 virtual uint32_t latency(audio_io_handle_t output) const
310 data.writeInt32((int32_t) output);
350 audio_io_handle_t output)
356 data.writeInt32((int32_t) output);
371 virtual float streamVolume(audio_stream_type_t stream, audio_io_handle_t output) const
376 data.writeInt32((int32_t) output);
98 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, audio_output_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t pid, pid_t tid, audio_session_t *sessionId, int clientUid, status_t *status, audio_port_handle_t portId) argument
349 setStreamVolume(audio_stream_type_t stream, float value, audio_io_handle_t output) argument
456 openOutput(audio_module_handle_t module, audio_io_handle_t *output, audio_config_t *config, audio_devices_t *devices, const String8& address, uint32_t *latencyMs, audio_output_flags_t flags) argument
503 closeOutput(audio_io_handle_t output) argument
512 suspendOutput(audio_io_handle_t output) argument
521 restoreOutput(audio_io_handle_t output) argument
716 createEffect( effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, audio_io_handle_t output, audio_session_t sessionId, const String16& opPackageName, pid_t pid, status_t *status, int *id, int *enabled) argument
984 audio_io_handle_t output = (audio_io_handle_t) data.readInt32(); local
1090 audio_io_handle_t output = (audio_io_handle_t) data.readInt32(); local
1103 int output = data.readInt32(); local
1171 audio_io_handle_t output = AUDIO_IO_HANDLE_NONE; local
1248 audio_io_handle_t output = (audio_io_handle_t) data.readInt32(); local
1324 audio_io_handle_t output = (audio_io_handle_t) data.readInt32(); local
[all...]
H A DIAudioPolicyService.cpp188 audio_io_handle_t *output,
209 if (output == NULL) {
210 ALOGE("getOutputForAttr NULL output - shouldn't happen");
243 *output = (audio_io_handle_t)reply.readInt32();
252 virtual status_t startOutput(audio_io_handle_t output, argument
258 data.writeInt32(output);
265 virtual status_t stopOutput(audio_io_handle_t output, argument
271 data.writeInt32(output);
278 virtual void releaseOutput(audio_io_handle_t output, argument
284 data.writeInt32(output);
187 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uid_t uid, const audio_config_t *config, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId, audio_port_handle_t *portId) argument
920 audio_io_handle_t output = getOutput(stream, local
951 audio_io_handle_t output = 0; local
965 audio_io_handle_t output = static_cast <audio_io_handle_t>(data.readInt32()); local
977 audio_io_handle_t output = static_cast <audio_io_handle_t>(data.readInt32()); local
989 audio_io_handle_t output = static_cast <audio_io_handle_t>(data.readInt32()); local
1099 audio_io_handle_t output = getOutputForEffect(&desc); local
[all...]
/frameworks/av/media/libaudioprocessing/tests/
H A Dresampler_tests.cpp53 void resample(int channels, void *output, argument
66 (int32_t*) output + channels*i, thisFrames, provider);
103 // calculate the output size
175 // TO = resampler output type, int32_t or float
189 // calculate the output size
218 if (channels == 1) channels = 2; // workaround (mono duplicates output channel)
247 * We compare a reference output, where we consume and process the entire
248 * buffer at a time, and a test output, where we provide small chunks of input
249 * data and process small chunks of output (which may not be equivalent in size).
317 * clearly isolated by input frequencies exceeding the output sampl
[all...]
/frameworks/av/media/libstagefright/
H A DMediaSync.cpp86 status_t MediaSync::setSurface(const sp<IGraphicBufferProducer> &output) { argument
89 if (output == mOutput) {
90 return NO_ERROR; // same output surface.
93 if (output == NULL && mSyncSettings.mSource == AVSYNC_SOURCE_VSYNC) {
94 ALOGE("setSurface: output surface is used as sync source and cannot be removed.");
98 if (output != NULL) {
100 output->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &newUsage);
102 // Check usage flags only when current output surface has been used to create input surface.
106 // New output surface is not allowed to add new usage flag except ignored ones.
108 ALOGE("setSurface: new output surfac
697 onBufferReleasedByOutput(sp<IGraphicBufferProducer> &output) argument
828 OutputListener(const sp<MediaSync> &sync, const sp<IGraphicBufferProducer> &output) argument
[all...]
/frameworks/av/media/libstagefright/codec2/include/
H A DC2Param.h57 * - Params can be global (not related to input or output), related to input or output,
58 * or related to an input/output stream.
100 // - direction (global, input, output)
187 * parameter is global, input or output, and whether it is for a stream.
190 /// returns true iff this is a global parameter (not for input nor output)
194 /// returns true iff this is an output or output stream parameter
199 /// returns true iff this is a port (input or output) parameter
237 inline bool setPort(bool output) { argument
379 setPort(bool output) argument
[all...]

Completed in 2626 milliseconds

12345678