player: remove unused apect ratio 16:8.1 + add more pixel ratios

This commit is contained in:
Yuriy Liskov
2022-08-06 17:12:50 +03:00
parent 9c274a7c39
commit 809b2a4f61
3 changed files with 5 additions and 3 deletions

View File

@@ -28,7 +28,6 @@ public interface PlaybackEngineController {
float ASPECT_RATIO_1_1 = 1f;
float ASPECT_RATIO_4_3 = 1.33f;
float ASPECT_RATIO_5_4 = 1.25f;
float ASPECT_RATIO_16_8_1 = 1.9753f;
float ASPECT_RATIO_16_9 = 1.77f;
float ASPECT_RATIO_16_10 = 1.6f;
float ASPECT_RATIO_21_9 = 2.33f;

View File

@@ -379,7 +379,11 @@ public class PlayerSettingsPresenter extends BasePresenter<Void> {
pairs.add(new Pair<>("1:1 (16:9 display)", 1.0f));
pairs.add(new Pair<>("1.11111:1 (16:10 display)", 1.11111f));
pairs.add(new Pair<>("1.3333:1 (4:3 display)", 1.3333f));
pairs.add(new Pair<>("0.7619:1 (21:9 display)", 0.7619f));
// There is no display with exact 21:9 proportion???
//pairs.add(new Pair<>("0.7619:1 (21:9 display)", 0.7619f));
pairs.add(new Pair<>("0.75:1 (64:27 display)", 0.75f));
pairs.add(new Pair<>("0.7442:1 (43:18 display)", 0.7442f));
pairs.add(new Pair<>("0.7407:1 (12:5 display)", 0.7407f));
for (Pair<String, Float> pair : pairs) {
options.add(UiOptionItem.from(pair.first,

View File

@@ -352,7 +352,6 @@ public class AppDialogUtil {
pairs.put("1:1", PlaybackEngineController.ASPECT_RATIO_1_1);
pairs.put("4:3", PlaybackEngineController.ASPECT_RATIO_4_3);
pairs.put("5:4", PlaybackEngineController.ASPECT_RATIO_5_4);
pairs.put("16:8.1 (1.9753:1)", PlaybackEngineController.ASPECT_RATIO_16_8_1);
pairs.put("16:9", PlaybackEngineController.ASPECT_RATIO_16_9);
pairs.put("16:10", PlaybackEngineController.ASPECT_RATIO_16_10);
pairs.put("21:9 (2.33:1)", PlaybackEngineController.ASPECT_RATIO_21_9);