Searched refs:HI_ALIGN_DOWN (Results 1 - 7 of 7) sorted by relevance
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/common/ |
H A D | sample_comm_vo.c | 253 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 D | sample_media_ai.c | 1202 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 D | sample_lcd.c | 1168 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 D | hi_math.h | 69 * 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 D | hi_math.h | 66 * 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 D | hi_math.h | 68 * 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 D | hifb_main.c | 6918 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 19 milliseconds