henrik karlsson
b5164ac775
Fixes to make modules compile with IWYU. We've added to IWYU toolchain so it compiles "orphaned" headers which does not have a owning cpp file. This identified lots of headers that couldn't be compiled by themselves (or if they were to included first)
...
Change consist of only forward declaration and additional includes
#preflight 63789c1de30d438849c48188
#rb none
[CL 23218412 by henrik karlsson in ue5-main branch]
2022-11-21 03:22:23 -05:00
Jens Petersam
7f42c513ee
Fixed audio sample dropping to consider the sequence index so that future samples will be dropped when looping.
...
#jira UE-168732
#preflight 6364ea52de2c4dbb5d8df8fc
#rnx
[CL 23008515 by Jens Petersam in ue5-main branch]
2022-11-07 02:11:21 -05:00
Thomas Engel
80f653e67a
Temporary fix for MFW's facade pruging video frames way too eagerly
...
#rnx
#rb none
#preflight 634f3064a1527f6b3bf1895e
[CL 22613770 by Thomas Engel in ue5-main branch]
2022-10-18 19:10:31 -04:00
Thomas Engel
be3e46930d
Bringing back video sample purging logic to player facade
...
#fyi jens.petersam
#preflight 634f13fe69246074db9f7758
[CL 22611621 by Thomas Engel in ue5-main branch]
2022-10-18 17:23:14 -04:00
Jens Petersam
0e578d6fdc
MediaUtils: Fixed incorrect threshold value due to implicit type casting.
...
#jira UE-166191
#preflight 634e59133d74ebc7389b9190
#fyi Thomas.Engel, zak.middleton
#rnx
[CL 22595190 by Jens Petersam in ue5-main branch]
2022-10-18 04:04:52 -04:00
Zak Middleton
1bf4564e0b
#ue5 - Type conversion fixes for modules: LiveLinkInterface, MainFrame, MediaAssets, MediaUtils, MergeActors, MoviePlayer.
...
#jira UE-160835
#rb Andrew.Davidson
#preflight 633de11c0c2d12a8584b2132
[CL 22434409 by Zak Middleton in ue5-main branch]
2022-10-10 13:51:07 -04:00
tony wong
f594075cef
MediaAssets: Replaced UMediaPlayer::GetNumTile with generic GetMediaInfo.
...
#JIRA: UE-161945
#preflight 6320d0ec506f1a33e06634db
[REVIEW] [at]thomas.engel
#rb thomas.engel
#rnx
[CL 21993269 by tony wong in ue5-main branch]
2022-09-13 17:31:52 -04:00
thomas engel
988b156147
Fixing blocked/synced p[layback timeouts with enabled audio playback on player setup (syncing will be disabled)
...
#jira UE-163216
#preflight 631f7198ff52bbd5b2e0b6f0
[CL 21975717 by thomas engel in ue5-main branch]
2022-09-12 19:25:10 -04:00
bryan sefcik
cb0456c6d4
Cleaned up build.cs files by removing any include paths that were already being added by UBT. This was done to help identify how include paths are being added and to help with future refactoring.
...
#jira
#preflight 631a5c04967ffc68fbf0dd8f
[CL 21911226 by bryan sefcik in ue5-main branch]
2022-09-08 21:44:02 -04:00
thomas engel
cf2fdef8a8
Adding additional precautions to deal with slightly "off-sh" blocked ranges being set to control "blocked synced" plabck in the MFW player facade
...
#jira UE-16283, UE-162855
#rb jens.petersam
[FYI] tony.wong
#preflight 631909dcec45fbf3d7054802
[CL 21892717 by thomas engel in ue5-main branch]
2022-09-08 09:17:37 -04:00
Tony Wong
95815ccb48
Mediaframework: Can retrieve the number of tiles from the player.
...
#JIRA: UE-161944
#preflight 63128908a20b67673b8ddf86
#review-21769798 @eric.renaudhoude @thomas.engel
#rb eric.renaudhoude, thomas.engel
#rnx
[CL 21852042 by Tony Wong in ue5-main branch]
2022-09-07 11:46:18 -04:00
Tony Wong
ff7953c0e8
MediaFramework: Added URL to warning message when blocking playback is disabled so the offending player can be identified.
...
#JIRA: UE-162723
#preflight 63126288da63cdf17099c30c
#rb none
#rnx
[CL 21768211 by Tony Wong in ue5-main branch]
2022-09-02 17:36:34 -04:00
Richard Wallis
45aa65f7e6
Crash fix when mixing 1 channel audio to multiple output channels. Destination buffer was using source channel count for data size multipler - use destination channel count. Found while using single channel float audio from the mic.
...
#jira none
#preflight https://horde.devtools.epicgames.com/job/62fbc4dc542a7a8d7574d901
#rnx
#review-21407801 @Thomas.Engel, @Jens.Petersam
#rb Thomas.Engel, Jens.Petersam
[CL 21422512 by Richard Wallis in ue5-main branch]
2022-08-17 05:09:34 -04:00
Bryan sefcik
b4a6e947d8
Ran IWYU on Public headers under Engine/Source/Runtime/...
...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted. Nothing is removed.
#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira
#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf
[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
Jens Petersam
4891db7400
ElectraPlayer: Sequence index resets to zero on Seek(); player flush in facade is now ignored since it happens async and may empty the sink while a BlockOnRange is waiting for that data; sink flush is now performed on user triggered seek with Electra making sure to not deliver any new samples until the player sample queues have been cleared to prevent spilling of stale data from the queues to the sinks.
...
#jira UE-157298
#rnx
#preflight 62d12dbf3c3df3239033719e
[CL 21108445 by Jens Petersam in ue5-main branch]
2022-07-15 07:58:30 -04:00
Wojciech Krywult
a199c5913f
Fixed uninitialized data access reported by UBSan.
...
#rb eric.mcdaniel
#preflight 62c6015c2823f28cf2ecf33a
#rnx
[CL 20983711 by Wojciech Krywult in ue5-main branch]
2022-07-07 10:23:53 -04:00
Jens Petersam
9a1b8ac83c
Locking the player instance through a local TSharedPtr to avoid it being deleted with the member class pointer becoming invalid during processing.
...
#rnx
#preflight 62a9c95413004691f98503f6
[CL 20668282 by Jens Petersam in ue5-main branch]
2022-06-15 08:11:24 -04:00
Jens Petersam
c0efad5135
ElectraPlayer: Revised buffer handling to support track switching; enabled switching of video tracks for mp4 sources
...
#preflight 6284c3e3925bbe69dfc9d2de
#rnx
[CL 20260057 by Jens Petersam in ue5-main branch]
2022-05-18 09:29:28 -04:00
charles bloom
04ffabc485
ImageWrapper and import/export refactor
...
FImage is now the standard preferred type for a bag of pixels
FImageView can point at pixels without owning an allocation
ERawImageFormat (FImage) converts to ETextureSourceFormat
FImageUtils provides generic load/save and get/set from FImage
major cleanup in the ImageWrappers
new preferred API is through ImageWrapperModule Compress/Decompress
SetRaw/GetRaw functions cleaned up to not have undefined behavior on unexpected formats
ImageWrapper output added for HDR,BMP,TGA
RGBA32F format added and supported throughout import/export
EditorFactories import/export made more generic, most image types handled the same way using FImage now
Deprecate old TSF RGBA order pixel formats
Fix many crashes or bad handling of unusual pixel formats
Pixel access functions should be used instead of switches on pixel type
#preflight 6230ade7e65a7e65d68a187c
#rb julien.stjean,martins.mozeiko,dan.thompson,fabian.giesen
[CL 19397199 by charles bloom in ue5-main branch]
2022-03-15 18:29:37 -04:00
Marc Audy
c43360f47c
Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
...
#[fyi] Aurel.Cordonnier
#ushell-cherrypick of 18448630 by Marc.Audy
#preflight none
[CL 18483677 by Marc Audy in ue5-main branch]
2021-12-17 03:41:59 -05:00
ben walker
8e2a44a674
Added comparison operators to MediaPlayerOptions
...
#rnx
[at]dan.kaufman, [at]anthony.glueck, [at]christopher.daniel, [at]beth.towns, [at]nathan.killeen, [at]dav.harnish
#rb holger.schmidt
#ROBOMERGE-AUTHOR: ben.walker
#ROBOMERGE-SOURCE: CL 18371957 via CL 18372054 via CL 18372064 via CL 18372074 via CL 18434236 via CL 18435618
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)
[CL 18436540 by ben walker in ue5-release-engine-test branch]
2021-12-10 19:13:56 -05:00
aurel cordonnier
69fe095547
Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
...
This represents UE4/Main @17638339 and Dev-PerfTest @17636504
[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
aurel cordonnier
7f517562d5
Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
...
This represents UE4/Main @17430120 and Dev-PerfTest @17437669
[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
jens petersam
f0d5ce9451
ElectraPlayer: Added support for subtitles
...
#ROBOMERGE-SOURCE: CL 16965757 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)
[CL 16965761 by jens petersam in ue5-release-engine-test branch]
2021-07-27 01:53:55 -04:00
thomas engel
4ddd808afd
Fixing up merge error that brought back an older bug when using blocked/synced playback in MFW
...
[FYI] rod.bogart
#rnx
#rb none
#jira none
#ROBOMERGE-SOURCE: CL 16477733 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v823-16466674)
[CL 16478846 by thomas engel in ue5-release-engine-test branch]
2021-05-26 20:19:59 -04:00