Searched defs:format (Results 251 - 275 of 506) sorted by relevance

<<11121314151617181920>>

/hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/
H A DStreamIn.impl.h191 Return<void> StreamIn::getSupportedChannelMasks(AudioFormat format, argument
193 return mStreamCommon->getSupportedChannelMasks(format, _hidl_cb);
195 Return<void> StreamIn::getSupportedSampleRates(AudioFormat format, argument
197 return mStreamCommon->getSupportedSampleRates(format, _hidl_cb);
220 Return<Result> StreamIn::setFormat(AudioFormat format) { argument
221 return mStreamCommon->setFormat(format);
/hardware/interfaces/camera/common/1.0/default/
H A DCameraModule.cpp149 int32_t format = entry.data.i32[i + STREAM_FORMAT_OFFSET]; local
154 format == HAL_PIXEL_FORMAT_RAW_OPAQUE) {
163 (format == HAL_PIXEL_FORMAT_RAW16 ||
164 format == HAL_PIXEL_FORMAT_RAW10 ||
165 format == HAL_PIXEL_FORMAT_RAW12 ||
166 format == HAL_PIXEL_FORMAT_RAW_OPAQUE)) {
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
H A DExternalCameraDeviceSession.h158 PixelFormat format; member in struct:android::hardware::camera::device::V3_4::implementation::ExternalCameraDeviceSession::HalStreamBuffer
260 Size sz, uint32_t format);
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
H A DGralloc1On0Adapter.h110 format(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED),
122 format = f;
143 int32_t format; member in struct:android::hardware::Gralloc1On0Adapter::Descriptor
176 gralloc1_buffer_descriptor_t descriptorId, int32_t format) {
178 &Descriptor::setFormat, format);
232 *outFormat = mDescriptor.format;
175 setFormatHook(gralloc1_device_t* device, gralloc1_buffer_descriptor_t descriptorId, int32_t format) argument
/hardware/interfaces/keymaster/4.0/vts/functional/
H A DKeymasterHidlTest.cpp114 ErrorCode KeymasterHidlTest::ImportKey(const AuthorizationSet& key_desc, KeyFormat format, argument
119 ->importKey(key_desc.hidl_data(), format, HidlBuf(key_material),
136 ErrorCode KeymasterHidlTest::ImportKey(const AuthorizationSet& key_desc, KeyFormat format, argument
138 return ImportKey(key_desc, format, key_material, &key_blob_, &key_characteristics_);
161 ErrorCode KeymasterHidlTest::ExportKey(KeyFormat format, const HidlBuf& key_blob, argument
166 ->exportKey(format, key_blob, client_id, app_data,
179 ErrorCode KeymasterHidlTest::ExportKey(KeyFormat format, HidlBuf* key_material) { argument
181 return ExportKey(format, key_blob_, client_id, app_data, key_material);
/hardware/libhardware/modules/audio/
H A Daudio_hw.c53 audio_format_t format; member in struct:stub_stream_out
62 audio_format_t format; member in struct:stub_stream_in
105 ALOGV("out_get_format: %d", out->format);
106 return out->format;
109 static int out_set_format(struct audio_stream *stream, audio_format_t format) argument
113 ALOGV("out_set_format: %d", format);
114 out->format = format;
256 ALOGV("in_get_format: %d", in->format);
257 return in->format;
260 in_set_format(struct audio_stream *stream, audio_format_t format) argument
[all...]
/hardware/libhardware/tests/hwc/
H A Dcnativewindow.c75 unsigned format; member in struct:CNativeWindow
295 *value = win->format;
296 TRACE("query window format: %d\n", *value);
328 TRACE("set buffers format %d\n", va_arg(ap,int));
420 win->format = HAL_PIXEL_FORMAT_RGBA_8888;
428 static aBuffer *cnw_alloc(CNativeWindow *win, unsigned format, unsigned usage) { argument
446 buf->format = format;
450 format, usage, &buf->handle, &buf->stride);
487 win->format
[all...]
/hardware/nxp/secure_element/ls_client/inc/
H A DLsLib.h470 inline int FSCANF_BYTE(FILE* stream, const char* format, void* pVal) { argument
473 if ((NULL != stream) && (NULL != format) && (NULL != pVal)) {
476 Result = fscanf(stream, format, &dwVal);
/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioHardwareALSA.cpp689 uint32_t AudioHardwareALSA::getVoipMode(int format) argument
691 switch(format) {
722 int *format,
777 if(*format == AudioSystem::PCM_16_BIT)
778 alsa_handle.format = SNDRV_PCM_FORMAT_S16_LE;
780 alsa_handle.format = *format;
787 mALSADevice->setVoipConfig(getVoipMode(*format), mVoipBitRate);
828 err = out->set(format, channels, sampleRate, devices);
846 alsa_handle.format
721 openOutputStream(uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument
997 openOutputSession(uint32_t devices, int *format, status_t *status, int sessionId, uint32_t samplingRate, uint32_t channels) argument
1092 openInputStream(uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, AudioSystem::audio_in_acoustics acoustics) argument
1410 getInputBufferSize(uint32_t sampleRate, int format, int channelCount) argument
[all...]
H A Daudio_policy_hal.cpp139 audio_format_t format,
147 sampling_rate, (int) format, channelMask,
176 audio_format_t format,
181 return qap->apm->getInput((int) inputSource, sampling_rate, (int) format, channelMask,
136 ap_get_output(struct audio_policy *pol, audio_stream_type_t stream, uint32_t sampling_rate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument
174 ap_get_input(struct audio_policy *pol, audio_source_t inputSource, uint32_t sampling_rate, audio_format_t format, audio_channel_mask_t channelMask, audio_in_acoustics_t acoustics) argument
/hardware/qcom/camera/msm8998/usbcamcore/src/
H A DQCameraMjpegDecode.cpp81 uint32_t format; member in struct:__anon2653
189 mjpegd->format = outputFormat;
195 if (((test_args.format == YCRCBLP_H1V2) || (test_args.format == YCBCRLP_H1V2) ||
196 (test_args.format == YCRCBLP_H1V1) || (test_args.format == YCBCRLP_H1V1)) &&
198 ALOGE("%s:These formats are not supported by SW format %d", __func__, test_args.format);
347 dest.output_format = (jpeg_color_format_t) p_args->format;
420 ALOGE("%s: decoder_test: unsupported output format", __func_
[all...]
/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_copybit.cpp257 buf.format = hnd->format;
381 src.format = hnd->format;
385 if (src.format == HAL_PIXEL_FORMAT_RGBA_8888) {
386 src.format = HAL_PIXEL_FORMAT_BGRA_8888;
387 } else if (src.format == HAL_PIXEL_FORMAT_RGBX_8888) {
388 src.format = HAL_PIXEL_FORMAT_BGRX_8888;
437 dst.format = fbHandle->format;
513 int format = fbHandle->format; local
[all...]
/hardware/qcom/display/msm8909/gralloc/
H A Dgr_buf_mgr.cpp371 uint32_t BufferManager::GetDataAlignment(int format, gralloc1_producer_usage_t prod_usage, argument
374 if (format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED) {
391 int BufferManager::GetHandleFlags(int format, gralloc1_producer_usage_t prod_usage, argument
426 if (IsUBwcEnabled(format, prod_usage, cons_usage)) {
467 int format = descriptor.GetFormat(); local
472 // Get implementation defined format
473 int gralloc_format = allocator_->GetImplDefinedFormat(prod_usage, cons_usage, format);
486 data.align = GetDataAlignment(format, prod_usage, cons_usage);
512 flags = GetHandleFlags(format, prod_usage, cons_usage);
523 format,
554 int format = va_arg(args, int); local
585 int format = va_arg(args, int); local
645 int format = va_arg(args, int); local
774 int format = va_arg(args, int); local
798 int format = va_arg(args, int); local
[all...]
/hardware/qcom/display/msm8909/libgralloc/
H A Dalloc_controller.cpp160 int f = hnd->format;
187 bool isUncompressedRgbFormat(int format) argument
191 switch (format)
222 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument
225 bool ubwc_enabled = isUBwcEnabled(format, usage);
228 if (isUncompressedRgbFormat(format) == true) {
230 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h);
232 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h);
237 switch (format)
326 width, height, format,
339 getGpuAlignedWidthHeight(int width, int height, int format, int tile_enabled, int& aligned_w, int& aligned_h) argument
394 isUBWCSupportedByGPU(int format) argument
539 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument
677 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument
695 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument
761 int format = hnd->format; local
870 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument
920 isUBwcFormat(int format) argument
934 isUBwcSupported(int format) argument
955 isUBwcEnabled(int format, int usage) argument
984 getYuvUBwcWidthHeight(int width, int height, int format, int& aligned_w, int& aligned_h) argument
1063 getUBwcSize(int width, int height, int format, const int alignedw, const int alignedh) argument
[all...]
/hardware/qcom/display/msm8909/sdm/include/core/
H A Dlayer_buffer.h53 /* All RGB formats, Any new format will be added towards end of this group to maintain backward
68 kFormatRGBA8888Ubwc, //!< UBWC aligned RGBA8888 format
69 kFormatRGBX8888Ubwc, //!< UBWC aligned RGBX8888 format
70 kFormatBGR565Ubwc, //!< UBWC aligned BGR565 format
79 kFormatRGBA1010102Ubwc, //!< UBWC aligned RGBA1010102 format
80 kFormatRGBX1010102Ubwc, //!< UBWC aligned RGBX1010102 format
83 /* All YUV-Planar formats, Any new format will be added towards end of this group to maintain
96 /* All YUV-Semiplanar formats, Any new format will be added towards end of this group to
129 kFormatYCbCr420SPVenusUbwc, //!< UBWC aligned YCbCr420SemiPlanarVenus format
142 kFormatYCbCr420TP10Ubwc, //!< UBWC aligned YCbCr420TP10 format
233 LayerBufferFormat format = kFormatRGBA8888; //!< Format of the buffer content. member in struct:sdm::LayerBuffer
[all...]
/hardware/qcom/display/msm8909/sdm/libs/hwc/
H A Dblit_engine_c2d.cpp139 int BlitEngineC2d::AllocateBlitTargetBuffers(uint32_t width, uint32_t height, uint32_t format, argument
156 status = alloc_buffer(&blit_target_buffer_[i], width, height, format, usage);
190 buffer.format = hnd->format;
265 if (Is10BitFormat(layer->input_buffer.format)) {
371 // Allocate a single buffer of RGBA8888 format
388 layer->input_buffer.format = kFormatRGBA8888Ubwc;
511 src.format = hnd->format;
529 dst.format
[all...]
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
H A Dhwc_layers.cpp221 LayerBufferFormat format = GetSDMFormat(handle->format, handle->flags); local
222 if ((format != layer_buffer->format) || (UINT32(aligned_width) != layer_buffer->width) ||
228 layer_buffer->format = format;
316 layer_->input_buffer.format = kFormatARGB8888;
509 LayerBufferFormat format = kFormatInvalid; local
513 format = kFormatRGBA8888Ubwc;
516 format
[all...]
/hardware/qcom/display/msm8909w_3100/libgralloc/
H A Dalloc_controller.cpp160 int f = hnd->format;
187 bool isUncompressedRgbFormat(int format) argument
191 switch (format)
222 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument
225 bool ubwc_enabled = isUBwcEnabled(format, usage);
228 if (isUncompressedRgbFormat(format) == true) {
230 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h);
232 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h);
237 switch (format)
326 width, height, format,
339 getGpuAlignedWidthHeight(int width, int height, int format, int tile_enabled, int& aligned_w, int& aligned_h) argument
394 isUBWCSupportedByGPU(int format) argument
539 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument
677 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument
695 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument
761 int format = hnd->format; local
870 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument
920 isUBwcFormat(int format) argument
934 isUBwcSupported(int format) argument
955 isUBwcEnabled(int format, int usage) argument
984 getYuvUBwcWidthHeight(int width, int height, int format, int& aligned_w, int& aligned_h) argument
1063 getUBwcSize(int width, int height, int format, const int alignedw, const int alignedh) argument
[all...]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
H A Dgr_buf_mgr.cpp368 uint32_t BufferManager::GetDataAlignment(int format, gralloc1_producer_usage_t prod_usage, argument
371 if (format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED) {
388 int BufferManager::GetHandleFlags(int format, gralloc1_producer_usage_t prod_usage, argument
423 if (IsUBwcEnabled(format, prod_usage, cons_usage)) {
464 int format = descriptor.GetFormat(); local
469 // Get implementation defined format
470 int gralloc_format = allocator_->GetImplDefinedFormat(prod_usage, cons_usage, format);
484 data.align = GetDataAlignment(format, prod_usage, cons_usage);
509 flags = GetHandleFlags(format, prod_usage, cons_usage);
520 format,
551 int format = va_arg(args, int); local
582 int format = va_arg(args, int); local
642 int format = va_arg(args, int); local
774 int format = va_arg(args, int); local
797 int format = va_arg(args, int); local
[all...]
/hardware/qcom/display/msm8909w_3100/sdm/include/core/
H A Dlayer_buffer.h53 /* All RGB formats, Any new format will be added towards end of this group to maintain backward
68 kFormatRGBA8888Ubwc, //!< UBWC aligned RGBA8888 format
69 kFormatRGBX8888Ubwc, //!< UBWC aligned RGBX8888 format
70 kFormatBGR565Ubwc, //!< UBWC aligned BGR565 format
79 kFormatRGBA1010102Ubwc, //!< UBWC aligned RGBA1010102 format
80 kFormatRGBX1010102Ubwc, //!< UBWC aligned RGBX1010102 format
83 /* All YUV-Planar formats, Any new format will be added towards end of this group to maintain
96 /* All YUV-Semiplanar formats, Any new format will be added towards end of this group to
129 kFormatYCbCr420SPVenusUbwc, //!< UBWC aligned YCbCr420SemiPlanarVenus format
142 kFormatYCbCr420TP10Ubwc, //!< UBWC aligned YCbCr420TP10 format
233 LayerBufferFormat format = kFormatRGBA8888; //!< Format of the buffer content. member in struct:sdm::LayerBuffer
[all...]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
H A Dblit_engine_c2d.cpp139 int BlitEngineC2d::AllocateBlitTargetBuffers(uint32_t width, uint32_t height, uint32_t format, argument
156 status = alloc_buffer(&blit_target_buffer_[i], width, height, format, usage);
190 buffer.format = hnd->format;
265 if (Is10BitFormat(layer->input_buffer.format)) {
371 // Allocate a single buffer of RGBA8888 format
388 layer->input_buffer.format = kFormatRGBA8888Ubwc;
511 src.format = hnd->format;
529 dst.format
[all...]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
H A Dhwc_layers.cpp122 LayerBufferFormat format = GetSDMFormat(handle->format, handle->flags); local
123 if ((format != layer_buffer->format) || (UINT32(aligned_width) != layer_buffer->width) ||
129 layer_buffer->format = format;
217 layer_->input_buffer.format = kFormatARGB8888;
409 LayerBufferFormat format = kFormatInvalid; local
413 format = kFormatRGBA8888Ubwc;
416 format
[all...]
/hardware/qcom/display/msm8960/libgralloc/
H A Dgralloc_priv.h182 int format; member in struct:private_handle_t
193 int format,int width, int height, int eFd = -1,
198 format(format), width(width), height(height),
192 private_handle_t(int fd, int size, int flags, int bufferType, int format,int width, int height, int eFd = -1, int eOffset = 0, int eBase = 0) argument
/hardware/qcom/display/msm8996/libgralloc/
H A Dalloc_controller.cpp167 int f = hnd->format;
182 bool isUncompressedRgbFormat(int format) argument
186 switch (format)
217 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument
220 bool ubwc_enabled = isUBwcEnabled(format, usage);
223 if (isUncompressedRgbFormat(format) == true) {
224 int tileEnabled = ubwc_enabled || isMacroTileEnabled(format, usage);
225 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h);
227 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h);
232 switch (format)
324 getGpuAlignedWidthHeight(int width, int height, int format, int tile_enabled, int& aligned_w, int& aligned_h) argument
382 isUBWCSupportedByGPU(int format) argument
520 isMacroTileEnabled(int format, int usage) argument
553 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument
683 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument
701 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument
719 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tiled, unsigned int& size) argument
782 int format = hnd->format; local
873 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument
923 isUBwcFormat(int format) argument
936 isUBwcSupported(int format) argument
957 isUBwcEnabled(int format, int usage) argument
991 getYuvUBwcWidthHeight(int width, int height, int format, int& aligned_w, int& aligned_h) argument
1064 getUBwcSize(int width, int height, int format, const int alignedw, const int alignedh) argument
[all...]
/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_allocator.cpp179 // For same format type, find the descriptor with bigger size
200 int format = descriptor.GetFormat(); local
206 if (IsUBwcEnabled(format, prod_usage, cons_usage)) {
207 return GetUBwcSize(width, height, format, alignedw, alignedh);
210 if (IsUncompressedRGBFormat(format)) {
211 uint32_t bpp = GetBppForUncompressedRGB(format);
216 if (IsCompressedRGBFormat(format)) {
222 switch (format) {
247 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width & 1) || (height & 1))) {
248 ALOGE("w or h is odd for the YV12 format");
297 GetBufferSizeAndDimensions(int width, int height, int format, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument
357 int format = hnd->format; local
447 GetImplDefinedFormat(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage, int format) argument
486 IsUBwcFormat(int format) argument
495 IsUBwcSupported(int format) argument
601 IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage) argument
633 GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, unsigned int *aligned_h) argument
702 GetUBwcSize(int width, int height, int format, unsigned int alignedw, unsigned int alignedh) argument
770 int format = descriptor.GetFormat(); local
[all...]

Completed in 2428 milliseconds

<<11121314151617181920>>