Commit Graph

93 Commits

Author SHA1 Message Date
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
Thomas Engel
3494c5ee18 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

[CL 16477733 by Thomas Engel in ue5-main branch]
2021-05-26 19:02:56 -04:00
Marc Audy
e80ea6b959 Merge from Release-Engine-Staging @ 16444985
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16445122 by Marc Audy in ue5-release-engine-test branch]
2021-05-25 02:43:26 -04:00
aurel cordonnier
8eebe8841f Merge UE5/RET @ 16305968 to UE5/Main
This represents UE4/Main @ 16261013 and Dev-PerfTest @ 16259937

[CL 16306996 by aurel cordonnier in ue5-main branch]
2021-05-12 18:10:03 -04:00
Marc Audy
f02d489290 Update Release-Engine-Test from Release-Engine-Staging @ 16264272
[CL 16264458 by Marc Audy in ue5-release-engine-test branch]
2021-05-11 01:10:20 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
Julien StJean
547c7f160d Optimisation to the legacy texture import and improvement to texture wrapper
Minor change to FImageWrapperBase. GetRaw and GetCompressed now consume the array with the same name instead of having to do a copy of it.
I changed the api IImageWrapper::GetCompressed to return a TArray64<uint8> instead of returning a const TArray64<uint8>&.
Added the format RGBAF to the struct ERGBFormat. Changed the engine code using the EXR image wrapper to reflect that.
The EXR image wrapper now avoid doing an unessary copy of the compressed image when calling compress.

Improvement to the performence of the function UTextureFactory::ImportImage. We now use the magic bytes of the file for certains format to skip some tests.

Here is some performance metrics I captured on my desktop (6 core, 12 threads XEON)

Importing a folder of tiff files (22 files, 4.16 GB Total)
Before: 66.152738 seconds
After: 43.609245 seconds

#jira UEENT-3822
#rb Alexis.Matte

[CL 16128765 by Julien StJean in ue5-main branch]
2021-04-27 11:59:02 -04:00
tony wong
e6ebb960b4 MediaFramework: Thomas's fix for duration assert when playing SimpleComposure.
#JIRA: UE-110061
#rb thomas.engel
#lockdown cristina.riveron
#rnx

#ROBOMERGE-SOURCE: CL 15961383 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v787-15839533)

[CL 15979335 by tony wong in ue5-main branch]
2021-04-12 12:56:26 -04:00
Thomas Engel
9b3c768dbc Refactor to BlockOnRange setup & updates to allow for delayed computations to ensure we got proper information from the player before attempting them
#rb none
#jira none

[CL 15957976 by Thomas Engel in ue5-main branch]
2021-04-08 13:52:55 -04:00
tony wong
ffa3f0badf MediaFramework: Fixed sequence index not increasing when the last block time (ignoring the sequence index) equals the new block time
#JIRA: UE-110061
[at]thomas.engel
#lockdown cristina.riveron
#rnx

#ROBOMERGE-SOURCE: CL 15943548 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v787-15839533)

[CL 15948550 by tony wong in ue5-main branch]
2021-04-07 20:34:07 -04:00
Thomas Engel
f84dc3c2b7 Adding feature flag to Media Player Facade to allow for suport of players that handle flushes on seeks internally
#rb none
#jira none

[CL 15767993 by Thomas Engel in ue5-main branch]
2021-03-22 15:07:03 -04:00
Marc Audy
cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00
Thomas Engel
161888d4fc Enabling blocking for media sample delivery even with players no yet completely started up
#jira UE-96503
#rb none
#rnx

[CL 15253895 by Thomas Engel in ue5-main branch]
2021-01-28 19:11:31 -04:00
Thomas Engel
87e6283ee4 Pulling in changes to make blocked playback work with "V2 players" in MFW
#jira ue-96503
#rb none

[CL 15147060 by Thomas Engel in ue5-main branch]
2021-01-20 15:14:51 -04:00
Thomas Engel
d02a76608b Fixing up a possible crash during shutdown if media playback using the lifecycle manager should be active at the time
#rb none
#rnx

[CL 14993842 by Thomas Engel in ue5-main branch]
2021-01-05 15:06:37 -04:00
Jens Petersam
aac156bb56 MediaUtils: added missing media events to EventToString()
#rb none
#rnx

[CL 14926043 by Jens Petersam in ue5-main branch]
2020-12-15 08:29:04 -04:00
Marc Audy
ada7c144fa Merge //UE5/Release-Engine-Staging @14903491 to //UE5/Main
[CL 14906022 by Marc Audy in ue5-main branch]
2020-12-11 14:21:20 -04:00
Thomas Engel
62d44dd84d Making the instance ID of media players available already in the pre-createion open callback to the lifetime manager & correcting design of lifecycle manager callbacks a bit
(contains  adjustments of F5Palyer/Electra, which used this API already)
#rb none
#fyi achim.moller

[CL 14839168 by Thomas Engel in ue5-main branch]
2020-12-02 17:44:55 -04:00