suyu/src/core/hle/service/nvdrv
ameerj eb67a45ca8 video_core: NVDEC Implementation
This commit aims to implement the NVDEC (Nvidia Decoder) functionality, with video frame decoding being handled by the FFmpeg library.

The process begins with Ioctl commands being sent to the NVDEC and VIC (Video Image Composer) emulated devices. These allocate the necessary GPU buffers for the frame data, along with providing information on the incoming video data. A Submit command then signals the GPU to process and decode the frame data.

To decode the frame, the respective codec's header must be manually composed from the information provided by NVDEC, then sent with the raw frame data to the ffmpeg library.

Currently, H264 and VP9 are supported, with VP9 having some minor artifacting issues related mainly to the reference frame composition in its uncompressed header.

Async GPU is not properly implemented at the moment.

Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com>
2020-10-26 23:07:36 -04:00
..
devices video_core: NVDEC Implementation 2020-10-26 23:07:36 -04:00
interface.cpp Revert "core: Fix clang build" 2020-10-20 19:07:39 -07:00
interface.h service: Update function tables 2020-06-29 04:01:34 +02:00
nvdata.h Initial implementation of Ioctl2 & Ioctl3 2019-09-19 15:37:25 +10:00
nvdrv.cpp video_core: NVDEC Implementation 2020-10-26 23:07:36 -04:00
nvdrv.h General: Make use of std::nullopt where applicable 2020-09-22 17:32:33 -04:00
nvmemp.cpp service: Update function tables 2020-06-29 04:01:34 +02:00
nvmemp.h service: Update function tables 2020-06-29 04:01:34 +02:00