Brandon W
a3f3587c19
Fix style in MovieTexture_FFMpeg to match Google C++ style guide.
2024-08-25 12:52:34 -07:00
Brandon W
88511c59cb
Use avcodec builtins for constructing and destroying AVFrame and
...
AVPacket, and switch FrameHolder to unique_ptr.
2024-08-20 21:09:25 -07:00
Brandon W
d74ad50707
Remove singlethreaded, old ffmpeg decoding code.
2024-08-10 15:44:06 -07:00
Brandon W
eb8f76023e
Allow frames that didn't decode to skip.
2024-08-10 11:48:20 -07:00
Brandon W
d4ab7b12ed
Consume background thread movie decoding.
2024-08-07 10:04:18 -07:00
Brandon W
10e4323e3e
Add DecodeNextFrame and DecodeMovie functions to populate the
...
FrameBuffer.
2024-08-06 17:18:12 -07:00
Brandon W
20452b244a
Add FrameBuffer vector and decoding functions.
...
These functions are based on "DecodePacket" and "ReadPacket". This
PR does not consume the new buffer or decoding functions yet. It also
preps the class for adding a fast cancel to decoding, in the case that
the movie texture is destroyed while decoding is still happening.
2024-07-25 23:11:47 -07:00
Brandon W
23f7ebd476
Add FrameHolder struct and logic around finding totalFrames of movies.
2024-07-25 11:42:16 -07:00
Brandon W
b2ada0ad61
Remove dshow movie rendering code.
...
It hasn't been built into the binary in years, not since before forking
itgmania.
https://github.com/itgmania/itgmania/blob/5d4f9dcb07493ed4c51d6be23e9b41978162305a/src/CMakeData-arch.cmake#L81-L91
https://github.com/stepmania/stepmania/blob/d55acb1ba26f1c5b5e3048d6d6c0bd116625216f/src/Makefile.am#L388
This helps to consolidate the movie rendering code into one main
rendering path.
2024-07-13 21:50:24 -07:00