mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 23:40:29 +02:00
Remove the PaceVideocodecDecode workaround for Ys I & II
The blit cost model now paces its movies at 30 fps without it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
7a675b42d5
commit
8f70003cce
7 files changed
+3
-37
No files matched your search
@@ -193,17 +193,6 @@ bool AvcDecoder::Decode(const u8 *data, int size) {
|
||||
#endif
|
||||
}
|
||||
|
||||
int AvcDecoder::FramePeriodUs() const {
|
||||
#ifdef USE_FFMPEG
|
||||
if (!codecCtx_ || codecCtx_->framerate.num <= 0 || codecCtx_->framerate.den <= 0) {
|
||||
return 0;
|
||||
}
|
||||
return (int)((s64)1000000 * codecCtx_->framerate.den / codecCtx_->framerate.num);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
const u8 *AvcDecoder::Plane(int index) const {
|
||||
#ifdef USE_FFMPEG
|
||||
if (!haveFrame_ || !frame_ || index < 0 || index >= 3) {
|
||||
|
||||
Reference in new issue
Block a user