Searched defs:output (Results 1 - 25 of 178) sorted by path

12345678

/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...]
H A DC2Work.h89 //< for output buffers, these are the responses to requestedInfos
103 //< output.buffers.
106 C2BufferPack output; member in struct:android::C2Worklet
124 * the work is submitted. Allocating the output buffers in the worklets is the responsibility
125 * of each component. Upon work submission, each output buffer-pack shall be an appropriately
/frameworks/av/media/libstagefright/codec2/tests/
H A DC2Param_test.cpp744 bool canSetPort(T &o, bool output) { return o.setPort(output); } argument
799 // C2NumberPortTuning::output: kIndex | tun | port | output (args)
804 static_assert(C2NumberPortTuning::output::baseIndex ==
806 static_assert(C2NumberPortTuning::output::typeIndex ==
809 static_assert(sizeof(C2NumberPortTuning::output) == 12, "bad size");
813 static_assert(offsetof(C2NumberPortTuning::output, _mSize) == 0, "bad size");
814 static_assert(offsetof(C2NumberPortTuning::output, _mIndex) == 4, "bad offset");
815 static_assert(offsetof(C2NumberPortTuning::output, mNumbe
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c84 Word32 output[]);
603 * output: reflection coefficients
643 * output: acf values
685 * input: <order+1> input values, no. of output values (=order),
687 * output: <order> reflection coefficients
808 Word32 parcor[], /*!< ptr. to reflection coefficients (output) */
873 Word32 output[]) /*!< filtered signal values */
884 output[j] = FIRLattice(order,signal[j],state_par,parCoeff);
869 AnalysisFilterLattice(const Word32 signal[], Word16 numOfLines, const Word32 parCoeff[], Word16 order, Word32 output[]) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpost_filter.cpp34 uint8 *output)
54 oscl_memcpy(output, decodedFrame, size);
55 oscl_memcpy(output + size, decodedFrame + size, (size >> 2));
56 oscl_memcpy(output + size + (size >> 2), decodedFrame + size + (size >> 2), (size >> 2));
75 CombinedHorzVertRingFilter(output, width, height, QP_store, 0, pp_mod);
83 CombinedHorzVertFilter(output, width, height,
88 CombinedHorzVertFilter_NoSoftDeblocking(output, width, height,
94 Deringing_Luma(output, width, height, QP_store,
103 output += size;
107 CombinedHorzVertRingFilter(output, (in
31 PostFilter( VideoDecData *video, int filter_type, uint8 *output) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastcodemb.cpp53 Short *output, *dataBlock; local
86 output = video->outputMB->block[0];
89 // M4VENC_MEMSET(output,0,(sizeof(Short)<<6)*6); /* reset quantized coeff. to zero , 7/24/01*/
205 CBP |= (*BlockQuantDequantH263DC)(dataBlock, output, &QuantParam,
233 CBP |= (*BlockQuantDequantH263)(dataBlock, output, &QuantParam,
237 output += 64;
282 Short *output, *dataBlock; local
317 output = video->outputMB->block[0];
320 // M4VENC_MEMSET(output,0,(sizeof(Short)<<6)*6); /* reset quantized coeff. to zero , 7/24/01*/
425 CBP |= (*BlockQuantDequantMPEGDC)(dataBlock, output, Q
[all...]
/frameworks/av/media/ndk/
H A DNdkMediaDrm.cpp587 const uint8_t *input, uint8_t *output, size_t dataSize, bool encrypt) {
620 memcpy(output, outputVec.array(), outputVec.size());
628 const uint8_t *input, uint8_t *output, size_t dataSize) {
633 input, output, dataSize, true);
639 const uint8_t *input, uint8_t *output, size_t dataSize) {
644 input, output, dataSize, false);
584 encrypt_decrypt_common(AMediaDrm *mObj, const AMediaDrmSessionId &sessionId, const char *cipherAlgorithm, uint8_t *keyId, uint8_t *iv, const uint8_t *input, uint8_t *output, size_t dataSize, bool encrypt) argument
626 AMediaDrm_encrypt(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, const char *cipherAlgorithm, uint8_t *keyId, uint8_t *iv, const uint8_t *input, uint8_t *output, size_t dataSize) argument
637 AMediaDrm_decrypt(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, const char *cipherAlgorithm, uint8_t *keyId, uint8_t *iv, const uint8_t *input, uint8_t *output, size_t dataSize) argument
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp647 audio_io_handle_t output,
707 PlaybackThread *thread = checkPlaybackThread_l(output);
709 ALOGE("no playback thread found for output handle %d", output);
725 // output thread and move it here.
728 if (mPlaybackThreads.keyAt(i) != output) {
751 // move effect chain to this output thread if an effect on same session was waiting
810 audio_format_t AudioFlinger::format(audio_io_handle_t output) const
813 PlaybackThread *thread = checkPlaybackThread_l(output);
815 ALOGW("format() unknown thread %d", output);
639 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *frameCount, 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
1054 setStreamVolume(audio_stream_type_t stream, float value, audio_io_handle_t output) argument
1929 openOutput_l(audio_module_handle_t module, audio_io_handle_t *output, audio_config_t *config, audio_devices_t devices, const String8& address, audio_output_flags_t flags) argument
2018 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
2092 closeOutput(audio_io_handle_t output) argument
2097 closeOutput_nonvirtual(audio_io_handle_t output) argument
2181 suspendOutput(audio_io_handle_t output) argument
2196 restoreOutput(audio_io_handle_t output) argument
2737 AudioStreamOut *output = thread->getOutput(); local
[all...]
H A DPatchPanel.cpp247 // - special patch request with 2 sources (reuse one existing output mix) OR
276 audio_io_handle_t output = AUDIO_IO_HANDLE_NONE; local
279 &output,
296 // default to peer output stream properties otherwise.
365 // limit to connections between devices and output streams
438 // create patch from playback thread output to sink device
451 // use a pseudo LCM between input and output framecount

Completed in 339 milliseconds

12345678