mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 18:10:56 +01: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:
parent
7d0f880f0a
commit
cc5de845d5
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue