Searched refs:format (Results 201 - 225 of 902) sorted by relevance

1234567891011>>

/hardware/qcom/display/msm8998/libgralloc1/
H A Dgr_buf_descriptor.h66 void SetColorFormat(int format) { format_ = format; } argument
H A Dgr_priv_handle.h78 int format; member in struct:private_handle_t
106 int format,
119 format(format),
137 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) argument
138 : private_handle_t(fd, -1, PRIV_FLAGS_CLIENT_ALLOCATED, w, h, 0, 0, format, buf_type, size,
170 "prod_usage:0x%" PRIx64" cons_usage:0x%" PRIx64 " format:0x%x layer_count: %d",
173 hnd->format, hnd->layer_count);
180 int GetColorFormat() const { return format; }
99 private_handle_t(int fd, int meta_fd, int flags, int width, int height, int uw, int uh, int format, int buf_type, unsigned int size, gralloc1_producer_usage_t prod_usage = GRALLOC1_PRODUCER_USAGE_NONE, gralloc1_consumer_usage_t cons_usage = GRALLOC1_CONSUMER_USAGE_NONE) argument
/hardware/qcom/display/msm8998/sdm/include/utils/
H A Dconstants.h54 #define IS_RGB_FORMAT(format) (((format) < kFormatYCbCr420Planar) ? true: false)
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/
H A Dmm_jpegdec_test.c76 int format; member in struct:__anon2495
208 void chromaScale(mm_jpeg_color_format format, double *cScale) argument
212 switch(format) {
232 LOGE("color format Error");
255 chromaScale(p_input->format, &cScale);
272 p_params->color_format = p_input->format;
278 p_params->dest_buf[0].format = MM_JPEG_FMT_YUV;
294 p_params->src_main_buf[0].format = MM_JPEG_FMT_BITSTREAM;
328 fprintf(stderr, " -F FORMAT\t\tDefault image format:\n");
365 int format local
[all...]
/hardware/qcom/display/msm8909/libcopybit/
H A Dcopybit_c2d.cpp178 int format; member in struct:bufferInfo
258 /* convert COPYBIT_FORMAT to C2D format */
259 static int get_format(int format) { argument
260 switch (format) {
277 default: ALOGE("%s: invalid format (0x%x",
278 __FUNCTION__, format);
302 * \brief Get the bpp for a particular color format
303 * \param color format
398 static int is_supported_rgb_format(int format) argument
400 switch(format) {
415 get_num_planes(int format) argument
432 is_supported_yuv_format(int format) argument
446 is_valid_destination_format(int format) argument
460 int format = info.format; local
[all...]
/hardware/qcom/display/msm8909w_3100/libcopybit/
H A Dcopybit_c2d.cpp178 int format; member in struct:bufferInfo
258 /* convert COPYBIT_FORMAT to C2D format */
259 static int get_format(int format) { argument
260 switch (format) {
277 default: ALOGE("%s: invalid format (0x%x",
278 __FUNCTION__, format);
302 * \brief Get the bpp for a particular color format
303 * \param color format
398 static int is_supported_rgb_format(int format) argument
400 switch(format) {
415 get_num_planes(int format) argument
432 is_supported_yuv_format(int format) argument
446 is_valid_destination_format(int format) argument
460 int format = info.format; local
[all...]
/hardware/qcom/display/msm8996/libcopybit/
H A Dcopybit_c2d.cpp178 int format; member in struct:bufferInfo
258 /* convert COPYBIT_FORMAT to C2D format */
259 static int get_format(int format) { argument
260 switch (format) {
277 default: ALOGE("%s: invalid format (0x%x",
278 __FUNCTION__, format);
302 * \brief Get the bpp for a particular color format
303 * \param color format
398 static int is_supported_rgb_format(int format) argument
400 switch(format) {
415 get_num_planes(int format) argument
432 is_supported_yuv_format(int format) argument
446 is_valid_destination_format(int format) argument
460 int format = info.format; local
[all...]
/hardware/qcom/display/msm8998/libcopybit/
H A Dcopybit_c2d.cpp176 int format; member in struct:bufferInfo
256 /* convert COPYBIT_FORMAT to C2D format */
257 static int get_format(int format) { argument
258 switch (format) {
275 default: ALOGE("%s: invalid format (0x%x",
276 __FUNCTION__, format);
300 * \brief Get the bpp for a particular color format
301 * \param color format
396 static int is_supported_rgb_format(int format) argument
398 switch(format) {
413 get_num_planes(int format) argument
430 is_supported_yuv_format(int format) argument
444 is_valid_destination_format(int format) argument
458 int format = info.format; local
[all...]
/hardware/libhardware/include/hardware/
H A Daudio.h140 * Return the audio format - e.g. AUDIO_FORMAT_PCM_16_BIT
147 int (*set_format)(struct audio_stream *stream, audio_format_t format);
570 audio_format_t format = s->get_format(s); local
572 if (audio_has_proportional_frames(format)) {
573 chan_samp_sz = audio_bytes_per_sample(format);
586 audio_format_t format = s->common.get_format(&s->common); local
588 if (audio_has_proportional_frames(format)) {
589 chan_samp_sz = audio_bytes_per_sample(format);
602 audio_format_t format = s->common.get_format(&s->common); local
604 if (audio_has_proportional_frames(format)) {
[all...]
/hardware/qcom/display/msm8909/sdm/libs/hwc/
H A Dhwc_tonemapper.cpp61 DisplayError ToneMapSession::AllocateIntermediateBuffers(int w, int h, int format, int usage) { argument
63 int status = alloc_buffer(&intermediate_buffer_[i], w, h, format, usage);
107 tone_map_config_.format = layer->request.format;
119 (layer->request.format == tone_map_config_.format) &&
315 int status, format; local
324 status = buffer_allocator_.SetBufferInfo(layer->request.format, &format, &usage);
326 INT(layer->request.height), format, usag
[all...]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
H A Dhwc_tonemapper.cpp61 DisplayError ToneMapSession::AllocateIntermediateBuffers(int w, int h, int format, int usage) { argument
63 int status = alloc_buffer(&intermediate_buffer_[i], w, h, format, usage);
107 tone_map_config_.format = layer->request.format;
119 (layer->request.format == tone_map_config_.format) &&
315 int status, format; local
324 status = buffer_allocator_.SetBufferInfo(layer->request.format, &format, &usage);
326 INT(layer->request.height), format, usag
[all...]
/hardware/qcom/display/msm8084/libcopybit/
H A Dcopybit_c2d.cpp176 int format; member in struct:bufferInfo
256 /* convert COPYBIT_FORMAT to C2D format */
257 static int get_format(int format) { argument
258 switch (format) {
271 default: ALOGE("%s: invalid format (0x%x",
272 __FUNCTION__, format);
296 * \brief Get the bpp for a particular color format
297 * \param color format
394 static int is_supported_rgb_format(int format) argument
396 switch(format) {
408 get_num_planes(int format) argument
425 is_supported_yuv_format(int format) argument
439 is_valid_destination_format(int format) argument
453 int format = info.format; local
[all...]
/hardware/qcom/display/msm8226/libcopybit/
H A Dcopybit_c2d.cpp176 int format; member in struct:bufferInfo
256 /* convert COPYBIT_FORMAT to C2D format */
257 static int get_format(int format) { argument
258 switch (format) {
273 default: ALOGE("%s: invalid format (0x%x",
274 __FUNCTION__, format);
298 * \brief Get the bpp for a particular color format
299 * \param color format
399 static int is_supported_rgb_format(int format) argument
401 switch(format) {
414 get_num_planes(int format) argument
431 is_supported_yuv_format(int format) argument
445 is_valid_destination_format(int format) argument
459 int format = info.format; local
[all...]
/hardware/qcom/display/msm8960/libcopybit/
H A Dcopybit_c2d.cpp176 int format; member in struct:bufferInfo
254 /* convert COPYBIT_FORMAT to C2D format */
255 static int get_format(int format) { argument
256 switch (format) {
269 default: ALOGE("%s: invalid format (0x%x",
270 __FUNCTION__, format);
294 * \brief Get the bpp for a particular color format
295 * \param color format
384 static int is_supported_rgb_format(int format) argument
386 switch(format) {
398 get_num_planes(int format) argument
415 is_supported_yuv_format(int format) argument
429 is_valid_destination_format(int format) argument
443 int format = info.format; local
[all...]
/hardware/qcom/display/msm8994/libcopybit/
H A Dcopybit_c2d.cpp175 int format; member in struct:bufferInfo
255 /* convert COPYBIT_FORMAT to C2D format */
256 static int get_format(int format) { argument
257 switch (format) {
274 default: ALOGE("%s: invalid format (0x%x",
275 __FUNCTION__, format);
299 * \brief Get the bpp for a particular color format
300 * \param color format
400 static int is_supported_rgb_format(int format) argument
402 switch(format) {
417 get_num_planes(int format) argument
434 is_supported_yuv_format(int format) argument
448 is_valid_destination_format(int format) argument
462 int format = info.format; local
[all...]
/hardware/interfaces/camera/common/1.0/default/
H A DCameraParameters.cpp37 const char CameraParameters::KEY_PREVIEW_FORMAT[] = "preview-format";
38 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS[] = "preview-format-values";
45 const char CameraParameters::KEY_PICTURE_FORMAT[] = "picture-format";
46 const char CameraParameters::KEY_SUPPORTED_PICTURE_FORMATS[] = "picture-format-values";
91 const char CameraParameters::KEY_VIDEO_FRAME_FORMAT[] = "video-frame-format";
423 void CameraParameters::setPreviewFormat(const char *format) argument
425 set(KEY_PREVIEW_FORMAT, format);
455 void CameraParameters::setPictureFormat(const char *format) argument
457 set(KEY_PICTURE_FORMAT, format);
519 int CameraParameters::previewFormatToEnum(const char* format) { argument
[all...]
/hardware/qcom/display/msm8084/libgralloc/
H A Dgpu.cpp57 int format, int width, int height)
66 if(format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED)
110 // Per the camera spec ITU 709 format should be set only for
112 // It should be set to ITU 601 full range format for any other
152 if(isMacroTileEnabled(format, usage)) {
159 bufferType, format, width, height, eData.fd, eData.offset,
259 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, argument
267 int grallocFormat = format;
270 //If input format is HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED then based on
271 //the usage bits, gralloc assigns a format
55 gralloc_alloc_buffer(size_t size, int usage, buffer_handle_t* pHandle, int bufferType, int format, int width, int height) argument
352 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
362 gralloc_alloc_size(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride, int bufferSize) argument
[all...]
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
H A Dhwc_display.cpp612 if (Is10BitFormat(sdm_client_target->input_buffer.format)) {
745 HWC2::Error HWCDisplay::GetClientTargetSupport(uint32_t width, uint32_t height, int32_t format, argument
754 LayerBufferFormat sdm_format = GetSDMFormat(format, 0);
1304 LayerBufferFormat format = kFormatInvalid; local
1308 format = kFormatRGBA8888Ubwc;
1311 format = kFormatRGBX8888Ubwc;
1314 format = kFormatBGR565Ubwc;
1319 format = kFormatYCbCr420SPVenusUbwc;
1322 format = kFormatRGBA1010102Ubwc;
1325 format
1606 int format = HAL_PIXEL_FORMAT_RGBA_8888; local
1619 buffer_allocator_->GetAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, usage, local
1622 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, local
[all...]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
H A Dhwc_display.cpp715 HWC2::Error HWCDisplay::GetClientTargetSupport(uint32_t width, uint32_t height, int32_t format, argument
720 if (format != HAL_PIXEL_FORMAT_RGBA_8888 || dataspace != HAL_DATASPACE_UNKNOWN ||
1247 LayerBufferFormat format = kFormatInvalid; local
1251 format = kFormatRGBA8888Ubwc;
1254 format = kFormatRGBX8888Ubwc;
1257 format = kFormatBGR565Ubwc;
1262 format = kFormatYCbCr420SPVenusUbwc;
1265 format = kFormatRGBA1010102Ubwc;
1268 format = kFormatRGBX1010102Ubwc;
1271 format
1525 int format = HAL_PIXEL_FORMAT_RGBA_8888; local
1538 buffer_allocator_->GetAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, usage, local
1541 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, local
[all...]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
H A Domx_video_encoder.cpp251 m_sInPortDef.format.video.cMIMEType = "YUV420";
252 m_sInPortDef.format.video.nFrameWidth = OMX_CORE_QCIF_WIDTH;
253 m_sInPortDef.format.video.nFrameHeight = OMX_CORE_QCIF_HEIGHT;
254 m_sInPortDef.format.video.nStride = OMX_CORE_QCIF_WIDTH;
255 m_sInPortDef.format.video.nSliceHeight = OMX_CORE_QCIF_HEIGHT;
256 m_sInPortDef.format.video.nBitrate = 64000;
257 m_sInPortDef.format.video.xFramerate = 15 << 16;
258 m_sInPortDef.format.video.eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar;
259 m_sInPortDef.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused;
277 m_sOutPortDef.format
[all...]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
H A Dhwc_display.cpp583 if (Is10BitFormat(sdm_client_target->input_buffer.format) || extended_range) {
713 HWC2::Error HWCDisplay::GetClientTargetSupport(uint32_t width, uint32_t height, int32_t format, argument
718 if (format != HAL_PIXEL_FORMAT_RGBA_8888 && format != HAL_PIXEL_FORMAT_RGBA_1010102) {
719 DLOGW("Unsupported format = %d", format);
1240 LayerBufferFormat format = kFormatInvalid; local
1244 format = kFormatRGBA8888Ubwc;
1247 format = kFormatRGBX8888Ubwc;
1250 format
1504 int format = HAL_PIXEL_FORMAT_RGBA_8888; local
1514 buffer_allocator_->GetAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, usage, local
1517 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, local
[all...]
/hardware/google/easel/amber/camera/libhdrplusclient/
H A DHdrPlusClientUtils.cpp33 switch (streamConfig.image.format) {
75 ALOGE("%s: Format %d is not supported.", __FUNCTION__, streamConfig.image.format);
82 if (streamConfig.image.format != HAL_PIXEL_FORMAT_YCrCb_420_SP &&
83 streamConfig.image.format != HAL_PIXEL_FORMAT_RGB_888) {
84 ALOGE("%s: format 0x%x is not supported.", __FUNCTION__, streamConfig.image.format);
122 if (streamConfig.image.format != HAL_PIXEL_FORMAT_YCrCb_420_SP) {
123 ALOGE("%s: format 0x%x is not supported.", __FUNCTION__, streamConfig.image.format);
/hardware/libhardware_legacy/audio/
H A DAudioDumpInterface.h40 int format,
49 virtual int format() const;
82 int format,
90 virtual int format() const;
123 int *format=0,
149 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount);
151 virtual AudioStreamIn* openInputStream(uint32_t devices, int *format, uint32_t *channels,
H A DAudioHardwareStub.cpp46 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
49 status_t lStatus = out->set(format, channels, sampleRate);
65 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate,
74 status_t lStatus = in->set(format, channels, sampleRate, acoustics);
121 if (pFormat) *pFormat = format();
150 snprintf(buffer, SIZE, "\tformat: %d\n", format());
197 snprintf(buffer, SIZE, "\tformat: %d\n", format());
45 openOutputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument
64 openInputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, AudioSystem::audio_in_acoustics acoustics) argument
/hardware/qcom/display/msm8226/liboverlay/
H A DoverlayMdpRot.cpp48 return mRotImgInfo.dst.format;
54 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format);
57 return utils::Whf(alW, alH, mRotImgInfo.dst.format);
63 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format);
104 mRotImgInfo.src.format = whf.format;
157 mRotImgInfo.dst.height, mRotImgInfo.dst.format);

Completed in 837 milliseconds

1234567891011>>