Searched defs:output (Results 101 - 125 of 178) sorted by relevance

12345678

/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp93 QueueBufferOutput* output) {
94 return mProducer->queueBuffer(slot, input, output);
106 int api, bool producerControlledByApp, QueueBufferOutput* output) {
107 return mProducer->connect(listener, api, producerControlledByApp, output);
92 queueBuffer(int slot, const QueueBufferInput& input, QueueBufferOutput* output) argument
105 connect(const sp<IProducerListener>& listener, int api, bool producerControlledByApp, QueueBufferOutput* output) argument
H A DSurfaceInterceptor.cpp130 std::string output; local
135 if (!mTrace.SerializeToString(&output)) {
138 if (!android::base::WriteStringToFile(output, mOutputFileName, true)) {
/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 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...]
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
/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/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/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.h113 audio_io_handle_t *output,
121 virtual status_t startOutput(audio_io_handle_t output,
124 virtual status_t stopOutput(audio_io_handle_t output,
127 virtual void releaseOutput(audio_io_handle_t output,
166 // return the enabled output devices for the given stream type
189 // uses an output for playback with a non-empty, non "0" address.
277 void addOutput(audio_io_handle_t output, const sp<SwAudioOutputDescriptor>& outputDesc);
278 void removeOutput(audio_io_handle_t output);
285 // (device connected,phone state, force use, a2dp output...)
287 // 1 speed up process when the state is stable (when starting or stopping an output)
667 updateMono(audio_io_handle_t output) argument
[all...]
/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...]
/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 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...]
/frameworks/base/core/java/android/app/backup/
H A DFullBackup.java89 String linkdomain, String rootpath, String path, FullBackupDataOutput output);
121 * If the {@code mode} argument is negative, then the resulting output file will not
124 * @param data Socket supplying the data to be copied to the output file. If the
125 * output is a directory, this may be {@code null}.
131 * the output file or directory. group/all rwx modes are stripped even if set
135 * last modification time of the output file. if the {@code mode} parameter is
151 // Pull the data from the pipe, copying it to the output file, until we're done
88 backupToTar(String packageName, String domain, String linkdomain, String rootpath, String path, FullBackupDataOutput output) argument
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyCameraDevice.java314 * Configure the device with a set of output surfaces.
330 Surface output = outputs.valueAt(i);
331 if (output == null) {
335 if (!output.isValid()) {
336 Log.e(TAG, "configureOutputs - invalid output surfaces are not allowed");
344 Size s = getSurfaceSize(output);
345 int surfaceType = detectSurfaceType(output);
347 boolean flexibleConsumer = isFlexibleConsumer(output);
354 // IMPLEMENTATION_DEFINED output sizes, and is publicly visible in the
364 sizedSurfaces.add(new Pair<>(output,
588 isFlexibleConsumer(Surface output) argument
601 isPreviewConsumer(Surface output) argument
619 isVideoEncoderConsumer(Surface output) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfigurationMap.java49 * <p>This is the authoritative list for all <!-- input/ -->output formats (and sizes respectively
85 * and thus needs a separate list of slow high-resolution output sizes
198 * Get the image {@code format} output formats in this stream configuration.
212 return getPublicFormats(/*output*/true);
216 * Get the image {@code format} output formats for a reprocessing input format.
220 * listed in the return value of this method. Including any other output Surface as a target
221 * will throw an IllegalArgumentException. If no output format is supported given the input
254 return getPublicFormats(/*output*/false);
267 return getPublicFormatSizes(format, /*output*/false, /*highRes*/false);
271 * Determine whether or not output surface
949 checkArgumentFormatSupported(int format, boolean output) argument
1251 getPublicFormatSizes(int format, boolean output, boolean highRes) argument
1264 getInternalFormatSizes(int format, int dataspace, boolean output, boolean highRes) argument
1326 getPublicFormats(boolean output) argument
1349 getFormatsMap(boolean output) argument
1393 getPublicFormatCount(boolean output) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java88 public void process(Frame[] inputs, Frame output) { argument
106 // Get the GL output frame
108 if (output instanceof GLFrame) {
109 glOutput = (GLFrame)output;
111 throw new RuntimeException("ShaderProgram got non-GL output frame!");
116 int xTiles = (output.getFormat().getWidth() + mMaxTileSize - 1) / mMaxTileSize;
117 int yTiles = (output.getFormat().getHeight() + mMaxTileSize - 1) / mMaxTileSize;
194 throw new RuntimeException("Could not set clears-output flag to " + clears + "!");
259 private native boolean shaderProcess(GLFrame[] inputs, GLFrame output); argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2ReprocessCaptureTest.java207 * Test the input format and output format with the largest input and output sizes.
222 * Test the input format and output format with the largest input and output sizes for a
258 * Test all input format, input size, output format, and output size combinations.
591 * sensor timestamp, and output image's timestamp should match the reprocess input's timestamp.
644 // Verify the reprocess output image timestamps match the input image's timestamps.
649 assertEquals("Reprocess output timestamp (" + timestamp + ") doesn't match input " +
712 // Verify output imag
1028 submitCaptureRequest(Surface output, TotalCaptureResult inputResult) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraMetadataTest.java896 // TODO: also test HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED as an output
1195 streamConfigMap, ImageFormat.RAW_SENSOR, 320, 240, /*output*/false);
1199 streamConfigMap, HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED, 640, 480, /*output*/true);
1201 streamConfigMap, ImageFormat.JPEG, 1920, 1080, /*output*/true);
1203 streamConfigMap, ImageFormat.JPEG, 2048, 1536, /*output*/true);
1205 streamConfigMap, ImageFormat.JPEG, 2592, 1944, /*output*/true);
1207 streamConfigMap, ImageFormat.JPEG, 3200, 2400, /*output*/true);
1209 streamConfigMap, ImageFormat.YUV_420_888, 3200, 2400, /*output*/true);
1211 streamConfigMap, ImageFormat.YUV_420_888, 3264, 2448, /*output*/true);
1213 streamConfigMap, ImageFormat.RAW_SENSOR, 3280, 2464, /*output*/tru
1308 checkStreamConfigurationMapByFormatSize(StreamConfigurationMap configMap, int format, int width, int height, boolean output) argument
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java484 BackupDataOutput output) {
495 output.writeEntityHeader(key, data.length);
496 output.writeEntityData(data, data.length);
483 writeIfChanged(long oldChecksum, String key, byte[] data, BackupDataOutput output) argument
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerServiceImpl.java630 void listSessionsLocked(ArrayList<String> output) { argument
633 output.add((mInfo != null ? mInfo.getServiceInfo().getComponentName()
/frameworks/base/services/core/java/com/android/server/wm/
H A DRootWindowContainer.java269 void getWindowsByName(ArrayList<WindowState> output, String name) { argument
278 getWindowsByName(output, name, objectId);
281 private void getWindowsByName(ArrayList<WindowState> output, String name, int objectId) { argument
285 output.add(w);
288 output.add(w);
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp238 const QueueBufferInput& input, QueueBufferOutput* output) {
250 result = reply.read(*output);
286 int api, bool producerControlledByApp, QueueBufferOutput* output) {
301 reply.read(*output);
543 QueueBufferOutput* output) override {
544 return mBase->queueBuffer(slot, input, output);
558 QueueBufferOutput* output) override {
559 return mBase->connect(listener, api, producerControlledByApp, output);
716 QueueBufferOutput output; local
717 status_t result = queueBuffer(buf, input, &output);
237 queueBuffer(int buf, const QueueBufferInput& input, QueueBufferOutput* output) argument
285 connect(const sp<IProducerListener>& listener, int api, bool producerControlledByApp, QueueBufferOutput* output) argument
751 QueueBufferOutput output; local
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp106 IGraphicBufferProducer::QueueBufferOutput output; local
107 mSource[SOURCE_SCRATCH]->connect(NULL, NATIVE_WINDOW_API_EGL, false, &output);
159 // driver; they may be suboptimal when HWC is writing to the output
160 // buffer. For example, if the output is going to a video encoder, and
214 // At this point we know the output buffer acquire fence,
412 // We already dequeued the output buffer. If the GLES driver wants
414 // will mean that HWC will see a different output buffer between
424 VDS_LOGV("dequeueBuffer: dequeueing new output buffer: "
469 const QueueBufferInput& input, QueueBufferOutput* output) {
471 return mSource[SOURCE_SINK]->queueBuffer(pslot, input, output);
468 queueBuffer(int pslot, const QueueBufferInput& input, QueueBufferOutput* output) argument
554 connect(const sp<IProducerListener>& listener, int api, bool producerControlledByApp, QueueBufferOutput* output) argument
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicBLAS.cpp466 // following calls have init reordered because A is output matrix
511 // following calls have init reordered because A is output matrix
843 * Calculations are done in 1.10.21 fixed-point format for the final output,
844 * just before there's a shift down to drop the fractional parts. The output
863 int32_t output = local
866 if (output > 255) {
867 output = 255;
869 if (output < 0) {
870 output = 0;
872 c[c_index] = (uint8_t)(output);
[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/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

Completed in 544 milliseconds

12345678