Searched refs:usage (Results 101 - 125 of 162) sorted by relevance

1234567

/hardware/libhardware/modules/camera/
H A DCamera.cpp189 // Set up all streams (calculate usage/max_buffers for each)
271 * streams, and then produce usage and max_buffer values for each stream.
280 uint32_t usage = 0; local
283 usage |= GRALLOC_USAGE_SW_WRITE_OFTEN |
286 usage |= GRALLOC_USAGE_SW_READ_OFTEN |
289 streams[i]->setUsage(usage);
/hardware/libhardware/modules/usbcamera/
H A DCamera.cpp245 // Set up all streams (calculate usage/max_buffers for each)
314 * streams, and then produce usage and max_buffer values for each stream.
323 uint32_t usage = 0; local
326 usage |= GRALLOC_USAGE_SW_WRITE_OFTEN |
329 usage |= GRALLOC_USAGE_SW_READ_OFTEN |
332 streams[i]->setUsage(usage);
/hardware/libhardware_legacy/audio/
H A Daudio_policy_hal.cpp101 /* force using a specific device category for the specified usage */
103 audio_policy_force_use_t usage,
107 lap->apm->setForceUse((AudioSystem::force_use)usage,
111 /* retreive current device category forced for a given usage */
114 audio_policy_force_use_t usage)
118 (AudioSystem::force_use)usage);
102 ap_set_force_use(struct audio_policy *pol, audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) argument
112 ap_get_force_use( const struct audio_policy *pol, audio_policy_force_use_t usage) argument
/hardware/qcom/audio/legacy/alsa_sound/
H A Daudio_policy_hal.cpp101 /* force using a specific device category for the specified usage */
103 audio_policy_force_use_t usage,
107 qap->apm->setForceUse((AudioSystem::force_use)usage,
111 /* retreive current device category forced for a given usage */
114 audio_policy_force_use_t usage)
118 (AudioSystem::force_use)usage);
102 ap_set_force_use(struct audio_policy *pol, audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) argument
112 ap_get_force_use( const struct audio_policy *pol, audio_policy_force_use_t usage) argument
/hardware/qcom/audio/msm8909/policy_hal/
H A DAudioPolicyManager.h61 virtual void setForceUse(audio_policy_force_use_t usage,
/hardware/intel/common/utils/ISV/base/
H A Disv_bufmanager.cpp127 int32_t usage = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN; local
130 int32_t err = mpGralloc->lock(mpGralloc, (buffer_handle_t)mGrallocHandle, usage, 0, 0, mStride, mSurfaceHeight, &vaddr[0]);
/hardware/intel/img/hwcomposer/merrifield/common/buffers/
H A DBufferManager.cpp312 buffer_handle_t BufferManager::allocGrallocBuffer(uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument
334 usage,
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/buffers/
H A DBufferManager.cpp312 uint32_t BufferManager::allocGrallocBuffer(uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument
334 usage,
/hardware/libhardware/include/hardware/
H A Daudio_policy.h108 /* force using a specific device category for the specified usage */
110 audio_policy_force_use_t usage,
113 /* retrieve current device category forced for a given usage */
115 audio_policy_force_use_t usage);
H A Dcamera2.h78 * will have been allocated based on the usage flags provided by
122 * specific format based on the usage flags from the camera and the stream
593 * ID, gralloc usage flags, minimum queue buffer count, and possibly the
607 * gralloc module will select a format based on the usage flags provided
614 * based on the usage and max_buffers outputs. The methods in this
623 * - usage: The gralloc usage mask needed by the HAL device for producing
642 uint32_t *usage,
675 * height, and the pixel format. Returns the new stream's ID, gralloc usage
691 * configured based on the usage an
[all...]
/hardware/libhardware/modules/audio/
H A Daudio_policy.c72 audio_policy_force_use_t usage,
77 /* retreive current device category forced for a given usage */
80 audio_policy_force_use_t usage)
71 ap_set_force_use(struct audio_policy *pol, audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) argument
78 ap_get_force_use( const struct audio_policy *pol, audio_policy_force_use_t usage) argument
/hardware/libhardware_legacy/include/hardware_legacy/
H A DAudioPolicyInterface.h78 // force using a specific device category for the specified usage
79 virtual void setForceUse(AudioSystem::force_use usage, AudioSystem::forced_config config) = 0;
80 // retrieve current device category forced for a given usage
81 virtual AudioSystem::forced_config getForceUse(AudioSystem::force_use usage) = 0;
H A DAudioPolicyManagerBase.h85 virtual void setForceUse(AudioSystem::force_use usage, AudioSystem::forced_config config);
86 virtual AudioSystem::forced_config getForceUse(AudioSystem::force_use usage);
250 // and keep track of the usage of this output by each audio stream type.
294 // and keep track of the usage of this input.
443 // manages A2DP output suspend/restore according to phone state and BT SCO usage
/hardware/ril/rild/
H A Drild.c46 static void usage(const char *argv0) { function
175 usage(argv[0]);
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
H A DAnnRGBPlane.cpp126 uint32_t usage; local
131 usage = tmpBuf.getUsage();
132 if (GRALLOC_USAGE_HW_FB & usage) {
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/
H A Dvpx_encoder.h269 /*!\brief Algorithm specific "usage" value
271 * Algorithms may define multiple values for usage, which may convey the
420 * Indicates whether the end usage of this stream is to be streamed over
455 * vpx_codec_enc_config_default() with a usage value of 0.
466 * vpx_codec_enc_config_default() with a usage value of 0.
753 * \param[in] usage End usage. Set to 0 or use codec specific values.
760 * A parameter was NULL, or the usage value was not recognized.
764 unsigned int usage);
779 * A parameter was NULL, or the usage valu
[all...]
/hardware/libhardware/modules/radio/
H A Dradio_hal_tool.c32 void usage() { function
/hardware/qcom/camera/QCamera2/HAL/
H A DQCameraMem.h230 void setVideoInfo(int usage, cam_format_t format);
265 int stride, int scanline, int format, int maxFPS, int usage = 0);
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/
H A Dvenc_test.cpp39 //usage
1580 void usage(char* filename) function
1585 fprintf(stderr, "usage: %s LIVE <QCIF|QVGA> <MP4|H263> <FPS> <BITRATE> <NFRAMES> <OUTFILE>\n", fname);
1586 fprintf(stderr, "usage: %s FILE <QCIF|QVGA> <MP4|H263 <FPS> <BITRATE> <NFRAMES> <INFILE> <OUTFILE> ", fname);
1588 fprintf(stderr, "usage: %s PROFILE <QCIF|QVGA> <MP4|H263 <FPS> <BITRATE> <NFRAMES> <INFILE>\n", fname);
1589 fprintf(stderr, "usage: %s PREVIEW <QCIF|QVGA> <FPS> <NFRAMES>\n", fname);
1590 fprintf(stderr, "usage: %s DISPLAY <QCIF|QVGA> <FPS> <NFRAMES> <INFILE>\n", fname);
1646 usage(argv[0]);
1654 usage(argv[0]);
1663 usage(arg
[all...]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/test/
H A Dvenc_test.cpp39 //usage
1605 void usage(char* filename) function
1610 fprintf(stderr, "usage: %s LIVE <QCIF|QVGA> <MP4|H263> <FPS> <BITRATE> <NFRAMES> <OUTFILE>\n", fname);
1611 fprintf(stderr, "usage: %s FILE <QCIF|QVGA> <MP4|H263 <FPS> <BITRATE> <NFRAMES> <INFILE> <OUTFILE> ", fname);
1613 fprintf(stderr, "usage: %s PROFILE <QCIF|QVGA> <MP4|H263 <FPS> <BITRATE> <NFRAMES> <INFILE>\n", fname);
1614 fprintf(stderr, "usage: %s PREVIEW <QCIF|QVGA> <FPS> <NFRAMES>\n", fname);
1615 fprintf(stderr, "usage: %s DISPLAY <QCIF|QVGA> <FPS> <NFRAMES> <INFILE>\n", fname);
1674 usage(argv[0]);
1680 usage(argv[0]);
1687 usage(arg
[all...]
/hardware/ti/omap4-aah/camera/
H A DBufferSourceAdapter.cpp55 int usage = GRALLOC_USAGE_SW_READ_RARELY | local
61 // This usage flag indicates to gralloc we want the
63 usage |= GRALLOC_USAGE_PRIVATE_0;
69 return usage;
366 int usage = getUsageFromANW(pixFormat); local
369 // Set gralloc usage bits for window.
370 err = mBufferSource->set_usage(mBufferSource, usage);
/hardware/libhardware/tests/camera2/
H A Dcamera2_utils.cpp353 uint32_t usage; local
357 &id, &formatActual, &usage, &maxBuffers);
367 mUsage = usage;
383 ALOGE("%s: Unable to configure usage %08x for stream %d",
/hardware/bsp/intel/peripheral/libmraa/src/
H A Ddoxy2swig.py436 usage = __doc__
437 parser = optparse.OptionParser(usage)
/hardware/bsp/intel/peripheral/libmraa/src/python/docs/
H A Dexample.rst7 quick usage. The mraa module can be built with python3 or python2. All examples
/hardware/bsp/intel/peripheral/libupm/src/
H A Ddoxy2swig.py436 usage = __doc__
437 parser = optparse.OptionParser(usage)

Completed in 804 milliseconds

1234567