Skip to content

Commit

Permalink
add osdpoolsize support to imp headers
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec committed Apr 16, 2024
1 parent 211f1ac commit 347deac
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
14 changes: 14 additions & 0 deletions include/T20/imp/imp_osd.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,20 @@ typedef struct {
int layer; /**< 显示层 */
} IMPOSDGrpRgnAttr;

/**
* @fn int IMP_OSD_SetPoolSize(int size);
*
* Set OSD rmem pool size
*
*
* @retval 0 success
* @retval non-0 failure
*
* @remarks The corresponding OSD group should be already created and registered before calling this function.
*
* @attention no.
*/
int IMP_OSD_SetPoolSize(int size);

/**
* @fn int IMP_OSD_CreateGroup(int grpNum)
Expand Down
14 changes: 14 additions & 0 deletions include/T21/imp/imp_osd.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,20 @@ typedef struct {
int layer; /**< 显示层 */
} IMPOSDGrpRgnAttr;

/**
* @fn int IMP_OSD_SetPoolSize(int size);
*
* Set OSD rmem pool size
*
*
* @retval 0 success
* @retval non-0 failure
*
* @remarks The corresponding OSD group should be already created and registered before calling this function.
*
* @attention no.
*/
int IMP_OSD_SetPoolSize(int size);

/**
* @fn int IMP_OSD_CreateGroup(int grpNum)
Expand Down
14 changes: 14 additions & 0 deletions include/T30/imp/imp_osd.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,20 @@ typedef struct {
int layer; /**< 显示层 */
} IMPOSDGrpRgnAttr;

/**
* @fn int IMP_OSD_SetPoolSize(int size);
*
* Set OSD rmem pool size
*
*
* @retval 0 success
* @retval non-0 failure
*
* @remarks The corresponding OSD group should be already created and registered before calling this function.
*
* @attention no.
*/
int IMP_OSD_SetPoolSize(int size);

/**
* @fn int IMP_OSD_CreateGroup(int grpNum)
Expand Down

0 comments on commit 347deac

Please sign in to comment.