aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2021-08-30Merge pull request #6879 from ameerj/decoder-assertbunnei
vk_blit_screen: Fix non-accelerated texture size calculation
2021-08-30structured_control_flow: Conditionally invoke demote reorder passameerj
This is only needed on select drivers when a fragment shader discards/demotes.
2021-08-29Garbage Collection: Make it more agressive on high priority mode.Fernando Sahmkow
2021-08-29Garbage Collection: Adress Feedback.Fernando Sahmkow
2021-08-29vulkan_device: Enable VK_KHR_swapchain_mutable_format if availableameerj
Silences validation errors when creating sRGB image views of linear swapchain images
2021-08-29vk_swapchain: Prefer linear swapchain format when presenting sRGB imagesameerj
Fixes broken sRGB when presenting from a secondary GPU.
2021-08-28Garbage Collection: enable as default, eliminate option.Fernando Sahmkow
2021-08-28VideoCore: Rework Garbage Collection.Fernando Sahmkow
2021-08-25vp9_types: Minor refactor of VP9 info structs.ameerj
2021-08-25vp9_types: Remove unused Vp9PictureInfo membersameerj
2021-08-25Merge pull request #6919 from ameerj/vk-int8-capabilityFernando S
vulkan_device: Add a check for int8 support
2021-08-25Merge pull request #6894 from FernandoS27/bunneis-left-earAmeer J
GPU_MemoryManger: Fix GetSubmappedRange.
2021-08-24vulkan_device: Add a check for int8 supportameerj
Silences validation errors when shaders use int8 without specifying its support to the API
2021-08-21vk_rasterizer: Only clear depth and stencil buffers when set in attachment ↵ameerj
aspect mask Silences validation errors for clearing the depth/stencil buffers of framebuffer attachments that were not specified to have depth/stencil usage.
2021-08-21Merge pull request #6888 from v1993/patch-3Ameer J
video_core: eliminate constant ternary
2021-08-19GPU_MemoryManger: Fix GetSubmappedRange.Fernando Sahmkow
2021-08-19video_core: eliminate constant ternaryValeri
`via_header_index` is already checked above, so it would never be true in this branch
2021-08-16h264: Lower max_num_ref_framesameerj
GPU decoding seems to be more picky when it comes to the maximum number of reference frames.
2021-08-16configure_graphics: Add GPU nvdec decoding as an optionameerj
Some system configurations may see visual regressions or lower performance using GPU decoding compared to CPU decoding. This setting provides the option for users to specify their decoding preference. Co-Authored-By: yzct12345 <87620833+yzct12345@users.noreply.github.com>
2021-08-16codec: Improve libav memory alloc and cleanupameerj
2021-08-16codec: Fallback to CPU decoding if no compatible GPU format is foundameerj
2021-08-16cmake: Add VDPAU and NVDEC support to FFmpeglat9nq
Adds {h264_,vp9_}{nvdec,vdpau} hwaccels.
2021-08-16vk_blit_screen: Fix non-accelerated texture size calculationameerj
Addresses the potential OOB access in UnswizzleTexture.
2021-08-15xbyak: Update include pathMerry
2021-08-15Merge pull request #6861 from yzct12345/const-mempy-is-all-the-speedbunnei
decoders: Optimize memcpy for the other functions
2021-08-12Merge pull request #6838 from ameerj/sws-alignbunnei
vic: Specify sws_scale height stride.
2021-08-12codec: Replace deprecated av_init_packet usageameerj
2021-08-12nvdec: Implement GPU accelerated decoding for all platformsameerj
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-12decoders: Templates allow memcpy optimizationsyzct12345
2021-08-10Merge pull request #6820 from yzct12345/split-cacheFernando S
texture_cache: Split out template definitions
2021-08-09vic: Specify sws_scale height stride.ameerj
Silences a sws_scale runtime warning about unaligned strides.
2021-08-08Merge pull request #6844 from ameerj/vp9-empty-frameMai M
vp9: Ensure the first frame is complete
2021-08-08vp9: Ensure the first frame is completeameerj
Silences a runtime error due to the first frame missing the frame data, and being set to hidden despite being a key-frame.
2021-08-08texture_cache: Address ameerj's reviewyzct12345
2021-08-08Merge pull request #6834 from K0bin/buffer-image-granularityFernando S
Respect Vulkan bufferImageGranularity
2021-08-07Merge pull request #6830 from ameerj/nvdec-unimpld-codecbunnei
nvdec: Better logging for unimplemented codecs
2021-08-07vulkan_memory_allocator: Respect bufferImageGranularityRobin Kertels
2021-08-07nvdec: Better logging for unimplemented codecsameerj
2021-08-06Merge pull request #6791 from ameerj/astc-optbunnei
astc_decoder: Various performance and memory optimizations
2021-08-07texture_cache: Address ameerj's reviewyzct12345
2021-08-06Merge pull request #6799 from ameerj/vp9-fixesbunnei
nvdec: Fix VP9 reference frame refreshes
2021-08-06vp9: Cleanup unused variablesameerj
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-06vp9: Fix reference frame refreshesameerj
This resolves the artifacting when decoding VP9 streams.
2021-08-05texture_cache: Don't change copyright yearyzct12345
2021-08-05texture_cache: Address ameerj's reviewyzct12345
2021-08-05texture_cache: Split templates outyzct12345
2021-08-03nvdec: Implement VA-API hardware video acceleration (#6713)yzct12345
* 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-08-02decoders: Optimize swizzle copy performance (#6790)yzct12345
This makes UnswizzleTexture up to two times faster. It is the main bottleneck in NVDEC video decoding.
2021-08-01Merge pull request #6720 from ameerj/vk-screenshotFernando S
renderer_vulkan: Implement screenshots
2021-08-01Merge pull request #6765 from ReinUsesLisp/y-negate-vkAmeer J
vk_rasterizer: Flip viewport on Y_NEGATE