Home
last modified time | relevance | path

Searched refs:py (Results 1 - 24 of 24) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/adapt/
H A Dhi_math_adapt.h175 __inline static hi_void rgb2_yc(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc() argument
178 *py = (hi_u16)((((r * 66 + g * 129 + b * 25) >> 8) + 16) << 2); in rgb2_yc()
196 __inline static hi_void rgb2_yc_full(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc_full() argument
204 *py = hi_max2(hi_min2(py_temp, 1023), 0); in rgb2_yc_full()
222 __inline static hi_void rgb2_yc_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_8_bit() argument
225 *py = (hi_u8)(((r * 66 + g * 129 + b * 25) >> 8) + 16); in rgb2_yc_8_bit()
243 __inline static hi_void rgb2_yc_full_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_full_8_bit() argument
251 *py = hi_max2(hi_min2(py_temp, 255), 0); in rgb2_yc_full_8_bit()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/
H A Dhi_math.h179 __inline static HI_VOID Rgb2Yc(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc() argument
182 *py = (HI_U16)((((r * 66 + g * 129 + b * 25) >> 8) + 16) << 2); in Rgb2Yc()
200 __inline static HI_VOID Rgb2Yc_full(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc_full() argument
208 *py = MAX2(MIN2(py_temp, 1023), 0); in Rgb2Yc_full()
226 __inline static HI_VOID Rgb2Yc_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_8BIT() argument
229 *py = (HI_U8)(((r * 66 + g * 129 + b * 25) >> 8) + 16); in Rgb2Yc_8BIT()
247 __inline static HI_VOID Rgb2Yc_full_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_full_8BIT() argument
255 *py = MAX2(MIN2(py_temp, 255), 0); in Rgb2Yc_full_8BIT()
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/adapt/
H A Dhi_math_adapt.h172 __inline static hi_void rgb2_yc(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc() argument
175 *py = (hi_u16)((((r * 66 + g * 129 + b * 25) >> 8) + 16) << 2); in rgb2_yc()
193 __inline static hi_void rgb2_yc_full(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc_full() argument
201 *py = hi_max2(hi_min2(py_temp, 1023), 0); in rgb2_yc_full()
219 __inline static hi_void rgb2_yc_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_8_bit() argument
222 *py = (hi_u8)(((r * 66 + g * 129 + b * 25) >> 8) + 16); in rgb2_yc_8_bit()
240 __inline static hi_void rgb2_yc_full_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_full_8_bit() argument
248 *py = hi_max2(hi_min2(py_temp, 255), 0); in rgb2_yc_full_8_bit()
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhi_math.h176 __inline static HI_VOID Rgb2Yc(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc() argument
179 *py = (HI_U16)((((r * 66 + g * 129 + b * 25) >> 8) + 16) << 2); in Rgb2Yc()
197 __inline static HI_VOID Rgb2Yc_full(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc_full() argument
205 *py = MAX2(MIN2(py_temp, 1023), 0); in Rgb2Yc_full()
223 __inline static HI_VOID Rgb2Yc_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_8BIT() argument
226 *py = (HI_U8)(((r * 66 + g * 129 + b * 25) >> 8) + 16); in Rgb2Yc_8BIT()
244 __inline static HI_VOID Rgb2Yc_full_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_full_8BIT() argument
252 *py = MAX2(MIN2(py_temp, 255), 0); in Rgb2Yc_full_8BIT()
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/adapt/
H A Dhi_math_adapt.h172 __inline static hi_void rgb2_yc(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc() argument
175 *py = (hi_u16)((((r * 66 + g * 129 + b * 25) >> 8) + 16) << 2); in rgb2_yc()
193 __inline static hi_void rgb2_yc_full(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc_full() argument
201 *py = hi_max2(hi_min2(py_temp, 1023), 0); in rgb2_yc_full()
219 __inline static hi_void rgb2_yc_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_8_bit() argument
222 *py = (hi_u8)(((r * 66 + g * 129 + b * 25) >> 8) + 16); in rgb2_yc_8_bit()
240 __inline static hi_void rgb2_yc_full_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_full_8_bit() argument
248 *py = hi_max2(hi_min2(py_temp, 255), 0); in rgb2_yc_full_8_bit()
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhi_math.h178 __inline static HI_VOID Rgb2Yc(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc() argument
181 *py = (HI_U16)((((r * 66 + g * 129 + b * 25) >> 8) + 16) << 2); in Rgb2Yc()
199 __inline static HI_VOID Rgb2Yc_full(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc_full() argument
207 *py = MAX2(MIN2(py_temp, 1023), 0); in Rgb2Yc_full()
225 __inline static HI_VOID Rgb2Yc_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_8BIT() argument
228 *py = (HI_U8)(((r * 66 + g * 129 + b * 25) >> 8) + 16); in Rgb2Yc_8BIT()
246 __inline static HI_VOID Rgb2Yc_full_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_full_8BIT() argument
254 *py = MAX2(MIN2(py_temp, 255), 0); in Rgb2Yc_full_8BIT()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
H A Dupg_check_boot_bin.h91 hi_u8 py[ECC_32_BYTES]; /* pubkey y */ member
109 hi_u8 py[ECC_32_BYTES]; /* Y */ member
H A Dupg_check_boot_bin.c149 .py = root_key->py, in upg_check_boot_sub_key()
262 .py = key_part2, in upg_check_boot_from_mem()
338 .py = key_part2, in upg_check_unencrpt_boot_code()
406 if (memcpy_s(pubk2, ECC_32_BYTES, sub_key->py, ECC_32_BYTES) != EOK) { in upg_get_boot_sign_key()
H A Dupg_check_secure.c163 .py = param->key_e, in upg_secure_verify()
305 hi_u32 key_length = 0; /* 2 key length: (px+py) or (key_n+key_e) */ in upg_check_upg_file_head()
338 param.key_len = (key_length / 2); /* 2: ken len include (px+py) or (key_n+key_e) */ in upg_check_upg_file_head()
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/make_scripts/
H A Dconfig.mk50 NV_TOOL := python3 $(MAIN_TOPDIR)/tools/nvtool/build_nv.py
51 OTA_TOOL := python3 $(MAIN_TOPDIR)/build/scripts/pkt_builder.py
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/build/make_scripts/
H A Dconfig.mk50 NV_TOOL := python3 $(MAIN_TOPDIR)/tools/nvtool/build_nv.py
51 OTA_TOOL := python3 $(MAIN_TOPDIR)/build/scripts/pkt_builder.py
/device/soc/hisilicon/hi3861v100/sdk_liteos/tools/packet_tool/
H A Dpacket_tool.py462 -packet,param should be : python packet_create.py -packet \"outputPath\" \"name|burnAddr|burnSize|type\"...\r\n\
463 -split,param should be : python packet_create.py -split \"inputefile\" \"outputPath\"\r\n\
464 -update,param should be : python packet_create.py -update \"outputPath\" \"name|burnAddr|burnSize|type\"...\r\n\
465 -delete,param should be : python packet_create.py -delete \"inputefile\" \"name1\"...\r\n\
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/commonboot/
H A Dhi_cipher.h126 const hi_u8 *py; /* Ecdh Y coordinates of the generated public key, the caller ensures it is padded with leading member
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/secure/
H A Dburn_file.h85 hi_u8 py[ECC_32_BYTES]; /**< Pubkey y.CNcomment:ECC密钥y。CNend */ member
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/include/
H A Dhi_upg_file.h92 hi_u8 py[ECC_32_BYTES]; /**< Pubkey y.CNcomment:ECC密钥y。CNend */ member
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_upg_file.h81 hi_u8 py[ECC_32_BYTES]; /**< Pubkey y.CNcomment:ECC密钥y。CNend */ member
H A Dhi_cipher.h172 const hi_u8 *py; /**< Ecdh Y coordinates of the generated public key, the caller ensures it is padded with leading member
/device/board/hihope/rk3568/kernel/
H A Dbuild_kernel.sh163 python ${ROOT_DIR}/third_party/mesa3d/ohos/modifyDtsi.py ${KERNEL_SRC_TMP_PATH}/arch/arm64/boot/dts/rockchip/rk3568.dtsi
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/cipher/
H A Ddrv_pke_common.h434 const hi_u8 *py; member
/device/soc/rockchip/common/sdk_linux/
H A DMakefile1539 signing_key.x509.signer vmlinux-gdb.py \
1734 $(Q)ln -fsn $(abspath $(srctree)/scripts/gdb/vmlinux-gdb.py)
1911 $(extmod-prefix)compile_commands.json: scripts/clang-tools/gen_compile_commands.py \
1922 cmd_clang_tools = $(PYTHON3) $(srctree)/scripts/clang-tools/run-clang-tools.py $@ $<
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/upg/
H A Dboot_upg_tool.c203 .py = param->key_e, in boot_upg_lzma_secure_verify()
H A Dboot_upg_check_secure.c181 .py = param->key_e, in boot_upg_secure_verify()
/device/board/hihope/dayu210/uboot/
H A Dmake.sh641 # *.py is the legacy one.
642 if [[ ${SPL_FIT_GENERATOR} == *.py ]]; then
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
H A Dmake_upg_file.py68 ("py", hi_u8*32),
296 key_bin[0:(sizeof(ecc_key.px) + sizeof(ecc_key.py))] = key

Completed in 25 milliseconds