History

swscale/unscaled: allow semiplanar copies

As fixed in the previous commit, this enables semipacked range and bit depth conversions. Previously these would go through the general purpose path.

Niklas Haas committed 1 year ago

Commit 6c9218d1 parent 77db7f91 file · +1 −1Browse files

Unified · Split

libswscale/swscale_unscaled.c+1−1
@@ -2588,7 +2588,7 @@ void ff_get_unscaled_swscale(SwsInternal *c) · 2587 unmodified lines
2588 (isPlanarYUV(srcFormat) && isPlanarYUV(dstFormat) &&2588 (isPlanarYUV(srcFormat) && isPlanarYUV(dstFormat) &&
2589 c->chrDstHSubSample == c->chrSrcHSubSample &&2589 c->chrDstHSubSample == c->chrSrcHSubSample &&
2590 c->chrDstVSubSample == c->chrSrcVSubSample &&2590 c->chrDstVSubSample == c->chrSrcVSubSample &&
2591 !isSemiPlanarYUV(srcFormat) && !isSemiPlanarYUV(dstFormat))))2591 isSemiPlanarYUV(srcFormat) == isSemiPlanarYUV(dstFormat))))
2592 {2592 {
2593 if (isPacked(c->opts.src_format))2593 if (isPacked(c->opts.src_format))
2594 c->convert_unscaled = packedCopyWrapper;2594 c->convert_unscaled = packedCopyWrapper;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t