summaryrefslogtreecommitdiffstats
path: root/src/video_core/host1x/codecs/codec.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-16video_core: refactor video frame and packet parsingLiam1-34/+5
2023-05-21Add support for deinterlaced videos playbackDanila Malyutin1-0/+8
This is a follow up to #10254 to improve the playback of cut scenes in Layton's Mystery Journey. It uses ffmpeg's yadif filter for deinterlacing.
2022-10-06NVDRV: Refactor Host1xFernando Sahmkow1-3/+6
2022-10-06VideoCore: Refactor syncing.Fernando Sahmkow1-7/+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.
2022-03-19video_core: Reduce unused includesameerj1-1/+1
2022-01-20video_core: constify AVCodec for ffmpeg >= 5.0Jan Beich1-1/+1
src/video_core/command_classes/codecs/codec.cpp:177:16: error: assigning to 'AVCodec *' from 'const AVCodec *' discards qualifiers av_codec = avcodec_find_decoder(codec); ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-11-13codecs: Add VP8 codec classameerj1-0/+2
2021-09-11codec: Add missing <string_view> includeMorph1-0/+1
2021-08-16codec: Improve libav memory alloc and cleanupameerj1-0/+2
2021-08-16codec: Fallback to CPU decoding if no compatible GPU format is foundameerj1-1/+0
2021-08-12nvdec: Implement GPU accelerated decoding for all platformsameerj1-2/+6
Supplements the VAAPI intel gpu decoder by implementing the D3D11VA decoder for Windows, and CUVID/VDPAU for Nvidia and AMD on drivers linux respectively.
2021-08-04nvdec: Implement VA-API hardware video acceleration (#6713)yzct123451-1/+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-07-01Slightly refactor NVDEC and codecs for readability and safetyKelebek11-5/+7
2021-06-28video_core: Remove #pragma warning directives for external headersMorph1-8/+0
2021-06-26codec,vic: Disable warnings in ffmpeg headersReinUsesLisp1-0/+8
2020-11-26codec: Fix `pragma GCC diagnostic pop` missing corresponding pushcomex1-0/+1
2020-11-26Address PR feedbackameerj1-2/+2
remove some redundant moves, make deleter match naming guidelines. Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
2020-11-25Queue decoded frames, cleanup decodersameerj1-4/+7
2020-11-02nvdec: Make use of [[nodiscard]] where applicableLioncash1-3/+3
Prevents bugs from occurring where the results of a function are accidentally discarded
2020-10-27nvdec: Tidy up header includesLioncash1-2/+0
Prevents a few unnecessary inclusions.
2020-10-27video_core: NVDEC Implementationameerj1-0/+68
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>