mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-07 10:00:55 +08:00
[mpp_enc]: Update osd data cfg
1. Add new structure: MppEncOSDData2 2. Different osd layer use separate buffer Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com> Change-Id: I3be533eb602f23192086f56e06a1439dbb19c35c
This commit is contained in:
@@ -1122,6 +1122,22 @@ typedef struct MppEncOSDData_t {
|
||||
MppEncOSDRegion region[8];
|
||||
} MppEncOSDData;
|
||||
|
||||
typedef struct MppEncOSDRegion2_t {
|
||||
RK_U32 enable;
|
||||
RK_U32 inverse;
|
||||
RK_U32 start_mb_x;
|
||||
RK_U32 start_mb_y;
|
||||
RK_U32 num_mb_x;
|
||||
RK_U32 num_mb_y;
|
||||
RK_U32 buf_offset;
|
||||
MppBuffer buf;
|
||||
} MppEncOSDRegion2;
|
||||
|
||||
typedef struct MppEncOSDData2_t {
|
||||
RK_U32 num_region;
|
||||
MppEncOSDRegion2 region[8];
|
||||
} MppEncOSDData2;
|
||||
|
||||
typedef struct MppEncUserData_t {
|
||||
RK_U32 len;
|
||||
void *pdata;
|
||||
|
Reference in New Issue
Block a user