Skip to content

Commit a086d93

Browse files
committed
Adjust baseline to match S25 Ultra lens output
1 parent ab9680d commit a086d93

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
@@ -129,12 +129,12 @@ private static int[] IMAGE_DIMEN(int n) {
129129
}
130130

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

134-
LEVEL_1(false, 1, (10 * MB), IMAGE_DIMEN(6000), 75, TranscodingPreset.LEVEL_1),
135-
LEVEL_2(false, 2, (int) (15 * MB), IMAGE_DIMEN(9000), 75, TranscodingPreset.LEVEL_2),
136-
LEVEL_3(false, 3, (int) (20 * MB), IMAGE_DIMEN(12000), 100, TranscodingPreset.LEVEL_3),
137-
LEVEL_3_H265(false, 4, (int) (20 * MB), IMAGE_DIMEN(12000), 100, TranscodingPreset.LEVEL_3_H265);
134+
LEVEL_1(false, 1, (25 * MB), IMAGE_DIMEN(4032), 100, TranscodingPreset.LEVEL_1),
135+
LEVEL_2(false, 2, (int) (50 * MB), IMAGE_DIMEN(8192), 100, TranscodingPreset.LEVEL_2),
136+
LEVEL_3(false, 3, (int) (75 * MB), IMAGE_DIMEN(16320), 100, TranscodingPreset.LEVEL_3),
137+
LEVEL_3_H265(false, 4, (int) (75 * MB), IMAGE_DIMEN(16320), 100, TranscodingPreset.LEVEL_3_H265);
138138

139139
private final boolean isLowMemory;
140140
private final int level;

0 commit comments

Comments
 (0)