Home
last modified time | relevance | path

Searched refs:HI_ALIGN_DOWN (Results 1 - 7 of 7) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/common/
H A Dsample_comm_vo.c253 stChnAttr.stRect.s32X = HI_ALIGN_DOWN((u32Width / u32Square) * (i % u32Square), 2); /* 2 align */ in SAMPLE_COMM_VO_StartChn()
254 stChnAttr.stRect.s32Y = HI_ALIGN_DOWN((u32Height / u32Square) * (i / u32Square), 2); /* 2 align */ in SAMPLE_COMM_VO_StartChn()
255 stChnAttr.stRect.u32Width = HI_ALIGN_DOWN(u32Width / u32Square, 2); /* 2 align */ in SAMPLE_COMM_VO_StartChn()
256 stChnAttr.stRect.u32Height = HI_ALIGN_DOWN(u32Height / u32Square, 2); /* 2 align */ in SAMPLE_COMM_VO_StartChn()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/smp/
H A Dsample_media_ai.c1202 stChnAttr.stRect.s32X = HI_ALIGN_DOWN((u32Width / g_sampleVoModeMux.u32Square) * in SampleCommVoStartChnMipi()
1204 stChnAttr.stRect.s32Y = HI_ALIGN_DOWN((u32Height / g_sampleVoModeMux.u32Square) * in SampleCommVoStartChnMipi()
1206 stChnAttr.stRect.u32Width = HI_ALIGN_DOWN(u32Width / g_sampleVoModeMux.u32Square, ALIGN_DOWN_SIZE); in SampleCommVoStartChnMipi()
1207 stChnAttr.stRect.u32Height = HI_ALIGN_DOWN(u32Height / g_sampleVoModeMux.u32Square, ALIGN_DOWN_SIZE); in SampleCommVoStartChnMipi()
1211 stChnAttr.stRect.s32X = HI_ALIGN_DOWN((u32Width / g_sampleVoModeMux.u32Col) * in SampleCommVoStartChnMipi()
1213 stChnAttr.stRect.s32Y = HI_ALIGN_DOWN((u32Height / g_sampleVoModeMux.u32Row) * in SampleCommVoStartChnMipi()
1215 stChnAttr.stRect.u32Width = HI_ALIGN_DOWN(u32Width / g_sampleVoModeMux.u32Col, ALIGN_DOWN_SIZE); in SampleCommVoStartChnMipi()
1216 stChnAttr.stRect.u32Height = HI_ALIGN_DOWN(u32Height / g_sampleVoModeMux.u32Row, ALIGN_DOWN_SIZE); in SampleCommVoStartChnMipi()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/helloworld/smp/
H A Dsample_lcd.c1168 stChnAttr.stRect.s32X = HI_ALIGN_DOWN((u32Width / g_sampleVoModeMux.u32Square) * in SampleCommVoStartChnMipi()
1170 stChnAttr.stRect.s32Y = HI_ALIGN_DOWN((u32Height / g_sampleVoModeMux.u32Square) * in SampleCommVoStartChnMipi()
1172 stChnAttr.stRect.u32Width = HI_ALIGN_DOWN(u32Width / g_sampleVoModeMux.u32Square, ALIGN_DOWN_SIZE); in SampleCommVoStartChnMipi()
1173 stChnAttr.stRect.u32Height = HI_ALIGN_DOWN(u32Height / g_sampleVoModeMux.u32Square, ALIGN_DOWN_SIZE); in SampleCommVoStartChnMipi()
1177 stChnAttr.stRect.s32X = HI_ALIGN_DOWN((u32Width / g_sampleVoModeMux.u32Col) * in SampleCommVoStartChnMipi()
1179 stChnAttr.stRect.s32Y = HI_ALIGN_DOWN((u32Height / g_sampleVoModeMux.u32Row) * in SampleCommVoStartChnMipi()
1181 stChnAttr.stRect.u32Width = HI_ALIGN_DOWN(u32Width / g_sampleVoModeMux.u32Col, ALIGN_DOWN_SIZE); in SampleCommVoStartChnMipi()
1182 stChnAttr.stRect.u32Height = HI_ALIGN_DOWN(u32Height / g_sampleVoModeMux.u32Row, ALIGN_DOWN_SIZE); in SampleCommVoStartChnMipi()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/
H A Dhi_math.h69 * HI_ALIGN_DOWN(x,a) floor x to multiple of a(a must be power of 2)
74 * HI_ALIGN_DOWN(5,4) = 4
80 #define HI_ALIGN_DOWN(x, a) (((x) / (a)) * (a)) macro
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhi_math.h66 * HI_ALIGN_DOWN(x,a) floor x to multiple of a(a must be power of 2)
71 * HI_ALIGN_DOWN(5,4) = 4
77 #define HI_ALIGN_DOWN(x, a) (((x) / (a)) * (a)) macro
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhi_math.h68 * HI_ALIGN_DOWN(x,a) floor x to multiple of a(a must be power of 2)
73 * HI_ALIGN_DOWN(5,4) = 4
79 #define HI_ALIGN_DOWN(x, a) (((x) / (a)) * (a)) macro
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/src/
H A Dhifb_main.c6918 in_rect.w = HI_ALIGN_DOWN(in_rect.w, 2); /* 2 size data */
6919 in_rect.h = HI_ALIGN_DOWN(in_rect.h, 2); /* 2 size data */

Completed in 18 milliseconds