Searched defs:format (Results 151 - 175 of 506) sorted by relevance

1234567891011>>

/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/msm8909w_3100/sdm/libs/hwc2/
H A Dhwc_buffer_allocator.cpp72 int format; local
74 int error = SetBufferInfo(buffer_config.format, &format, &alloc_flags);
96 Perform_(gralloc_device_, GRALLOC1_MODULE_PERFORM_ALLOCATE_BUFFER, width, height, format,
131 void HWCBufferAllocator::GetAlignedWidthAndHeight(int width, int height, int format, argument
144 Perform_(gralloc_device_, GRALLOC_MODULE_PERFORM_GET_ATTRIBUTES, width, height, format,
154 int format; local
165 if (SetBufferInfo(buffer_config.format, &format, &alloc_flags) < 0) {
175 gralloc1::BufferInfo info(width, height, format, producer_usag
180 SetBufferInfo(LayerBufferFormat format, int *target, uint64_t *flags) argument
307 int format; local
343 int format = HAL_PIXEL_FORMAT_RGBA_8888; local
[all...]
/hardware/qcom/display/msm8960/libcopybit/
H A Dcopybit.cpp122 /** convert COPYBIT_FORMAT to MDP format */
123 static int get_format(int format) { argument
124 switch (format) {
150 img->format = get_format(rhs->format);
246 l->req[i].src.format,
253 l->req[i].dst.format,
398 switch (src->format) {
402 ALOGE ("%s : Unsupported Pixel format %d", __FUNCTION__,
403 src->format);
[all...]
H A Dcopybit.h43 * graphics/PixelFormat.java, ui/PixelFormat.h, pixelflinger/format.h
132 /* format COPYBIT_FORMAT_xxx */
133 int32_t format; member in struct:copybit_image_t
/hardware/qcom/display/msm8960/libgralloc/
H A Dalloc_controller.cpp105 int AdrenoMemInfo::getStride(int width, int format) argument
109 if (format <= HAL_PIXEL_FORMAT_BGRA_8888) {
111 switch(format)
132 switch (format)
256 size_t getBufferSizeAndDimensions(int width, int height, int format, argument
261 alignedw = AdrenoMemInfo::getInstance().getStride(width, format);
263 switch (format) {
298 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) {
299 ALOGE("w or h is odd for the YV12 format");
303 if (HAL_PIXEL_FORMAT_NV12_ENCODEABLE == format) {
353 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument
[all...]
H A Dgpu.cpp57 int format, int width, int height)
66 if(format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED)
146 bufferType, format, width, height, eData.fd, eData.offset,
245 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, argument
253 int grallocFormat = format;
256 //If input format is HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED then based on
257 //the usage bits, gralloc assigns a format.
258 if(format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED ||
259 format == HAL_PIXEL_FORMAT_YCbCr_420_888) {
267 else if(format
55 gralloc_alloc_buffer(size_t size, int usage, buffer_handle_t* pHandle, int bufferType, int format, int width, int height) argument
339 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
349 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...]
H A Dmapper.cpp255 //hnd->format holds our implementation defined format
257 switch (hnd->format) {
293 ALOGD("%s: Invalid format passed: 0x%x", __FUNCTION__,
294 hnd->format);
345 int format = va_arg(args, int); local
360 hnd->format = format;
371 int format = va_arg(args, int); local
378 hnd->format
386 int format = va_arg(args, int); local
[all...]
/hardware/qcom/display/msm8994/libcopybit/
H A Dcopybit.cpp125 /** convert COPYBIT_FORMAT to MDP format */
126 static int get_format(int format) { argument
127 switch (format) {
159 img->format = get_format(rhs->format);
258 l->req[i].src.format,
265 l->req[i].dst.format,
441 switch (src->format) {
447 ALOGE ("%s : Unsupported Pixel format %d", __FUNCTION__,
448 src->format);
[all...]
/hardware/qcom/display/msm8994/libgralloc/
H A Dgpu.cpp61 int format, int width, int height)
70 if(format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED)
113 // Per the camera spec ITU 709 format should be set only for
115 // It should be set to ITU 601 full range format for any other
155 if(isMacroTileEnabled(format, usage)) {
159 if (isUBwcEnabled(format, usage)) {
181 bufferType, format, width, height, eData.fd, eData.offset,
280 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, argument
288 int grallocFormat = format;
291 //If input format i
59 gralloc_alloc_buffer(unsigned int size, int usage, buffer_handle_t* pHandle, int bufferType, int format, int width, int height) argument
382 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
392 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/msm8994/libhwcomposer/
H A Dhwc_ad.cpp194 int format = ovutils::getHALFormat(wb->getOutputFormat()); local
195 if(format < 0) {
196 ALOGE("%s invalid format %d", __func__, format);
202 format, tmpW, tmpH);
H A Dhwc_dump_layers.cpp244 getHalPixelFormatStr(hnd->format, pixFormatStr);
316 getHalPixelFormatStr(hnd->format, pixFormatStr);
326 switch (hnd->format) {
355 " format %s for png encoder",
379 void HwcDebug::getHalPixelFormatStr(int format, char pixFormatStr[]) argument
384 switch(format) {
451 snprintf(pixFormatStr, len, "Unknown0x%X", format);
/hardware/qcom/display/msm8994/liboverlay/
H A DoverlayUtils.cpp85 int getMdpFormat(int format) { argument
86 switch (format) {
128 //NV12 encodeable format maps to the venus format on
137 ALOGE("%s: Unsupported HAL format = 0x%x", __func__, format);
144 int getMdpFormat(int format, int flags) argument
151 switch (format) {
161 ALOGE("%s: Unsupported HAL format = 0x%x", __func__, format);
[all...]
/hardware/qcom/display/msm8996/libcopybit/
H A Dcopybit.cpp130 /** convert COPYBIT_FORMAT to MDP format */
131 static int get_format(int format) { argument
132 switch (format) {
165 img->format = get_format(rhs->format);
269 l->req[i].src.format,
276 l->req[i].dst.format,
456 switch (src->format) {
462 ALOGE ("%s : Unsupported Pixel format %d", __FUNCTION__,
463 src->format);
[all...]
/hardware/qcom/display/msm8996/libgralloc/
H A Dgpu.cpp60 int format, int width, int height)
69 if(format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED)
134 if(isMacroTileEnabled(format, usage)) {
138 if (isUBwcEnabled(format, usage)) {
164 bufferType, format, width, height, eData.fd, eData.offset,
261 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, argument
269 int grallocFormat = format;
272 //If input format is HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED then based on
273 //the usage bits, gralloc assigns a format.
274 if(format
58 gralloc_alloc_buffer(unsigned int size, int usage, buffer_handle_t* pHandle, int bufferType, int format, int width, int height) argument
377 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
387 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/msm8996/sdm/libs/hwc/
H A Dhwc_display_virtual.cpp187 buffer_info.buffer_config.format = GetSDMFormat(output_handle->format, output_handle->flags);
209 int output_handle_format = output_handle->format;
214 LayerBufferFormat format = GetSDMFormat(output_handle_format, output_handle->flags); local
215 if (format == kFormatInvalid) {
227 (format != output_buffer_->format)) {
268 int output_handle_format = output_handle->format;
274 output_buffer_->format = GetSDMFormat(output_handle_format, output_handle->flags);
276 if (output_buffer_->format
[all...]
/hardware/qcom/display/msm8998/libcopybit/
H A Dcopybit.cpp128 /** convert COPYBIT_FORMAT to MDP format */
129 static int get_format(int format) { argument
130 switch (format) {
165 img->format = get_format(rhs->format);
269 l->req[i].src.format,
276 l->req[i].dst.format,
456 switch (src->format) {
462 ALOGE ("%s : Unsupported Pixel format %d", __FUNCTION__,
463 src->format);
[all...]
/hardware/qcom/display/msm8998/libqdutils/
H A Dqd_utils.cpp285 const char *GetHALPixelFormatString(int format) { argument
286 switch (format) {
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
H A Dhw_info_drm.cpp78 #define PRINTLOG(method, format, buf) \
80 va_start(list, format); \
81 vsnprintf(buf, sizeof(buf), format, list); \
85 void Error(const char *format, ...) { PRINTLOG(Error, format, buf_); } argument
86 void Warning(const char *format, ...) { PRINTLOG(Warning, format, buf_); } argument
87 void Info(const char *format, ...) { PRINTLOG(Info, format, buf_); } argument
88 void Debug(const char *format, argument
[all...]
/hardware/qcom/msm8960/kernel-headers/linux/
H A Dmsm_audio_aac.h59 signed short format; member in struct:msm_audio_aac_config
/hardware/qcom/msm8960/original-kernel-headers/linux/
H A Dmsm_audio_aac.h56 signed short format; member in struct:msm_audio_aac_config
/hardware/qcom/msm8994/kernel-headers/linux/
H A Dmsm_audio_aac.h59 signed short format; member in struct:msm_audio_aac_config
/hardware/qcom/msm8994/original-kernel-headers/linux/
H A Dmsm_audio_aac.h56 signed short format; member in struct:msm_audio_aac_config
/hardware/qcom/msm8996/kernel-headers/linux/
H A Dmsm_audio_aac.h59 signed short format; member in struct:msm_audio_aac_config
/hardware/qcom/msm8996/original-kernel-headers/linux/
H A Dmsm_audio_aac.h56 signed short format; member in struct:msm_audio_aac_config
/hardware/qcom/msm8998/kernel-headers/linux/
H A Dmsm_audio_aac.h59 signed short format; member in struct:msm_audio_aac_config

Completed in 4481 milliseconds

1234567891011>>