1
0
This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
yuzu-android/src/core/hle/service/nvdrv/devices
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
..
nvdevice.h core: Resolve several -Wextra-semi warnings 2020-08-14 09:09:20 -04:00
nvdisp_disp0.cpp FrameLimiting: Enable frame limiting for single core. 2020-06-27 11:36:01 -04:00
nvdisp_disp0.h Initial implementation of Ioctl2 & Ioctl3 2019-09-19 15:37:25 +10:00
nvhost_as_gpu.cpp Revert "core: Fix clang build" 2020-10-20 19:07:39 -07:00
nvhost_as_gpu.h hle: service: nvdrv: Implement nvhost_as_gpu::FreeSpace. 2020-10-12 17:39:14 -07:00
nvhost_ctrl_gpu.cpp General: Recover Prometheus project from harddrive failure 2020-06-27 11:35:06 -04:00
nvhost_ctrl_gpu.h nvdrv: Fix GetTPCMasks for ioctl3 2020-06-10 18:36:42 +10:00
nvhost_ctrl.cpp Revert "core: Fix clang build" 2020-10-20 19:07:39 -07:00
nvhost_ctrl.h Initial implementation of Ioctl2 & Ioctl3 2019-09-19 15:37:25 +10:00
nvhost_gpu.cpp Revert "core: Fix clang build" 2020-10-20 19:07:39 -07:00
nvhost_gpu.h nvhost_gpu: implement ChannelSetTimeslice 2020-02-16 11:53:03 +07:00
nvhost_nvdec_common.cpp video_core: NVDEC Implementation 2020-10-26 23:07:36 -04:00
nvhost_nvdec_common.h video_core: NVDEC Implementation 2020-10-26 23:07:36 -04:00
nvhost_nvdec.cpp video_core: NVDEC Implementation 2020-10-26 23:07:36 -04:00
nvhost_nvdec.h video_core: NVDEC Implementation 2020-10-26 23:07:36 -04:00
nvhost_nvjpg.cpp Initial implementation of Ioctl2 & Ioctl3 2019-09-19 15:37:25 +10:00
nvhost_nvjpg.h Initial implementation of Ioctl2 & Ioctl3 2019-09-19 15:37:25 +10:00
nvhost_vic.cpp video_core: NVDEC Implementation 2020-10-26 23:07:36 -04:00
nvhost_vic.h video_core: NVDEC Implementation 2020-10-26 23:07:36 -04:00
nvmap.cpp Update src/core/hle/service/nvdrv/devices/nvmap.cpp 2020-07-27 18:27:20 -07:00
nvmap.h video_core: NVDEC Implementation 2020-10-26 23:07:36 -04:00