Home
last modified time | relevance | path

Searched refs:UINT32 (Results 1 – 25 of 141) sorted by relevance

123456

/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_info.cpp98 bw_info->total_bw_limit[index] = UINT32(hw_resource->max_bandwidth_low); in GetDynamicBWLimits()
109 bw_info->pipe_bw_limit[kBwDefault] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
111 bw_info->pipe_bw_limit[kBwCamera] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
113 bw_info->pipe_bw_limit[kBwVFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
115 bw_info->pipe_bw_limit[kBwHFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
117 bw_info->total_bw_limit[kBwDefault] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
119 bw_info->total_bw_limit[kBwCamera] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
121 bw_info->total_bw_limit[kBwVFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
123 bw_info->total_bw_limit[kBwHFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
158 hw_resource_->hw_version = UINT32(atoi(tokens[1])); // HW Version 3/5 in GetHWResourceInfo()
[all …]
Dhw_primary.cpp170 config.x_pixels = UINT32(atoi(line.c_str() + xpos + 1)); in InitializeConfigs()
171 config.y_pixels = UINT32(atoi(line.c_str() + ypos + 1)); in InitializeConfigs()
177 active_config_index_ = UINT32(display_configs_.size() - 1); in InitializeConfigs()
184 *count = IsResolutionSwitchEnabled() ? UINT32(display_configs_.size()) : 1; in GetNumDisplayAttributes()
234 var_screeninfo.width = UINT32(((FLOAT(var_screeninfo.xres) * 25.4f)/320.0f) + 0.5f); in PopulateDisplayAttributes()
235 var_screeninfo.height = UINT32(((FLOAT(var_screeninfo.yres) * 25.4f)/320.0f) + 0.5f); in PopulateDisplayAttributes()
252 display_attributes_.vsync_period_ns = UINT32(1000000000L / display_attributes_.fps); in PopulateDisplayAttributes()
376 mdp_commit.left_roi.x = UINT32(left_roi.left); in Validate()
377 mdp_commit.left_roi.y = UINT32(left_roi.top); in Validate()
378 mdp_commit.left_roi.w = UINT32(left_roi.right - left_roi.left); in Validate()
[all …]
Dhw_device.cpp194 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Validate()
232 mdp_buffer.comp_ratio.numer = UINT32(hw_layers->config[i].compression * 1000); in Validate()
302 mdp_out_layer_.buffer.comp_ratio.numer = UINT32(hw_layers->output_compression * 1000); in Validate()
356 mdp_commit.dest_scaler_cnt = UINT32(hw_layer_info.dest_scale_info_map.size()); in Validate()
416 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Commit()
495 mdp_commit.flags &= UINT32(~MDP_VALIDATE_LAYER); in Commit()
571 mdp_commit.flags &= UINT32(~MDP_VALIDATE_LAYER); in Flush()
710 target->x = UINT32(source.left); in SetRect()
711 target->y = UINT32(source.top); in SetRect()
712 target->w = UINT32(source.right) - target->x; in SetRect()
[all …]
Dhw_scale.cpp164 mdp_scale->num_ext_pxls_left[i] = UINT32(plane.left.extension); in SetHWScaleData()
168 mdp_scale->num_ext_pxls_top[i] = UINT32(plane.top.extension); in SetHWScaleData()
169 mdp_scale->top_ftch[i] = UINT32(plane.top.overfetch); in SetHWScaleData()
170 mdp_scale->top_rpt[i] = UINT32(plane.top.repeat); in SetHWScaleData()
172 mdp_scale->num_ext_pxls_right[i] = UINT32(plane.right.extension); in SetHWScaleData()
176 mdp_scale->num_ext_pxls_btm[i] = UINT32(plane.bottom.extension); in SetHWScaleData()
177 mdp_scale->btm_ftch[i] = UINT32(plane.bottom.overfetch); in SetHWScaleData()
178 mdp_scale->btm_rpt[i] = UINT32(plane.bottom.repeat); in SetHWScaleData()
182 mdp_scale->preload_x[i] = UINT32(plane.preload_x); in SetHWScaleData()
183 mdp_scale->preload_y[i] = UINT32(plane.preload_y); in SetHWScaleData()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_info.cpp98 bw_info->total_bw_limit[index] = UINT32(hw_resource->max_bandwidth_low); in GetDynamicBWLimits()
109 bw_info->pipe_bw_limit[kBwDefault] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
111 bw_info->pipe_bw_limit[kBwCamera] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
113 bw_info->pipe_bw_limit[kBwVFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
115 bw_info->pipe_bw_limit[kBwHFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
117 bw_info->total_bw_limit[kBwDefault] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
119 bw_info->total_bw_limit[kBwCamera] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
121 bw_info->total_bw_limit[kBwVFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
123 bw_info->total_bw_limit[kBwHFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
158 hw_resource_->hw_revision = UINT32(atoi(tokens[1])); // HW Rev, v1/v2 in GetHWResourceInfo()
[all …]
Dhw_primary.cpp170 config.x_pixels = UINT32(atoi(line.c_str() + xpos + 1)); in InitializeConfigs()
171 config.y_pixels = UINT32(atoi(line.c_str() + ypos + 1)); in InitializeConfigs()
177 active_config_index_ = UINT32(display_configs_.size() - 1); in InitializeConfigs()
184 *count = IsResolutionSwitchEnabled() ? UINT32(display_configs_.size()) : 1; in GetNumDisplayAttributes()
234 var_screeninfo.width = UINT32(((FLOAT(var_screeninfo.xres) * 25.4f)/320.0f) + 0.5f); in PopulateDisplayAttributes()
235 var_screeninfo.height = UINT32(((FLOAT(var_screeninfo.yres) * 25.4f)/320.0f) + 0.5f); in PopulateDisplayAttributes()
252 display_attributes_.vsync_period_ns = UINT32(1000000000L / display_attributes_.fps); in PopulateDisplayAttributes()
376 mdp_commit.left_roi.x = UINT32(left_roi.left); in Validate()
377 mdp_commit.left_roi.y = UINT32(left_roi.top); in Validate()
378 mdp_commit.left_roi.w = UINT32(left_roi.right - left_roi.left); in Validate()
[all …]
Dhw_device.cpp190 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Validate()
228 mdp_buffer.comp_ratio.numer = UINT32(hw_layers->config[i].compression * 1000); in Validate()
298 mdp_out_layer_.buffer.comp_ratio.numer = UINT32(hw_layers->output_compression * 1000); in Validate()
352 mdp_commit.dest_scaler_cnt = UINT32(hw_layer_info.dest_scale_info_map.size()); in Validate()
412 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Commit()
491 mdp_commit.flags &= UINT32(~MDP_VALIDATE_LAYER); in Commit()
567 mdp_commit.flags &= UINT32(~MDP_VALIDATE_LAYER); in Flush()
706 target->x = UINT32(source.left); in SetRect()
707 target->y = UINT32(source.top); in SetRect()
708 target->w = UINT32(source.right) - target->x; in SetRect()
[all …]
Dhw_scale.cpp164 mdp_scale->num_ext_pxls_left[i] = UINT32(plane.left.extension); in SetHWScaleData()
168 mdp_scale->num_ext_pxls_top[i] = UINT32(plane.top.extension); in SetHWScaleData()
169 mdp_scale->top_ftch[i] = UINT32(plane.top.overfetch); in SetHWScaleData()
170 mdp_scale->top_rpt[i] = UINT32(plane.top.repeat); in SetHWScaleData()
172 mdp_scale->num_ext_pxls_right[i] = UINT32(plane.right.extension); in SetHWScaleData()
176 mdp_scale->num_ext_pxls_btm[i] = UINT32(plane.bottom.extension); in SetHWScaleData()
177 mdp_scale->btm_ftch[i] = UINT32(plane.bottom.overfetch); in SetHWScaleData()
178 mdp_scale->btm_rpt[i] = UINT32(plane.bottom.repeat); in SetHWScaleData()
182 mdp_scale->preload_x[i] = UINT32(plane.preload_x); in SetHWScaleData()
183 mdp_scale->preload_y[i] = UINT32(plane.preload_y); in SetHWScaleData()
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_info.cpp119 bw_info->total_bw_limit[index] = UINT32(hw_resource->max_bandwidth_low); in GetDynamicBWLimits()
130 bw_info->pipe_bw_limit[kBwDefault] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
132 bw_info->pipe_bw_limit[kBwCamera] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
134 bw_info->pipe_bw_limit[kBwVFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
136 bw_info->pipe_bw_limit[kBwHFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
138 bw_info->total_bw_limit[kBwDefault] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
140 bw_info->total_bw_limit[kBwCamera] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
142 bw_info->total_bw_limit[kBwVFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
144 bw_info->total_bw_limit[kBwHFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
173 hw_resource->hw_revision = UINT32(atoi(tokens[1])); // HW Rev, v1/v2 in GetHWResourceInfo()
[all …]
Dhw_primary.cpp178 config.x_pixels = UINT32(atoi(line.c_str() + xpos + 1)); in InitializeConfigs()
179 config.y_pixels = UINT32(atoi(line.c_str() + ypos + 1)); in InitializeConfigs()
185 active_config_index_ = UINT32(display_configs_.size() - 1); in InitializeConfigs()
196 *count = IsResolutionSwitchEnabled() ? UINT32(display_configs_.size()) : 1; in GetNumDisplayAttributes()
246 var_screeninfo.width = UINT32(((FLOAT(var_screeninfo.xres) * 25.4f)/160.0f) + 0.5f); in PopulateDisplayAttributes()
247 var_screeninfo.height = UINT32(((FLOAT(var_screeninfo.yres) * 25.4f)/160.0f) + 0.5f); in PopulateDisplayAttributes()
263 display_attributes_.vsync_period_ns = UINT32(1000000000L / display_attributes_.fps); in PopulateDisplayAttributes()
383 mdp_commit.left_roi.x = UINT32(left_roi.left); in Validate()
384 mdp_commit.left_roi.y = UINT32(left_roi.top); in Validate()
385 mdp_commit.left_roi.w = UINT32(left_roi.right - left_roi.left); in Validate()
[all …]
Dhw_scale.cpp161 mdp_scale->num_ext_pxls_left[i] = UINT32(plane.left.extension); in SetHWScaleData()
165 mdp_scale->num_ext_pxls_top[i] = UINT32(plane.top.extension); in SetHWScaleData()
166 mdp_scale->top_ftch[i] = UINT32(plane.top.overfetch); in SetHWScaleData()
167 mdp_scale->top_rpt[i] = UINT32(plane.top.repeat); in SetHWScaleData()
169 mdp_scale->num_ext_pxls_right[i] = UINT32(plane.right.extension); in SetHWScaleData()
173 mdp_scale->num_ext_pxls_btm[i] = UINT32(plane.bottom.extension); in SetHWScaleData()
174 mdp_scale->btm_ftch[i] = UINT32(plane.bottom.overfetch); in SetHWScaleData()
175 mdp_scale->btm_rpt[i] = UINT32(plane.bottom.repeat); in SetHWScaleData()
179 mdp_scale->preload_x[i] = UINT32(plane.preload_x); in SetHWScaleData()
180 mdp_scale->preload_y[i] = UINT32(plane.preload_y); in SetHWScaleData()
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_info.cpp98 bw_info->total_bw_limit[index] = UINT32(hw_resource->max_bandwidth_low); in GetDynamicBWLimits()
109 bw_info->pipe_bw_limit[kBwDefault] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
111 bw_info->pipe_bw_limit[kBwCamera] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
113 bw_info->pipe_bw_limit[kBwVFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
115 bw_info->pipe_bw_limit[kBwHFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
117 bw_info->total_bw_limit[kBwDefault] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
119 bw_info->total_bw_limit[kBwCamera] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
121 bw_info->total_bw_limit[kBwVFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
123 bw_info->total_bw_limit[kBwHFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits()
158 hw_resource_->hw_revision = UINT32(atoi(tokens[1])); // HW Rev, v1/v2 in GetHWResourceInfo()
[all …]
Dhw_primary.cpp170 config.x_pixels = UINT32(atoi(line.c_str() + xpos + 1)); in InitializeConfigs()
171 config.y_pixels = UINT32(atoi(line.c_str() + ypos + 1)); in InitializeConfigs()
177 active_config_index_ = UINT32(display_configs_.size() - 1); in InitializeConfigs()
184 *count = IsResolutionSwitchEnabled() ? UINT32(display_configs_.size()) : 1; in GetNumDisplayAttributes()
234 var_screeninfo.width = UINT32(((FLOAT(var_screeninfo.xres) * 25.4f)/320.0f) + 0.5f); in PopulateDisplayAttributes()
235 var_screeninfo.height = UINT32(((FLOAT(var_screeninfo.yres) * 25.4f)/320.0f) + 0.5f); in PopulateDisplayAttributes()
252 display_attributes_.vsync_period_ns = UINT32(1000000000L / display_attributes_.fps); in PopulateDisplayAttributes()
376 mdp_commit.left_roi.x = UINT32(left_roi.left); in Validate()
377 mdp_commit.left_roi.y = UINT32(left_roi.top); in Validate()
378 mdp_commit.left_roi.w = UINT32(left_roi.right - left_roi.left); in Validate()
[all …]
Dhw_device.cpp191 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Validate()
229 mdp_buffer.comp_ratio.numer = UINT32(hw_layers->config[i].compression * 1000); in Validate()
297 mdp_out_layer_.buffer.comp_ratio.numer = UINT32(hw_layers->output_compression * 1000); in Validate()
351 mdp_commit.dest_scaler_cnt = UINT32(hw_layer_info.dest_scale_info_map.size()); in Validate()
408 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Commit()
487 mdp_commit.flags &= UINT32(~MDP_VALIDATE_LAYER); in Commit()
563 mdp_commit.flags &= UINT32(~MDP_VALIDATE_LAYER); in Flush()
702 target->x = UINT32(source.left); in SetRect()
703 target->y = UINT32(source.top); in SetRect()
704 target->w = UINT32(source.right) - target->x; in SetRect()
[all …]
/hardware/qcom/display/msm8996/sdm/include/utils/
Dconstants.h39 #define UINT32(exp) static_cast<uint32_t>(exp) macro
47 #define ROUND_UP_ALIGN_DOWN(value, a) FLOAT(FloorToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
48 #define ROUND_UP_ALIGN_UP(value, a) FLOAT(CeilToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
/hardware/qcom/display/msm8909/sdm/include/utils/
Dconstants.h39 #define UINT32(exp) static_cast<uint32_t>(exp) macro
47 #define ROUND_UP_ALIGN_DOWN(value, a) FLOAT(FloorToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
48 #define ROUND_UP_ALIGN_UP(value, a) FLOAT(CeilToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
/hardware/qcom/display/msm8998/sdm/include/utils/
Dconstants.h39 #define UINT32(exp) static_cast<uint32_t>(exp) macro
47 #define ROUND_UP_ALIGN_DOWN(value, a) FLOAT(FloorToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
48 #define ROUND_UP_ALIGN_UP(value, a) FLOAT(CeilToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/
Dconstants.h39 #define UINT32(exp) static_cast<uint32_t>(exp) macro
47 #define ROUND_UP_ALIGN_DOWN(value, a) FLOAT(FloorToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
48 #define ROUND_UP_ALIGN_UP(value, a) FLOAT(CeilToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_virtual.cpp81 status = hwc_display_virtual->SetFrameBufferResolution(UINT32(fb_width), UINT32(fb_height)); in Create()
239 variable_info.x_pixels = UINT32(meta_data->bufferDim.sliceWidth); in SetOutputSliceFromMetadata()
240 variable_info.y_pixels = UINT32(meta_data->bufferDim.sliceHeight); in SetOutputSliceFromMetadata()
242 variable_info.x_pixels = UINT32(fbt_width); in SetOutputSliceFromMetadata()
243 variable_info.y_pixels = UINT32(fbt_height); in SetOutputSliceFromMetadata()
288 output_buffer_->width = UINT32(aligned_width); in SetOutputBuffer()
289 output_buffer_->height = UINT32(aligned_height); in SetOutputBuffer()
290 output_buffer_->unaligned_width = UINT32(unaligned_width); in SetOutputBuffer()
291 output_buffer_->unaligned_height = UINT32(unaligned_height); in SetOutputBuffer()
322 output_buffer_->planes[0].stride = UINT32(output_handle->width); in CommitOutputBufferParams()
Dhwc_buffer_allocator.cpp76 data.align = UINT32(getpagesize()); in AllocateBuffer()
111 alloc_buffer_info->stride = UINT32(aligned_width); in AllocateBuffer()
112 alloc_buffer_info->aligned_width = UINT32(aligned_width); in AllocateBuffer()
113 alloc_buffer_info->aligned_height = UINT32(aligned_height); in AllocateBuffer()
162 uint32_t align = UINT32(getpagesize()); in GetBufferSize()
296 allocated_buffer_info->stride = UINT32(width_aligned); in GetAllocatedBufferInfo()
297 allocated_buffer_info->aligned_width = UINT32(width_aligned); in GetAllocatedBufferInfo()
298 allocated_buffer_info->aligned_height = UINT32(height_aligned); in GetAllocatedBufferInfo()
299 allocated_buffer_info->size = UINT32(buffer_size); in GetAllocatedBufferInfo()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_virtual.cpp81 status = hwc_display_virtual->SetFrameBufferResolution(UINT32(fb_width), UINT32(fb_height)); in Create()
239 variable_info.x_pixels = UINT32(meta_data->bufferDim.sliceWidth); in SetOutputSliceFromMetadata()
240 variable_info.y_pixels = UINT32(meta_data->bufferDim.sliceHeight); in SetOutputSliceFromMetadata()
242 variable_info.x_pixels = UINT32(fbt_width); in SetOutputSliceFromMetadata()
243 variable_info.y_pixels = UINT32(fbt_height); in SetOutputSliceFromMetadata()
288 output_buffer_->width = UINT32(aligned_width); in SetOutputBuffer()
289 output_buffer_->height = UINT32(aligned_height); in SetOutputBuffer()
290 output_buffer_->unaligned_width = UINT32(unaligned_width); in SetOutputBuffer()
291 output_buffer_->unaligned_height = UINT32(unaligned_height); in SetOutputBuffer()
322 output_buffer_->planes[0].stride = UINT32(output_handle->width); in CommitOutputBufferParams()
Dhwc_buffer_allocator.cpp76 data.align = UINT32(getpagesize()); in AllocateBuffer()
111 alloc_buffer_info->stride = UINT32(aligned_width); in AllocateBuffer()
112 alloc_buffer_info->aligned_width = UINT32(aligned_width); in AllocateBuffer()
113 alloc_buffer_info->aligned_height = UINT32(aligned_height); in AllocateBuffer()
162 uint32_t align = UINT32(getpagesize()); in GetBufferSize()
296 allocated_buffer_info->stride = UINT32(width_aligned); in GetAllocatedBufferInfo()
297 allocated_buffer_info->aligned_width = UINT32(width_aligned); in GetAllocatedBufferInfo()
298 allocated_buffer_info->aligned_height = UINT32(height_aligned); in GetAllocatedBufferInfo()
299 allocated_buffer_info->size = UINT32(buffer_size); in GetAllocatedBufferInfo()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_virtual.cpp81 status = hwc_display_virtual->SetFrameBufferResolution(UINT32(fb_width), UINT32(fb_height)); in Create()
239 variable_info.x_pixels = UINT32(meta_data->bufferDim.sliceWidth); in SetOutputSliceFromMetadata()
240 variable_info.y_pixels = UINT32(meta_data->bufferDim.sliceHeight); in SetOutputSliceFromMetadata()
242 variable_info.x_pixels = UINT32(fbt_width); in SetOutputSliceFromMetadata()
243 variable_info.y_pixels = UINT32(fbt_height); in SetOutputSliceFromMetadata()
284 output_buffer_->width = UINT32(output_buffer_width); in SetOutputBuffer()
285 output_buffer_->height = UINT32(output_buffer_height); in SetOutputBuffer()
311 output_buffer_->planes[0].stride = UINT32(output_handle->width); in CommitOutputBufferParams()
/hardware/qcom/display/msm8998/sdm/libs/utils/
Ddebug.cpp64 *active_ms = UINT32(active_val); in GetIdleTimeoutMs()
65 *inactive_ms = UINT32(inactive_val); in GetIdleTimeoutMs()
194 *width = UINT32(stoi(str)); in GetMixerResolution()
195 *height = UINT32(stoi(str.substr(str.find('x') + 1))); in GetMixerResolution()
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
Ddebug.cpp64 *active_ms = UINT32(active_val); in GetIdleTimeoutMs()
65 *inactive_ms = UINT32(inactive_val); in GetIdleTimeoutMs()
187 *width = UINT32(stoi(str)); in GetMixerResolution()
188 *height = UINT32(stoi(str.substr(str.find('x') + 1))); in GetMixerResolution()

123456