You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
dsputil: use vertical component for drawing bottom edge.
Current code only writes 8 pixels of vertical edge for YUV422, which causes MC artifacts when subsequent frames use data from that edge.
This commit is contained in:
@@ -860,7 +860,7 @@ static void draw_edges_mmx(uint8_t *buf, int wrap, int width, int height, int w,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (sides&EDGE_BOTTOM) {
|
if (sides&EDGE_BOTTOM) {
|
||||||
for(i = 0; i < w; i += 4) {
|
for(i = 0; i < h; i += 4) {
|
||||||
ptr= last_line + (i + 1) * wrap - w;
|
ptr= last_line + (i + 1) * wrap - w;
|
||||||
__asm__ volatile(
|
__asm__ volatile(
|
||||||
"1: \n\t"
|
"1: \n\t"
|
||||||
|
Reference in New Issue
Block a user