Searched defs:format (Results 126 - 150 of 506) sorted by relevance

1234567891011>>

/hardware/qcom/display/msm8226/libcopybit/
H A Dcopybit.cpp124 /** convert COPYBIT_FORMAT to MDP format */
125 static int get_format(int format) { argument
126 switch (format) {
156 img->format = get_format(rhs->format);
255 l->req[i].src.format,
262 l->req[i].dst.format,
438 switch (src->format) {
442 ALOGE ("%s : Unsupported Pixel format %d", __FUNCTION__,
443 src->format);
[all...]
/hardware/qcom/display/msm8226/libgralloc/
H A Dalloc_controller.cpp129 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument
135 if (format <= HAL_PIXEL_FORMAT_BGRA_8888) {
148 switch(format)
182 switch (format)
246 width, height, format, 0,raster_mode, padding_threshold,
364 bool isMacroTileEnabled(int format, int usage) argument
372 // check the format
373 switch(format)
397 unsigned int getSize(int format, int width, int height, const int alignedw, argument
401 switch (format) {
502 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument
520 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument
539 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument
621 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument
[all...]
H A Dgpu.cpp56 int format, int width, int height)
65 if(format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED)
109 // Per the camera spec ITU 709 format should be set only for
111 // It should be set to ITU 601 full range format for any other
151 if(isMacroTileEnabled(format, usage)) {
162 bufferType, format, width, height, eData.fd, eData.offset,
262 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, argument
270 int grallocFormat = format;
273 //If input format is HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED then based on
274 //the usage bits, gralloc assigns a format
54 gralloc_alloc_buffer(unsigned int size, int usage, buffer_handle_t* pHandle, int bufferType, int format, int width, int height) argument
355 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
365 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.cpp315 int format = va_arg(args, int); local
329 hnd->format = format;
340 int format = va_arg(args, int); local
347 hnd->format = format;
355 int format = va_arg(args, int); local
359 0, format, false, alignedw, alignedh);
403 int format = va_arg(args, int); local
408 *tileEnabled = isMacroTileEnabled(format, usag
[all...]
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_ad.cpp190 int format = ovutils::getHALFormat(wb->getOutputFormat()); local
191 if(format < 0) {
192 ALOGE("%s invalid format %d", __func__, format);
198 format, tmpW, tmpH);
H A Dhwc_dump_layers.cpp240 getHalPixelFormatStr(hnd->format, pixFormatStr);
312 getHalPixelFormatStr(hnd->format, pixFormatStr);
322 switch (hnd->format) {
347 " format %s for png encoder",
371 void HwcDebug::getHalPixelFormatStr(int format, char pixFormatStr[]) argument
376 switch(format) {
437 snprintf(pixFormatStr, len, "Unknown0x%X", format);
/hardware/qcom/display/msm8226/liboverlay/
H A DoverlayUtils.cpp85 int getMdpFormat(int format) { argument
86 switch (format) {
124 //NV12 encodeable format maps to the venus format on
136 ALOGE("%s: Unsupported HAL format = 0x%x", __func__, format);
143 // This function returns corresponding tile format
147 int getMdpFormat(int format, bool tileEnabled) argument
150 return getMdpFormat(format);
152 switch (format) {
[all...]
/hardware/qcom/display/msm8909/gpu_tonemapper/
H A Dglengine.cpp138 unsigned int engine_load3DTexture(void *colorMapData, int sz, int format) argument
156 unsigned int engine_load1DTexture(void *data, int sz, int format) argument
/hardware/qcom/display/msm8909/gralloc/
H A Dgr_allocator.cpp171 // For same format type, find the descriptor with bigger size
189 gralloc1_consumer_usage_t cons_usage, int format) {
190 int gr_format = format;
192 // If input format is HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED then based on
193 // the usage bits, gralloc assigns a format.
194 if (format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED ||
195 format == HAL_PIXEL_FORMAT_YCbCr_420_888) {
208 if (format == HAL_PIXEL_FORMAT_YCbCr_420_888) {
214 // XXX: If we still haven't set a format, default to RGBA8888
216 } else if (format
188 GetImplDefinedFormat(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage, int format) argument
[all...]
/hardware/qcom/display/msm8909/libcopybit/
H A Dcopybit.cpp130 /** convert COPYBIT_FORMAT to MDP format */
131 static int get_format(int format) { argument
132 switch (format) {
167 img->format = get_format(rhs->format);
271 l->req[i].src.format,
278 l->req[i].dst.format,
458 switch (src->format) {
464 ALOGE ("%s : Unsupported Pixel format %d", __FUNCTION__,
465 src->format);
[all...]
/hardware/qcom/display/msm8909/libgralloc/
H A Dgpu.cpp53 int format, int width, int height)
62 format,
72 if(format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED)
138 if (isUBwcEnabled(format, usage)) {
164 bufferType, format, alignedw, alignedh,
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.
272 if(format
51 gralloc_alloc_buffer(unsigned int size, int usage, buffer_handle_t* pHandle, int bufferType, int format, int width, int height) argument
376 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
386 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.cpp320 int format = va_arg(args, int); local
335 height, format, 0, alignedw, alignedh);
340 hnd->format = format;
350 int format = va_arg(args, int); local
354 0, format, 0, alignedw, alignedh);
395 int format = va_arg(args, int); local
400 *tileEnabled = isUBwcEnabled(format, usage);
402 height, format, usage, *alignedWidth, *alignedHeight);
/hardware/qcom/display/msm8909/libqdutils/
H A Dqd_utils.cpp285 const char *GetHALPixelFormatString(int format) { argument
286 switch (format) {
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
H A Dhw_info_drm.cpp88 #define PRINTLOG(tag, method, format, buf) \
90 va_start(list, format); \
91 vsnprintf(buf, sizeof(buf), format, list); \
95 void Error(const char *format, ...) { PRINTLOG(kTagNone, Error, format, buf_); } argument
96 void Warning(const char *format, ...) { PRINTLOG(kTagDriverConfig, Warning, format, buf_); } argument
97 void Info(const char *format, ...) { PRINTLOG(kTagDriverConfig, Info, format, buf_); } argument
98 void Debug(const char *format, argument
99 Verbose(const char *format, ...) argument
[all...]
/hardware/qcom/display/msm8909/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...]
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/msm8909/sdm/libs/hwc2/
H A Dhwc_buffer_allocator.cpp90 int format; local
92 int error = SetBufferInfo(buffer_config.format, &format, &alloc_flags);
118 Perform_(gralloc_device_, GRALLOC1_MODULE_PERFORM_ALLOCATE_BUFFER, width, height, format,
155 void HWCBufferAllocator::GetAlignedWidthAndHeight(int width, int height, int format, argument
168 Perform_(gralloc_device_, GRALLOC_MODULE_PERFORM_GET_ATTRIBUTES, width, height, format,
178 int format; local
189 if (SetBufferInfo(buffer_config.format, &format, &alloc_flags) < 0) {
199 gralloc1::BufferInfo info(width, height, format, producer_usag
204 SetBufferInfo(LayerBufferFormat format, int *target, uint64_t *flags) argument
331 int format; local
367 int format = HAL_PIXEL_FORMAT_RGBA_8888; local
[all...]
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/
H A Dglengine.cpp138 unsigned int engine_load3DTexture(void *colorMapData, int sz, int format) argument
156 unsigned int engine_load1DTexture(void *data, int sz, int format) argument
/hardware/qcom/display/msm8909w_3100/libcopybit/
H A Dcopybit.cpp130 /** convert COPYBIT_FORMAT to MDP format */
131 static int get_format(int format) { argument
132 switch (format) {
167 img->format = get_format(rhs->format);
271 l->req[i].src.format,
278 l->req[i].dst.format,
458 switch (src->format) {
464 ALOGE ("%s : Unsupported Pixel format %d", __FUNCTION__,
465 src->format);
[all...]
/hardware/qcom/display/msm8909w_3100/libgralloc/
H A Dgpu.cpp53 int format, int width, int height)
62 format,
72 if(format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED)
138 if (isUBwcEnabled(format, usage)) {
164 bufferType, format, alignedw, alignedh,
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.
272 if(format
51 gralloc_alloc_buffer(unsigned int size, int usage, buffer_handle_t* pHandle, int bufferType, int format, int width, int height) argument
376 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
386 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.cpp320 int format = va_arg(args, int); local
335 height, format, 0, alignedw, alignedh);
340 hnd->format = format;
350 int format = va_arg(args, int); local
354 0, format, 0, alignedw, alignedh);
395 int format = va_arg(args, int); local
400 *tileEnabled = isUBwcEnabled(format, usage);
402 height, format, usage, *alignedWidth, *alignedHeight);
/hardware/qcom/display/msm8909w_3100/libgralloc1/
H A Dgr_allocator.cpp171 // For same format type, find the descriptor with bigger size
189 gralloc1_consumer_usage_t cons_usage, int format) {
190 int gr_format = format;
192 // If input format is HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED then based on
193 // the usage bits, gralloc assigns a format.
194 if (format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED ||
195 format == HAL_PIXEL_FORMAT_YCbCr_420_888) {
208 if (format == HAL_PIXEL_FORMAT_YCbCr_420_888) {
214 // XXX: If we still haven't set a format, default to RGBA8888
216 } else if (format
188 GetImplDefinedFormat(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage, int format) argument
[all...]
/hardware/qcom/display/msm8909w_3100/libqdutils/
H A Dqd_utils.cpp285 const char *GetHALPixelFormatString(int format) { argument
286 switch (format) {
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
H A Dhw_info_drm.cpp88 #define PRINTLOG(method, format, buf) \
90 va_start(list, format); \
91 vsnprintf(buf, sizeof(buf), format, list); \
95 void Error(const char *format, ...) { PRINTLOG(Error, format, buf_); } argument
96 void Warning(const char *format, ...) { PRINTLOG(Warning, format, buf_); } argument
97 void Info(const char *format, ...) { PRINTLOG(Info, format, buf_); } argument
98 void Debug(const char *format, argument
[all...]
/hardware/qcom/display/msm8909w_3100/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...]

Completed in 298 milliseconds

1234567891011>>