Home
last modified time | relevance | path

Searched refs:frame_rate (Results 1 – 25 of 92) sorted by relevance

1234

/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_external.cpp253 uint32_t frame_rate = (uint32_t)(fps * 1000); in RoundToStandardFPS() local
256 if (frame_rate == 0) { in RoundToStandardFPS()
263 if (standard_fps[i] > frame_rate) { in RoundToStandardFPS()
265 if ((standard_fps[i] - frame_rate) > (frame_rate - standard_fps[i-1])) { in RoundToStandardFPS()
281 if (layer->frame_rate != 0) { in PrepareDynamicRefreshRate()
282 metadata_refresh_rate_ = SanitizeRefreshRate(layer->frame_rate); in PrepareDynamicRefreshRate()
286 layer->frame_rate = current_refresh_rate_; in PrepareDynamicRefreshRate()
287 } else if (!layer->frame_rate) { in PrepareDynamicRefreshRate()
288 layer->frame_rate = current_refresh_rate_; in PrepareDynamicRefreshRate()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_external.cpp253 uint32_t frame_rate = (uint32_t)(fps * 1000); in RoundToStandardFPS() local
256 if (frame_rate == 0) { in RoundToStandardFPS()
263 if (standard_fps[i] > frame_rate) { in RoundToStandardFPS()
265 if ((standard_fps[i] - frame_rate) > (frame_rate - standard_fps[i-1])) { in RoundToStandardFPS()
281 if (layer->frame_rate != 0) { in PrepareDynamicRefreshRate()
282 metadata_refresh_rate_ = SanitizeRefreshRate(layer->frame_rate); in PrepareDynamicRefreshRate()
286 layer->frame_rate = current_refresh_rate_; in PrepareDynamicRefreshRate()
287 } else if (!layer->frame_rate) { in PrepareDynamicRefreshRate()
288 layer->frame_rate = current_refresh_rate_; in PrepareDynamicRefreshRate()
/hardware/google/camera/common/profiler/
Dprofiler.cc267 TimeSlot& frame_rate = frame_rate_map_[name]; in ProfileFrameRate() local
268 if (frame_rate.start == 0) { in ProfileFrameRate()
269 frame_rate.start = GetBootTimeNs(); in ProfileFrameRate()
270 frame_rate.count = 0; in ProfileFrameRate()
271 frame_rate.end = 0; in ProfileFrameRate()
273 ++frame_rate.count; in ProfileFrameRate()
274 frame_rate.end = GetBootTimeNs(); in ProfileFrameRate()
292 float avg_fps = frame_rate.count * kNsPerSec / in ProfileFrameRate()
293 static_cast<float>(frame_rate.duration()); in ProfileFrameRate()
399 TimeSlot& frame_rate = frame_rate_map_[node_name]; in PrintResult() local
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_external.cpp249 uint32_t frame_rate = (uint32_t)(fps * 1000); in RoundToStandardFPS() local
254 if (standard_fps[i] > frame_rate) { in RoundToStandardFPS()
256 if ((standard_fps[i] - frame_rate) > (frame_rate - standard_fps[i-1])) { in RoundToStandardFPS()
272 metadata_refresh_rate_ = SanitizeRefreshRate(layer->frame_rate); in PrepareDynamicRefreshRate()
273 layer->frame_rate = current_refresh_rate_; in PrepareDynamicRefreshRate()
Dhwc_display.cpp1196 layer->frame_rate = RoundToStandardFPS(meta_data->refreshrate); in SetMetaData()
1336 uint32_t frame_rate = (uint32_t)(fps); in RoundToStandardFPS() local
1340 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS()
1347 return frame_rate; in RoundToStandardFPS()
1371 if (layer->frame_rate > metadata_refresh_rate_) { in PrepareDynamicRefreshRate()
1372 metadata_refresh_rate_ = SanitizeRefreshRate(layer->frame_rate); in PrepareDynamicRefreshRate()
1374 layer->frame_rate = current_refresh_rate_; in PrepareDynamicRefreshRate()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2_params.cpp591 … Q16ToFraction(portDefn->format.video.xFramerate, drv_ctx.frame_rate.fps_numerator, in set_parameter()
592 drv_ctx.frame_rate.fps_denominator); in set_parameter()
593 if (!drv_ctx.frame_rate.fps_numerator) { in set_parameter()
595 drv_ctx.frame_rate.fps_numerator = 30; in set_parameter()
597 if (drv_ctx.frame_rate.fps_denominator) in set_parameter()
598 drv_ctx.frame_rate.fps_numerator = (int) in set_parameter()
599 … drv_ctx.frame_rate.fps_numerator / drv_ctx.frame_rate.fps_denominator; in set_parameter()
600 drv_ctx.frame_rate.fps_denominator = 1; in set_parameter()
601 frm_int = drv_ctx.frame_rate.fps_denominator * 1e6 / in set_parameter()
602 drv_ctx.frame_rate.fps_numerator; in set_parameter()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_layers.cpp522 uint32_t frame_rate = layer->frame_rate; in SetMetaData() local
524 frame_rate = RoundToStandardFPS(fps); in SetMetaData()
545 (frame_rate != layer->frame_rate) || (s3d_format != layer_buffer->s3d_format)) { in SetMetaData()
549 layer->frame_rate = frame_rate; in SetMetaData()
594 uint32_t frame_rate = (uint32_t)(fps); in RoundToStandardFPS() local
598 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS()
605 return frame_rate; in RoundToStandardFPS()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_layers.cpp585 uint32_t frame_rate = layer->frame_rate; in SetMetaData() local
587 frame_rate = RoundToStandardFPS(fps); in SetMetaData()
608 (frame_rate != layer->frame_rate) || (s3d_format != layer_buffer->s3d_format)) { in SetMetaData()
612 layer->frame_rate = frame_rate; in SetMetaData()
730 uint32_t frame_rate = (uint32_t)(fps); in RoundToStandardFPS() local
734 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS()
741 return frame_rate; in RoundToStandardFPS()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_layers.cpp679 uint32_t frame_rate = layer->frame_rate; in SetMetaData() local
681 frame_rate = RoundToStandardFPS(fps); in SetMetaData()
706 (frame_rate != layer->frame_rate) || (s3d_format != layer_buffer->s3d_format)) { in SetMetaData()
710 layer->frame_rate = frame_rate; in SetMetaData()
788 uint32_t frame_rate = (uint32_t)(fps); in RoundToStandardFPS() local
792 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS()
799 return frame_rate; in RoundToStandardFPS()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.cpp681 uint32_t frame_rate = layer->frame_rate; in SetMetaData() local
683 frame_rate = RoundToStandardFPS(FLOAT(fps)); in SetMetaData()
704 (frame_rate != layer->frame_rate) || (s3d_format != layer_buffer->s3d_format)) { in SetMetaData()
708 layer->frame_rate = frame_rate; in SetMetaData()
787 uint32_t frame_rate = (uint32_t)(fps); in RoundToStandardFPS() local
791 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS()
798 return frame_rate; in RoundToStandardFPS()
/hardware/google/gchips/include/
Dcsc.h161 unsigned int frame_rate; member
339 unsigned int frame_rate);
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_layers.cpp869 uint32_t frame_rate = layer->frame_rate; in SetMetaData() local
871 frame_rate = (fps != 0) ? RoundToStandardFPS(fps) : layer->frame_rate; in SetMetaData()
896 (frame_rate != layer->frame_rate) || (s3d_format != layer_buffer->s3d_format)) { in SetMetaData()
898 layer->frame_rate = frame_rate; in SetMetaData()
1035 uint32_t frame_rate = (uint32_t)(fps); in RoundToStandardFPS() local
1039 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS()
1046 return frame_rate; in RoundToStandardFPS()
/hardware/qcom/sm7250/display/composer/
Dhwc_layers.cpp961 uint32_t frame_rate = layer->frame_rate; in SetMetaData() local
963 frame_rate = (fps != 0) ? RoundToStandardFPS(fps) : layer->frame_rate; in SetMetaData()
981 if ((interlace != layer_buffer->flags.interlace) || (frame_rate != layer->frame_rate)) { in SetMetaData()
983 layer->frame_rate = frame_rate; in SetMetaData()
1119 int32_t frame_rate = (uint32_t)(fps); in RoundToStandardFPS() local
1123 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS()
1130 return frame_rate; in RoundToStandardFPS()
/hardware/qcom/display/msm8996/sdm/include/private/
Dhw_info_types.h262 uint32_t frame_rate = 0; member
270 frame_rate == config.frame_rate &&
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp1520 drv_ctx.frame_rate.fps_numerator = DEFAULT_FPS; in component_init()
1521 drv_ctx.frame_rate.fps_denominator = 1; in component_init()
3049 Q16ToFraction(portDefn->format.video.xFramerate, drv_ctx.frame_rate.fps_numerator, in set_parameter()
3050 drv_ctx.frame_rate.fps_denominator); in set_parameter()
3051 if(!drv_ctx.frame_rate.fps_numerator) in set_parameter()
3054 drv_ctx.frame_rate.fps_numerator = 30; in set_parameter()
3056 if(drv_ctx.frame_rate.fps_denominator) in set_parameter()
3057 drv_ctx.frame_rate.fps_numerator = (int) in set_parameter()
3058 drv_ctx.frame_rate.fps_numerator / drv_ctx.frame_rate.fps_denominator; in set_parameter()
3059 drv_ctx.frame_rate.fps_denominator = 1; in set_parameter()
[all …]
/hardware/qcom/display/msm8998/sdm/include/private/
Dhw_info_types.h291 uint32_t frame_rate = 0; member
300 frame_rate == config.frame_rate &&
/hardware/qcom/display/msm8909w_3100/sdm/include/private/
Dhw_info_types.h297 uint32_t frame_rate = 0; member
306 frame_rate == config.frame_rate &&
/hardware/qcom/display/msm8909/sdm/include/private/
Dhw_info_types.h298 uint32_t frame_rate = 0; member
307 frame_rate == config.frame_rate &&
/hardware/qcom/display/msm8996/sdm/include/core/
Dlayer_stack.h288 uint32_t frame_rate = 0; //!< Rate at which frames are being updated for member
/hardware/qcom/display/msm8998/sdm/include/core/
Dlayer_stack.h351 uint32_t frame_rate = 0; //!< Rate at which frames are being updated for member
/hardware/qcom/display/msm8909w_3100/sdm/include/core/
Dlayer_stack.h351 uint32_t frame_rate = 0; //!< Rate at which frames are being updated for member
/hardware/qcom/display/msm8909/sdm/include/core/
Dlayer_stack.h351 uint32_t frame_rate = 0; //!< Rate at which frames are being updated for member
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Dh264_utils.h426 void get_frame_rate(OMX_U32 *frame_rate);
465 OMX_U32 frame_rate; variable
/hardware/qcom/sm8150/media/libarbitrarybytes/inc/
Dh264_utils.h383 void get_frame_rate(OMX_U32 *frame_rate);
419 OMX_U32 frame_rate; variable
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dh264_utils.h426 void get_frame_rate(OMX_U32 *frame_rate);
465 OMX_U32 frame_rate; variable

1234