Skip to content

Commit 32b2f0e

Browse files
committed
Adjust baseline to match S25 Ultra lens output
1 parent 9f8c077 commit 32b2f0e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

app/src/main/java/org/thoughtcrime/securesms/mms/PushMediaConstraints.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ private static int[] IMAGE_DIMEN(int n) {
124124
}
125125

126126
public enum MediaConfig {
127-
LEVEL_1_LOW_MEMORY(true, 1, (5 * MB), IMAGE_DIMEN(3000), 75, TranscodingPreset.LEVEL_1),
127+
LEVEL_1_LOW_MEMORY(true, 1, (10 * MB), IMAGE_DIMEN(4032), 100, TranscodingPreset.LEVEL_1),
128128

129-
LEVEL_1(false, 1, (10 * MB), IMAGE_DIMEN(6000), 75, TranscodingPreset.LEVEL_1),
130-
LEVEL_2(false, 2, (int) (15 * MB), IMAGE_DIMEN(9000), 75, TranscodingPreset.LEVEL_2),
131-
LEVEL_3(false, 3, (int) (20 * MB), IMAGE_DIMEN(12000), 100, TranscodingPreset.LEVEL_3),
132-
LEVEL_3_H265(false, 4, (int) (20 * MB), IMAGE_DIMEN(12000), 100, TranscodingPreset.LEVEL_3_H265);
129+
LEVEL_1(false, 1, (25 * MB), IMAGE_DIMEN(4032), 100, TranscodingPreset.LEVEL_1),
130+
LEVEL_2(false, 2, (int) (50 * MB), IMAGE_DIMEN(8192), 100, TranscodingPreset.LEVEL_2),
131+
LEVEL_3(false, 3, (int) (75 * MB), IMAGE_DIMEN(16320), 100, TranscodingPreset.LEVEL_3),
132+
LEVEL_3_H265(false, 4, (int) (75 * MB), IMAGE_DIMEN(16320), 100, TranscodingPreset.LEVEL_3_H265);
133133

134134
private final boolean isLowMemory;
135135
private final int level;

0 commit comments

Comments
 (0)