mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-22 23:17:48 +08:00
fixup! lavf/rkrga: add RKRGA scale, vpp and overlay filter
move "rga3 inverted RGB/BGR order in FBCE" fixup to the runtime. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
@@ -678,6 +678,7 @@ static RGAFrame *query_frame(RKRGAContext *r, AVFilterLink *outlink,
|
||||
goto exit;
|
||||
}
|
||||
|
||||
#ifndef RGA_NORMAL_FBCE_RGB_BGR_FIXUP
|
||||
/* Inverted RGB/BGR order in FBCE */
|
||||
switch (info.rect.format) {
|
||||
case RK_FORMAT_RGBA_8888:
|
||||
@@ -687,6 +688,7 @@ static RGAFrame *query_frame(RKRGAContext *r, AVFilterLink *outlink,
|
||||
info.rect.format = RK_FORMAT_RGBA_8888;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
info.rect.wstride = w_stride;
|
||||
info.rect.hstride = h_stride;
|
||||
|
||||
Reference in New Issue
Block a user