mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #560] [MERGED] Fixed video dimensions alignment and image cache #1634
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#1634
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/560
Author: @roamic
Created: 8/24/2024
Status: ✅ Merged
Merged: 8/24/2024
Merged by: @georgemoralis
Base:
main← Head:avplayer-and-texture-cache-fixes📝 Commits (1)
41dec15Fixed video dimensions alignment and image cache📊 Changes
4 files changed (+48 additions, -14 deletions)
View changed files
📝
src/core/libraries/avplayer/avplayer.cpp(+3 -0)📝
src/core/libraries/avplayer/avplayer_source.cpp(+41 -12)📝
src/core/libraries/avplayer/avplayer_state.cpp(+4 -1)📝
src/video_core/texture_cache/texture_cache.cpp(+0 -1)📄 Description
AvPlayer:
The library should provide raw frames and ask user to remove the unused parts with crop offsets.
Since this library supports only AVX (H.264) video we may safely assume that frame buffer dimensions are aligned to 16. Unfortunately, I found no way to get raw frame buffers from ffmpeg, so the data is positioned in the memory manually.
Image cache:
The image should be erased only in
DeleteImageinstead ofUnregisterImage.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.