* sceAvPlayerStreamCount, sceAvPlayerJumpToTime, sceAvPlayerStart, sceAvPlayerPause, sceAvPlayerResume
* Minor
* Minor
* Minor
* Unlock player
* Refactor, fix event callback
* More event callbacks
* Reverts some of the changes in previous 2 commits
* Minor
* Temp disable SCE_AVPLAYER_STATE_READY callback because it causes lock in certain games
* Forgotten release of playerState
* Take care of autoStart, adds removed callbacks back
* Fix autoStart, add log
* revert autoStart to not isPaused
* change to class and ne locking model
* sceAvPlayerGetStreamInfo
* sceAvPlayerEnableStream and sceAvPlayerDisableStream
* Refactor code
* +
Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>
* Correct avplayer handle, avoid dangling pointers
* Uses TMemChunk in sys_types unit instead
* Minor
* Minor
* SceAvPlayerHandle should be 8 bytes in size
* Minor
* Minor
* Minor
* Moved from TDictionary to HAMT it's faster
* Added lock of Hamt and individual lock of Handle
* Using AllocMem instead of New (New doesn't guarantee an initial value) and fixing an endless loop of zero lastVideoTimeStamp
* Added callback helpers
* +
* +
Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>
Co-authored-by: red-prig <vdpasha@mail.ru>
Update copyright, fix grammar and more. @red-prig Merge this after DISABLE_FMV_HACK PR is merged.
Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>
* Minor
* sceAvPlayerAddSourceEx and sceAvPlayerCurrentTime
* Minor
* usec->msec
* Minor
* Squashed commit of the following:
commit b3649ee064
Author: Pavel <68122101+red-prig@users.noreply.github.com>
Date: Wed Jan 18 12:08:08 2023 +0300
test CI
commit 61f581ece8
Author: VocalFan <45863583+Mou-Ikkai@users.noreply.github.com>
Date: Wed Jan 18 03:10:43 2023 -0500
Separate PR and Main builds (#64)
* Update Checkout and Upload-Artifact to V3
* Step 1, separate PRs and Mains
* Name: Main CI
* Step 2: Parallel PR and Main builds.
* Don't use v3 it doesn't work on my old server due to new versions of nodejs
Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>
* Align + check for source type
* test PR CI
Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>
* Update Checkout and Upload-Artifact to V3
* Step 1, separate PRs and Mains
* Name: Main CI
* Step 2: Parallel PR and Main builds.
* Don't use v3 it doesn't work on my old server due to new versions of nodejs
Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>
* Adds some libSceAvPlayer dummy functions, ps4_sceAvPlayerAddSource cache files to 'avplayer_dump' directory
* Its better for languageCode to be array of chars
* SysLogPrefix
* us -> ms
* Adds ffmpeg headers
* Fix compilation
* sceAvPlayerInitEx
* spinlock, proper close ffmpeg stuff
* Refactor + fix
* NextPacket
* ReceiveAudio
* ReceiveVideo
* audio works
* Minor fix
* Minor
* accurate GetTimeInUs
* sceAvPlayerPostInit and sceAvPlayerStop
* Is not GPU Addr err
* Fixing Structure Alignments
* The original timeStamp is listed in ms in the documentation
* Forgotten "not" and disable Exit(False); (Seems to work, need to test)
* Should check patch folder first
* Minor
* test CI
* use parse_filename
* _sceAvPlayerInit, _sceAvPlayerInitEx
* ps4_sceAvPlayerPostInit, _sceAvPlayerAddSource
* fix types
* _sceAvPlayerGetAudioData
* _sceAvPlayerGetVideoDataEx
* _sceAvPlayerStop, _sceAvPlayerClose
* Removed outdated comments + long name
* Use MemChunk instead of a simple Pointer
* fix init value
* convert to utf8
Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>