summaryrefslogtreecommitdiffstats
path: root/src/video_core/host1x/codecs/vp9.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-07-01general: Use ScratchBuffer where possibleMorph1-3/+5
2022-10-06NVDRV: Refactor Host1xFernando Sahmkow1-3/+7
2022-10-06VideoCore: Refactor syncing.Fernando Sahmkow1-5/+7
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-11-13codes: Rename ComposeFrameHeader to ComposeFrameameerj1-1/+2
These functions were composing the entire frame, not just the headers. Rename to more accurately describe them.
2021-11-13codecs: Add VP8 codec classameerj1-4/+7
2021-08-07vp9: Cleanup unused variablesameerj1-10/+2
With reference frames refreshes fix, we no longer need to buffer two frames in advance. We can also remove other unused or otherwise unneeded variables.
2021-08-07vp9: Fix reference frame refreshesameerj1-1/+1
This resolves the artifacting when decoding VP9 streams.
2020-12-04video_core: Resolve more variable shadowing scenariosLioncash1-1/+1
Resolves variable shadowing scenarios up to the end of the OpenGL code to make it nicer to review. The rest will be resolved in a following commit.
2020-11-25Queue decoded frames, cleanup decodersameerj1-3/+4
2020-11-02nvdec: Make use of [[nodiscard]] where applicableLioncash1-1/+1
Prevents bugs from occurring where the results of a function are accidentally discarded
2020-10-30vp9: Be explicit with copy and move operatorsLioncash1-0/+18
It's deprecated in the language to autogenerate these if the destructor for a type is specified, so we can explicitly specify how we want these to be generated.
2020-10-30vp9: Mark functions with [[nodiscard]] where applicableLioncash1-9/+9
Prevents values from mistakenly being discarded in cases where it's a bug to do so.
2020-10-30vp9: Provide a default initializer for "hidden" memberLioncash1-1/+1
The API of VP9 exposes a WasFrameHidden() function which accesses this member. Given the constructor previously didn't initialize this member, it's a potential vector for an uninitialized read. Instead, we can initialize this to a deterministic value to prevent that from occurring.
2020-10-30vp9: Make some member functions internally linkedLioncash1-10/+0
These helper functions don't directly modify any member state and can be hidden from view.
2020-10-27nvdec: Tidy up header includesLioncash1-30/+2
Prevents a few unnecessary inclusions.
2020-10-27video_core: NVDEC Implementationameerj1-0/+216
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>