Skip to content

Commit

Permalink
Still trying to get somewhere with hisi-gen1
Browse files Browse the repository at this point in the history
  • Loading branch information
wberube committed Aug 19, 2024
1 parent 482ddd4 commit a84bfcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/hal/hisi/v1_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ int v1_system_init(char *snrConfig)
v1_vb.fnExit();

{
int alignWidth = 64;
int alignWidth = 16;
v1_vb_pool pool;

memset(&pool, 0, sizeof(pool));
Expand All @@ -829,7 +829,7 @@ int v1_system_init(char *snrConfig)
v1_config.vichn.capt.height ?
v1_config.vichn.capt.height : v1_config.videv.rect.height,
V1_PIXFMT_YUV420SP, alignWidth);
pool.comm[0].blockCnt = 5;
pool.comm[0].blockCnt = 4;

if (ret = v1_vb.fnConfigPool(&pool))
return ret;
Expand Down
2 changes: 1 addition & 1 deletion src/hal/hisi/v1_vpss.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include "v1_common.h"

#define V1_VPSS_CHN_NUM 11
#define V1_VPSS_CHN_NUM 8
#define V1_VPSS_GRP_NUM 32

typedef struct {
Expand Down

0 comments on commit a84bfcc

Please sign in to comment.