| /OK3568_Linux_fs/kernel/lib/mpi/ |
| H A D | Makefile | 6 obj-$(CONFIG_MPILIB) = mpi.o 8 mpi-y = \ 18 mpi-add.o \ 19 mpi-bit.o \ 20 mpi-cmp.o \ 21 mpi-sub-ui.o \ 22 mpi-div.o \ 23 mpi-inv.o \ 24 mpi-mod.o \ 25 mpi-mul.o \ [all …]
|
| /OK3568_Linux_fs/buildroot/dl/rtmpdump/git/librtmp/ |
| H A D | dh.h | 32 typedef mpi * MP_t; 33 #define MP_new(m) m = malloc(sizeof(mpi)); mpi_init(m) 34 #define MP_set_w(mpi, w) mpi_lset(mpi, w) argument 37 #define MP_sub_w(mpi, w) mpi_sub_int(mpi, mpi, w) argument 38 #define MP_cmp_1(mpi) mpi_cmp_int(mpi, 1) argument 40 #define MP_free(mpi) mpi_free(mpi); free(mpi) argument 85 #define MP_set_w(mpi, w) mpz_set_ui(mpi, w) argument 88 #define MP_sub_w(mpi, w) mpz_sub_ui(mpi, mpi, w) argument 89 #define MP_cmp_1(mpi) mpz_cmp_ui(mpi, 1) argument 91 #define MP_free(mpi) mpz_clear(mpi); free(mpi) argument [all …]
|
| /OK3568_Linux_fs/buildroot/boot/grub2/ |
| H A D | 0074-libgcrypt-mpi-Fix-possible-NULL-dereference.patch | 4 Subject: [PATCH] libgcrypt/mpi: Fix possible NULL dereference 15 grub-core/lib/libgcrypt-grub/mpi/mpicoder.c | 3 +++ 16 grub-core/lib/libgcrypt/mpi/mpicoder.c | 3 +++ 19 diff --git a/grub-core/lib/libgcrypt-grub/mpi/mpicoder.c b/grub-core/lib/libgcrypt-grub/mpi/mpicode… 21 --- a/grub-core/lib/libgcrypt-grub/mpi/mpicoder.c 22 +++ b/grub-core/lib/libgcrypt-grub/mpi/mpicoder.c 33 diff --git a/grub-core/lib/libgcrypt/mpi/mpicoder.c b/grub-core/lib/libgcrypt/mpi/mpicoder.c 35 --- a/grub-core/lib/libgcrypt/mpi/mpicoder.c 36 +++ b/grub-core/lib/libgcrypt/mpi/mpicoder.c
|
| H A D | 0073-libgcrypt-mpi-Fix-possible-unintended-sign-extension.patch | 4 Subject: [PATCH] libgcrypt/mpi: Fix possible unintended sign extension 18 grub-core/lib/libgcrypt-grub/mpi/mpicoder.c | 2 +- 19 grub-core/lib/libgcrypt/mpi/mpicoder.c | 2 +- 22 diff --git a/grub-core/lib/libgcrypt-grub/mpi/mpicoder.c b/grub-core/lib/libgcrypt-grub/mpi/mpicode… 24 --- a/grub-core/lib/libgcrypt-grub/mpi/mpicoder.c 25 +++ b/grub-core/lib/libgcrypt-grub/mpi/mpicoder.c 35 diff --git a/grub-core/lib/libgcrypt/mpi/mpicoder.c b/grub-core/lib/libgcrypt/mpi/mpicoder.c 37 --- a/grub-core/lib/libgcrypt/mpi/mpicoder.c 38 +++ b/grub-core/lib/libgcrypt/mpi/mpicoder.c
|
| /OK3568_Linux_fs/external/mpp/test/ |
| H A D | mpi_dec_test.c | 35 MppApi *mpi; member 68 MppApi *mpi = data->mpi; in dec_simple() local 107 ret = mpi->decode_put_packet(ctx, packet); in dec_simple() 121 ret = mpi->decode_get_frame(ctx, &frame); in dec_simple() 216 ret = mpi->control(ctx, MPP_DEC_SET_EXT_BUF_GROUP, data->frm_grp); in dec_simple() 241 ret = mpi->control(ctx, MPP_DEC_SET_INFO_CHANGE_READY, NULL); in dec_simple() 345 MppApi *mpi = data->mpi; in dec_advanced() local 363 ret = mpi->poll(ctx, MPP_PORT_INPUT, MPP_POLL_BLOCK); in dec_advanced() 369 ret = mpi->dequeue(ctx, MPP_PORT_INPUT, &task); /* input queue */ in dec_advanced() 380 ret = mpi->enqueue(ctx, MPP_PORT_INPUT, task); /* input queue */ in dec_advanced() [all …]
|
| H A D | mpi_dec_multi_test.c | 39 MppApi *mpi; member 83 MppApi *mpi = data->mpi; in multi_dec_simple() local 119 ret = mpi->decode_put_packet(ctx, packet); in multi_dec_simple() 133 ret = mpi->decode_get_frame(ctx, &frame); in multi_dec_simple() 168 ret = mpi->control(ctx, MPP_DEC_SET_EXT_BUF_GROUP, data->frm_grp); in multi_dec_simple() 193 ret = mpi->control(ctx, MPP_DEC_SET_INFO_CHANGE_READY, NULL); in multi_dec_simple() 267 MppApi *mpi = data->mpi; in multi_dec_advanced() local 284 ret = mpi->poll(ctx, MPP_PORT_INPUT, MPP_POLL_BLOCK); in multi_dec_advanced() 290 ret = mpi->dequeue(ctx, MPP_PORT_INPUT, &task); /* input queue */ in multi_dec_advanced() 301 ret = mpi->enqueue(ctx, MPP_PORT_INPUT, task); /* input queue */ in multi_dec_advanced() [all …]
|
| H A D | mpi_dec_mt_test.c | 38 MppApi *mpi; member 64 MppApi *mpi = data->mpi; in thread_input() local 98 ret = mpi->decode_put_packet(ctx, packet); in thread_input() 122 MppApi *mpi = data->mpi; in thread_output() local 131 MPP_RET ret = mpi->decode_get_frame(ctx, &frame); in thread_output() 164 ret = mpi->control(ctx, MPP_DEC_SET_EXT_BUF_GROUP, data->frm_grp); in thread_output() 185 ret = mpi->control(ctx, MPP_DEC_SET_INFO_CHANGE_READY, NULL); in thread_output() 243 MppApi *mpi = NULL; in mt_dec_decode() local 283 ret = mpp_create(&ctx, &mpi); in mt_dec_decode() 303 ret = mpi->control(ctx, MPP_SET_OUTPUT_TIMEOUT, param); in mt_dec_decode() [all …]
|
| H A D | mpi_dec_nt_test.c | 35 MppApi *mpi; member 68 MppApi *mpi = data->mpi; in dec_loop() local 107 ret = mpi->decode(ctx, packet, &frame); in dec_loop() 193 ret = mpi->control(ctx, MPP_DEC_SET_EXT_BUF_GROUP, data->frm_grp); in dec_loop() 218 ret = mpi->control(ctx, MPP_DEC_SET_INFO_CHANGE_READY, NULL); in dec_loop() 364 MppApi *mpi = NULL; in dec_nt_decode() local 446 ret = mpp_create(&ctx, &mpi); in dec_nt_decode() 455 ret = mpi->control(ctx, MPP_SET_DISABLE_THREAD, NULL); in dec_nt_decode() 466 ret = mpi->control(ctx, MPP_DEC_GET_CFG, cfg); in dec_nt_decode() 482 ret = mpi->control(ctx, MPP_DEC_SET_CFG, cfg); in dec_nt_decode() [all …]
|
| H A D | CMakeLists.txt | 27 # mpi decoder unit test 30 # mpi decoder multi-thread input / output unit test 33 # mpi decoder no-thread input / output unit test 36 # mpi encoder unit test 39 # mpi encoder multi-thread input / output unit test 42 # new mpi rc unit test
|
| H A D | mpi_enc_mt_test.cpp | 40 MppApi *mpi; member 298 MppApi *mpi = p->mpi; in test_mt_cfg_setup() local 478 ret = mpi->control(ctx, MPP_ENC_SET_CFG, cfg); in test_mt_cfg_setup() 489 ret = mpi->control(ctx, MPP_ENC_SET_SEI_CFG, &p->sei_mode); in test_mt_cfg_setup() 497 ret = mpi->control(ctx, MPP_ENC_SET_HEADER_MODE, &p->header_mode); in test_mt_cfg_setup() 559 ret = mpp_create(&p->ctx, &p->mpi); in mt_test_res_init() 568 ret = p->mpi->control(p->ctx, MPP_SET_INPUT_TIMEOUT, &timeout); in mt_test_res_init() 576 ret = p->mpi->control(p->ctx, MPP_SET_OUTPUT_TIMEOUT, &timeout); in mt_test_res_init() 594 ret = p->mpi->control(p->ctx, MPP_ENC_GET_CFG, p->cfg); in mt_test_res_init() 614 p->mpi->reset(p->ctx); in mt_test_res_deinit() [all …]
|
| H A D | mpi_enc_test.c | 40 MppApi *mpi; member 290 MppApi *mpi = p->mpi; in test_mpp_enc_cfg_setup() local 487 ret = mpi->control(ctx, MPP_ENC_SET_CFG, cfg); in test_mpp_enc_cfg_setup() 502 ret = mpi->control(ctx, MPP_ENC_SET_SEI_CFG, &p->sei_mode); in test_mpp_enc_cfg_setup() 511 ret = mpi->control(ctx, MPP_ENC_SET_HEADER_MODE, &p->header_mode); in test_mpp_enc_cfg_setup() 537 MppApi *mpi = p->mpi; in test_mpp_run() local 560 ret = mpi->control(ctx, MPP_ENC_GET_HDR_SYNC, packet); in test_mpp_run() 690 ret = mpi->control(ctx, MPP_ENC_SET_OSD_PLT_CFG, &p->osd_plt_cfg); in test_mpp_run() 740 ret = mpi->encode_put_frame(ctx, frame); in test_mpp_run() 750 ret = mpi->encode_get_packet(ctx, &packet); in test_mpp_run() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/legacy/ |
| H A D | vpu_api_legacy.cpp | 91 static MPP_RET vpu_api_set_enc_cfg(MppCtx mpp_ctx, MppApi *mpi, MppEncCfg enc_cfg, in vpu_api_set_enc_cfg() argument 194 ret = mpi->control(mpp_ctx, MPP_ENC_SET_CFG, enc_cfg); in vpu_api_set_enc_cfg() 271 mpi(NULL), in VpuApiLegacy() 289 mpp_create(&mpp_ctx, &mpi); in VpuApiLegacy() 332 MppCtx mpp_ctx, MppApi *mpi, VPU_GENERIC *p) in init_frame_info() argument 369 ret = mpi->control(mpp_ctx, MPP_DEC_SET_FRAME_INFO, (MppParam)frame); in init_frame_info() 388 if (mpp_ctx == NULL || mpi == NULL) { in init() 415 ret = mpi->control(mpp_ctx, MPP_SET_INPUT_TIMEOUT, (MppParam)&block); in init() 420 ret = mpi->control(mpp_ctx, MPP_ENC_SET_SEI_CFG, &sei_mode); in init() 447 vpu_api_mlvec_setup(mlvec, mpp_ctx, mpi, enc_cfg); in init() [all …]
|
| H A D | vpu_api_mlvec.cpp | 37 MppApi *mpi; member 75 MPP_RET vpu_api_mlvec_setup(VpuApiMlvec ctx, MppCtx mpp, MppApi *mpi, MppEncCfg enc_cfg) in vpu_api_mlvec_setup() argument 77 if (NULL == ctx || NULL == mpp || NULL == mpi || NULL == enc_cfg) { in vpu_api_mlvec_setup() 79 ctx, mpp, mpi, enc_cfg); in vpu_api_mlvec_setup() 87 impl->mpi = mpi; in vpu_api_mlvec_setup() 138 MppApi *mpi = impl->mpi; in vpu_api_mlvec_set_st_cfg() local 142 mpp_assert(mpi); in vpu_api_mlvec_set_st_cfg() 151 ret = mpi->control(mpp_ctx, MPP_ENC_SET_HEADER_MODE, &mode); in vpu_api_mlvec_set_st_cfg() 243 MppApi *mpi = impl->mpi; in vpu_api_mlvec_set_dy_max_tid() local 247 mpp_assert(mpi); in vpu_api_mlvec_set_dy_max_tid() [all …]
|
| /OK3568_Linux_fs/external/gstreamer-rockchip/gst/rockchipmpp/ |
| H A D | gstmppjpegdec.c | 115 if (mppdec->mpi->control (mppdec->mpp_ctx, MPP_DEC_SET_OUTPUT_FORMAT, in gst_mpp_jpeg_dec_try_pp_convert() 356 mppdec->mpi->poll (mppdec->mpp_ctx, MPP_PORT_INPUT, timeout_ms); in gst_mpp_jpeg_dec_send_mpp_packet() 357 mppdec->mpi->dequeue (mppdec->mpp_ctx, MPP_PORT_INPUT, &mtask); in gst_mpp_jpeg_dec_send_mpp_packet() 376 if (mppdec->mpi->enqueue (mppdec->mpp_ctx, MPP_PORT_INPUT, mtask)) in gst_mpp_jpeg_dec_send_mpp_packet() 385 mppdec->mpi->enqueue (mppdec->mpp_ctx, MPP_PORT_INPUT, mtask); in gst_mpp_jpeg_dec_send_mpp_packet() 403 if (mppdec->mpi->poll (mppdec->mpp_ctx, MPP_PORT_OUTPUT, timeout_ms)) in gst_mpp_jpeg_dec_poll_mpp_frame() 406 mppdec->mpi->dequeue (mppdec->mpp_ctx, MPP_PORT_OUTPUT, &mtask); in gst_mpp_jpeg_dec_poll_mpp_frame() 412 mppdec->mpi->enqueue (mppdec->mpp_ctx, MPP_PORT_OUTPUT, mtask); in gst_mpp_jpeg_dec_poll_mpp_frame() 421 mppdec->mpi->enqueue (mppdec->mpp_ctx, MPP_PORT_OUTPUT, mtask); in gst_mpp_jpeg_dec_poll_mpp_frame() 436 mppdec->mpi->poll (mppdec->mpp_ctx, MPP_PORT_INPUT, MPP_POLL_BLOCK); in gst_mpp_jpeg_dec_shutdown() [all …]
|
| H A D | gstmppvideodec.c | 209 mppdec->mpi->decode_put_packet (mppdec->mpp_ctx, mpkt); in gst_mpp_video_dec_startup() 218 mppdec->mpi->control (mppdec->mpp_ctx, MPP_DEC_SET_OUTPUT_FORMAT, in gst_mpp_video_dec_startup() 245 ret = mppdec->mpi->decode_put_packet (mppdec->mpp_ctx, mpkt); in gst_mpp_video_dec_send_mpp_packet() 267 mppdec->mpi->control (mppdec->mpp_ctx, MPP_SET_OUTPUT_TIMEOUT, &timeout_ms); in gst_mpp_video_dec_poll_mpp_frame() 270 mppdec->mpi->decode_get_frame (mppdec->mpp_ctx, &mframe); in gst_mpp_video_dec_poll_mpp_frame() 285 mppdec->mpi->reset (mppdec->mpp_ctx); in gst_mpp_video_dec_shutdown() 293 ret = mppdec->mpi->decode_put_packet (mppdec->mpp_ctx, mpkt); in gst_mpp_video_dec_shutdown()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/ |
| H A D | main.c | 59 struct mlx5_ib_multiport_info *mpi; member 84 struct mlx5_ib_dev *mlx5_ib_get_ibdev_from_mpi(struct mlx5_ib_multiport_info *mpi) in mlx5_ib_get_ibdev_from_mpi() argument 89 dev = mpi->ibdev; in mlx5_ib_get_ibdev_from_mpi() 276 struct mlx5_ib_multiport_info *mpi; in mlx5_ib_get_native_port_mdev() local 291 mpi = ibdev->port[ib_port_num - 1].mp.mpi; in mlx5_ib_get_native_port_mdev() 292 if (mpi && !mpi->unaffiliate) { in mlx5_ib_get_native_port_mdev() 293 mdev = mpi->mdev; in mlx5_ib_get_native_port_mdev() 297 if (!mpi->is_master) in mlx5_ib_get_native_port_mdev() 298 mpi->mdev_refcnt++; in mlx5_ib_get_native_port_mdev() 309 struct mlx5_ib_multiport_info *mpi; in mlx5_ib_put_native_port_mdev() local [all …]
|
| /OK3568_Linux_fs/external/rockit/ |
| H A D | README.md | 26 - MPI接口是模块化接口,包括VI/VO/VDEC/VENC/VPSS/VGS/TDE/SYS/MB/AI/AO/ADEC/AENC等模块,详见mpi/doc/目录文档说明。 49 option(USE_ROCKIT_MPI "enable rockit mpi" OFF) 51 message("Build rockit mpi") 52 add_subdirectory(mpi)
|
| H A D | CMakeLists.txt | 18 option(USE_ROCKIT_MPI "enable rockit mpi" ON) 20 message("Build rockit mpi") 21 add_subdirectory(mpi)
|
| /OK3568_Linux_fs/debian/packages-patches/mpv/0.29.1/ |
| H A D | 0002-HACK-vo_xv-Support-dma-buffer-rendering.patch | 251 @@ -701,6 +869,26 @@ static void draw_image(struct vo *vo, mp_image_t *mpi) 254 if (mpi) { 255 + if (mpi->hwctx && !xv_check_dma_client(vo)) { 256 + AVHWFramesContext *fctx = (void *)mpi->hwctx->data; 260 + (AVDRMFrameDescriptor *)mpi->planes[0]; 275 mp_image_copy(&xv_buffer, mpi); 278 @@ -709,6 +897,7 @@ static void draw_image(struct vo *vo, mp_image_t *mpi) 280 osd_draw_on_image(vo->osd, res, mpi ? mpi->pts : 0, 0, &xv_buffer); 283 if (mpi != ctx->original_image) { 285 ctx->original_image = mpi;
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/utils/ |
| H A D | mpp_decoder.cpp | 104 loop_data.mpi = mpp_mpi; in Init() 126 MppApi *mpi = data->mpi; in Decode() local 151 ret = mpi->decode_put_packet(ctx, packet); in Decode() 161 ret = mpi->decode_get_frame(ctx, &frame); in Decode() 207 ret = mpi->control(ctx, MPP_DEC_SET_EXT_BUF_GROUP, data->frm_grp); in Decode() 232 ret = mpi->control(ctx, MPP_DEC_SET_INFO_CHANGE_READY, NULL); in Decode()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/mpich/ |
| H A D | mpich_4.0.2.bb | 41 for d in confdb test/mpi test/mpi/confdb src/pm/hydra/confdb \ 44 test/mpi/dtpools/confdb src/mpl/confdb src/mpi/romio/confdb; do
|
| /OK3568_Linux_fs/buildroot/package/openmpi/ |
| H A D | openmpi.mk | 9 OPENMPI_SITE = https://www.open-mpi.org/software/ompi/v$(OPENMPI_VERSION_MAJOR)/downloads 34 --enable-mpi-fortran=yes \ 37 OPENMPI_CONF_OPTS += --enable-mpi-fortran=no
|
| /OK3568_Linux_fs/buildroot/package/gnupg/ |
| H A D | 0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch | 38 include/mpi.h | 2 +- 104 diff --git a/include/mpi.h b/include/mpi.h 106 --- a/include/mpi.h 107 +++ b/include/mpi.h 139 #include "mpi.h"
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-support/boost/ |
| H A D | boost.inc | 49 PACKAGECONFIG[graph_parallel] = ",,,boost-mpi mpich" 50 PACKAGECONFIG[mpi] = ",,mpich" 55 ${@bb.utils.contains('PACKAGECONFIG', 'graph_parallel', 'graph_parallel mpi', \ 56 bb.utils.filter('PACKAGECONFIG', 'mpi', d), d)} \ 87 FILES:${PN}-mpi = "${libdir}/mpi.so ${libdir}/libboost_mpi*.so.*" 181 if ${@bb.utils.contains('BOOST_LIBS', 'mpi', 'true', 'false', d)}; then 182 echo "using mpi : : <find-shared-library>mpi ;" >> ${WORKDIR}/user-config.jam
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/hwloc/ |
| H A D | hwloc_1.11.13.bb | 5 HOMEPAGE = "https://www.open-mpi.org/software/hwloc/" 10 SRC_URI = "https://www.open-mpi.org/software/${BPN}/v1.11/downloads/${BP}.tar.bz2" 14 UPSTREAM_CHECK_URI = "https://www.open-mpi.org/software/hwloc/v1.11/"
|