279 Commits

Author SHA1 Message Date
Dean Herbert
c3439a02ef Merge pull request #6403 from frenzibyte/fix-videos
Prefer HDTV / Rec. 709 colorspace for videos with HD resolution and unspecified colorspace
2024-12-08 23:40:58 -08:00
Salman Alshamrani
6ddd9accee Fix enum naming warnings 2024-12-04 06:04:03 -05:00
Salman Alshamrani
7f436d5ff9 Improve commentary 2024-10-29 00:58:46 -04:00
Salman Alshamrani
7cfe36f9df Prefer Rec. 709 colorspace for videos with high resolution and unspecified colorspace 2024-10-29 00:58:46 -04:00
Dean Herbert
b4ed7217c1 Bring back HasFlagsFast
.NET version performs poorly on debug.
2024-08-19 19:40:59 +09:00
Dan Balasescu
b4aa48697d Remove HasFlagFast 2024-07-02 13:26:53 +09:00
Bartłomiej Dach
52e12f8557 Fix video decoding failing on Android due to missing av_dict_{set,free}
Apparently on Android these point to null. Probably related to the fact
that we're not building our own for these platforms yet. Best-effort
fix for now.
2024-06-25 13:50:16 +02:00
Bartłomiej Dach
30cc44df15 Ignore editlist when decoding mp4/mov videos
Closes https://github.com/ppy/osu/issues/13696.

The editlist would cause storyboard videos to not play back the same
way stable (and most other video players) plays them back.
2024-06-14 16:51:43 +02:00
Dan Balasescu
6abe0150fa Merge branch 'master' into linux-load-versioned-ffmpeg-libs 2024-03-26 16:58:37 +09:00
Susko3
b620e6fcb7 Move get entry assembly api to RuntimeInfo
A better place for it, as the entry assembly is queried in non-"debug" situations.
2024-01-31 23:55:13 +01:00
Susko3
50f98806f0 Merge branch 'master' into fix-isDebugBuild-on-android 2024-01-31 23:29:28 +01:00
FreezyLemon
af615a969f Change switch expression back to statement 2024-01-29 10:38:43 +01:00
FreezyLemon
2eee6032fa Only load versioned FFmpeg libraries on Linux
This reduces the likelihood of loading incompatible FFmpeg binaries
2024-01-28 22:18:15 +01:00
FreezyLemon
889b3b069b Log codec ID when decoder not found 2023-11-30 15:32:14 +01:00
Dean Herbert
6e2283284e Merge pull request #5981 from FreezyLemon/reduce-ffmpeg-size 2023-10-03 10:27:16 +09:00
Dean Herbert
ca5eb35dea Merge pull request #5980 from FreezyLemon/stop-loading-avfilter
Remove libavfilter where possible
2023-08-24 12:44:09 +09:00
FreezyLemon
28119b38cd Free AVIOContext and IO buffer 2023-08-24 00:26:51 +02:00
FreezyLemon
a453e65572 Remove unneeded FFmpeg features
Keep pipe protocol even though it's unneeded to
suppress some demuxing warnings (at
almost zero filesize cost)
2023-08-23 15:42:54 +02:00
FreezyLemon
eaf0d4d8ca Remove libavfilter where possible 2023-08-23 14:23:36 +02:00
FreezyLemon
f93e3bf46a Add D3D11VA hwaccel type 2023-08-22 16:04:34 +02:00
Susko3
fabf3d26d0 Merge branch 'master' into fix-IsDebugBuild-on-android 2023-07-23 19:57:59 +02:00
Dean Herbert
75ed421f60 Automated pass 2023-06-24 00:42:48 +09:00
Salman Ahmed
9ccc5d5a10 Update existing usages 2023-03-14 16:13:31 +03:00
Dan Balasescu
751a582ec9 Add missing disposals 2023-02-25 01:18:49 +09:00
Dan Balasescu
056d048d04 Update all other shaders to UBOs 2023-02-25 00:02:30 +09:00
Susko3
bad00445dd Add Assembly.GetEntryAssembly() to banned symbols 2023-02-02 22:29:58 +01:00
Salman Ahmed
e7b7f40a5e Remove #if preprocessors 2022-12-15 10:58:48 +03:00
Salman Ahmed
c40468dbd9 Remove AGffmpeg namespace alias 2022-12-12 20:49:40 +03:00
Salman Ahmed
4633f31fe6 Fix one more case of using AGffmpeg for constants 2022-12-12 20:44:05 +03:00
Dean Herbert
3a8c574716 Merge branch 'master' into net6.0-android 2022-12-09 13:50:26 +09:00
Dan Balasescu
9bbc6a81a2 Partial everything 2022-11-25 18:58:48 +09:00
Dean Herbert
e4c6e84b62 Use explicit type 2022-11-23 18:29:36 +09:00
Igor Pissolati
3eba10149b Correctly return AVERROR_EOF in VideoDecoder
See: 98f6c59f4f/libavformat/avio.h (L405)
2022-11-22 21:15:59 -03:00
Dean Herbert
0da7de6d45 Remove no longer useful GetAppropriateShader method 2022-11-12 17:42:10 +09:00
Thomas Müller-Höhne
15611bf41d Remove non-rounded shaders for fewer draw calls due to shader switching 2022-11-12 15:35:16 +09:00
Huo Yaoyuan
6829e21545 Merge branch 'master' into net6.0-android 2022-11-02 09:29:25 +08:00
Susko3
99328441f3 General fixes around nullability 2022-10-05 23:54:34 +02:00
Susko3
50f506146b Use AsNonNull() where applicable 2022-10-05 23:46:44 +02:00
Salman Ahmed
bdba48b208 Add OpenGL prefix to remaining OpenGL-specific renderer classes 2022-08-25 18:35:51 +03:00
Dan Balasescu
16d1c2d335 Entirely remove GLWrapper, update all references 2022-08-03 14:52:36 +09:00
Dan Balasescu
9878a1f6b2 Allow textures to be uploaded with a known opacity 2022-08-02 19:16:15 +09:00
Dan Balasescu
d239175da4 Merge TextureGL classes 2022-08-02 17:01:40 +09:00
Dan Balasescu
9ec6711a90 Rewrite Texture/TextureAtlas to remove exposed TextureGL 2022-08-02 16:29:48 +09:00
Dan Balasescu
2bc18f34c2 Add IRenderer parameter to VideoDecoder 2022-08-02 16:26:51 +09:00
Dan Balasescu
33647f4b63 Add IRenderer parameter to DrawNode 2022-07-29 22:24:38 +09:00
Huo Yaoyuan
ec5bbf1aa3 Merge branch 'master' 2022-07-08 11:48:29 +08:00
Dean Herbert
7771197f52 Throw away all unused parameters 2022-06-24 14:41:50 +09:00
Dan Balasescu
ba1385330c Automated #nullable processing 2022-06-13 21:57:05 +09:00
Dean Herbert
3cc24a5746 Merge branch 'master' into net6.0-android 2022-05-03 17:23:42 +09:00
Dan Balasescu
247f65670c Merge branch 'master' into net-6.0-or-greater 2022-05-02 21:43:46 +09:00