Searched refs:mirror_mode_ar (Results 1 – 1 of 1) sorted by relevance
1014 float mirror_mode_ar = static_cast<float>(mirror_mode_info->width) / in GetMirrorModeCTM() local1017 if (mirror_mode_ar > native_mode_ar) { // Letterboxing in GetMirrorModeCTM()1020 ctm.y_scale = mirror_mode_ar / native_mode_ar; in GetMirrorModeCTM()1021 ctm.y_offset = (native_mode_ar / mirror_mode_ar - 1.0) * 0.5; in GetMirrorModeCTM()1024 if (native_mode_ar > mirror_mode_ar) { // Pillarboxing in GetMirrorModeCTM()1027 ctm.x_scale = native_mode_ar / mirror_mode_ar; in GetMirrorModeCTM()1028 ctm.x_offset = (mirror_mode_ar / native_mode_ar - 1.0) * 0.5; in GetMirrorModeCTM()