aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/core-utils
diff options
context:
space:
mode:
Diffstat (limited to 'shared/core-utils')
-rw-r--r--shared/core-utils/videos/bitrate.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/shared/core-utils/videos/bitrate.ts b/shared/core-utils/videos/bitrate.ts
index 30d22df09..6be027826 100644
--- a/shared/core-utils/videos/bitrate.ts
+++ b/shared/core-utils/videos/bitrate.ts
@@ -40,7 +40,7 @@ const maxBitPerPixel: BitPerPixel = {
40 [VideoResolution.H_4K]: 0.14 40 [VideoResolution.H_4K]: 0.14
41} 41}
42 42
43function getAverageBitrate (options: { 43function getAverageTheoreticalBitrate (options: {
44 resolution: VideoResolution 44 resolution: VideoResolution
45 ratio: number 45 ratio: number
46 fps: number 46 fps: number
@@ -51,7 +51,7 @@ function getAverageBitrate (options: {
51 return targetBitrate 51 return targetBitrate
52} 52}
53 53
54function getMaxBitrate (options: { 54function getMaxTheoreticalBitrate (options: {
55 resolution: VideoResolution 55 resolution: VideoResolution
56 ratio: number 56 ratio: number
57 fps: number 57 fps: number
@@ -62,7 +62,7 @@ function getMaxBitrate (options: {
62 return targetBitrate 62 return targetBitrate
63} 63}
64 64
65function getMinLimitBitrate (options: { 65function getMinTheoreticalBitrate (options: {
66 resolution: VideoResolution 66 resolution: VideoResolution
67 ratio: number 67 ratio: number
68 fps: number 68 fps: number
@@ -76,9 +76,9 @@ function getMinLimitBitrate (options: {
76// --------------------------------------------------------------------------- 76// ---------------------------------------------------------------------------
77 77
78export { 78export {
79 getAverageBitrate, 79 getAverageTheoreticalBitrate,
80 getMaxBitrate, 80 getMaxTheoreticalBitrate,
81 getMinLimitBitrate 81 getMinTheoreticalBitrate
82} 82}
83 83
84// --------------------------------------------------------------------------- 84// ---------------------------------------------------------------------------