summaryrefslogtreecommitdiffstats
path: root/src/video_core/host1x/vic.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-10-06NVDRV: Refactor Host1xFernando Sahmkow1-3/+3
2022-10-06VideoCore: Refactor syncing.Fernando Sahmkow1-1/+6
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2021-10-07vic: Refactor frame writing methodsameerj1-17/+4
2021-10-07vic: Implement RGBX frame formatameerj1-0/+1
2021-08-04nvdec: Implement VA-API hardware video acceleration (#6713)yzct123451-4/+3
* nvdec: VA-API * Verify formatting * Forgot a semicolon for Windows * Clarify comment about AV_PIX_FMT_NV12 * Fix assert log spam from missing negation * vic: Remove forgotten debug code * Address lioncash's review * Mention VA-API is Intel/AMD * Address v1993's review * Hopefully fix CMakeLists style this time * vic: Improve cache locality * vic: Fix off-by-one error * codec: Async * codec: Forgot the GetValue() * nvdec: Address ameerj's review * codec: Fallback to CPU without VA-API support * cmake: Address lat9nq's review * cmake: Make VA-API optional * vaapi: Multiple GPU * Apply suggestions from code review Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com> * nvdec: Address ameerj's review * codec: Use anonymous instead of static * nvdec: Remove enum and fix memory leak * nvdec: Address ameerj's review * codec: Remove preparation for threading Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
2021-02-13 streamline cdma_pusher/command_classesameerj1-43/+1
2021-02-13nvdec cleanupameerj1-0/+7
2020-10-27nvdec: Tidy up header includesLioncash1-2/+2
Prevents a few unnecessary inclusions.
2020-10-27video_core: NVDEC Implementationameerj1-0/+110
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>