Home
last modified time | relevance | path

Searched refs:path (Results 1 – 20 of 20) sorted by relevance

/rockchip-linux_mpp/osal/allocator/
H A Dallocator_ion.c167 static RK_S32 find_dir_in_path(char *path, const char *dir_name, in find_dir_in_path() argument
171 RK_S32 path_len = strnlen(path, max_length); in find_dir_in_path()
178 n = scandir(path, &dir, _compare_name, alphasort); in find_dir_in_path()
180 mpp_log("scan %s for %s return %d\n", path, dir_name, n); in find_dir_in_path()
185 new_path_len += snprintf(path + path_len, max_length - path_len - 1, in find_dir_in_path()
203 char path[MAX_PATH_NAME_SIZE]; in check_sysfs_iommu() local
222 snprintf(path, sizeof(path), "/proc/device-tree"); in check_sysfs_iommu()
223 if (find_dir_in_path(path, dts_devices[i], sizeof(path))) { in check_sysfs_iommu()
224 if (find_dir_in_path(path, "iommu_enabled", sizeof(path))) { in check_sysfs_iommu()
225 FILE *iommu_fp = fopen(path, "rb"); in check_sysfs_iommu()
[all …]
/rockchip-linux_mpp/osal/
H A Dmpp_runtime.c128 char path[MAX_DTS_PATH_LEN]; in mpp_rt_srv_init() local
130 rk_u32 dts_path_len = snprintf(path, path_len, "%s", mpp_dts_base); in mpp_rt_srv_init()
131 char *p = path + dts_path_len; in mpp_rt_srv_init()
140 int f_ok = access(path, F_OK); in mpp_rt_srv_init()
143 f_ok = access(path, F_OK); in mpp_rt_srv_init()
146 FILE *fp = fopen(path, "rb"); in mpp_rt_srv_init()
H A Dmpp_soc.c1032 const char *path = "/proc/device-tree/compatible"; in read_soc_name() local
1034 rk_s32 fd = open(path, O_RDONLY); in read_soc_name()
1037 mpp_err("open %s error\n", path); in read_soc_name()
/rockchip-linux_mpp/kmpp/test/
H A Dkmpp_vdec_test.c21 char *path = argv[1]; in main() local
25 mpp_log(MODULE_TAG " start path %s\n", path); in main()
51 if (path) { in main()
52 FILE *fp = fopen(path, "rb"); in main()
/rockchip-linux_mpp/mpp/base/test/
H A Dmpp_cfg_test.c81 char *path = argv[1]; in main() local
86 fd = open(path, O_RDWR); in main()
88 mpp_loge("open %s failed\n", path); in main()
92 mpp_logi("open file %s\n", path); in main()
/rockchip-linux_mpp/mpp/codec/dec/m2v/
H A Dm2vd_com.h98 #define M2VD_CHK_FILE(val, path, ...)\ argument
101 M2VD_WARNNING("open file error(line%d): %s\n", __LINE__, path);\
/rockchip-linux_mpp/mpp/legacy/
H A Dvpu.c126 const char *path; in VPUClientInit() local
159 path = mpp_get_vcodec_dev_name(ctx_type, coding); in VPUClientInit()
160 fd = open(path, O_RDWR | O_CLOEXEC); in VPUClientInit()
168 path, errno, strerror(errno)); in VPUClientInit()
/rockchip-linux_mpp/
H A Dreadme.txt12 c. header file should not contain any relative path or absolute path, all
13 include path should be keep in Makefile.
152 | |----- legacy generate new libvpu to include old vpuapi path
153 | | and new mpp path
357 3. Difficult to implement zero-copy display path.
371 2. Also difficult to implement zero-copy display path.
H A DCHANGELOG.md215 - [hal_jpege_api]: Fix jpege api path judgment
476 - [jpegd_vdpu]: Adjust file dump path
657 - [enc]: Fix sw enc path segment_info issue
/rockchip-linux_mpp/mpp/codec/dec/h264/
H A Dh264d_parse.h31 MPP_RET open_stream_file(H264dInputCtx_t *p_Inp, char *path);
H A Dh264d_parse.c553 MPP_RET open_stream_file(H264dInputCtx_t *p_Inp, char *path) in open_stream_file() argument
557 sprintf(p_Inp->fname[0], "%s/rkv_h264d_file_00.h264", path); in open_stream_file()
558 sprintf(p_Inp->fname[1], "%s/rkv_h264d_file_01.h264", path); in open_stream_file()
/rockchip-linux_mpp/build/android/
H A DREADME.md36 …r Linaro Android source tree, but you may be required to manually specify path to `libm` binary to…
66 * **ANDROID_NDK** - path to the Android NDK. If not set then _android-cmake_ will search for the mo…
121 * **NDK_CCACHE** - path to `ccache` executable. If not set then initialized from `NDK_CCACHE` envir…
140 * **ANDROID_LIBM_PATH** - path to `libm.so` (set to something like `$(TOP)/out/target/product/<prod…
219 * Put the `ninja.exe` into your PATH (or add path to `ninja.exe` to your PATH environment variable);
229 * Add path to your `make.exe` to system PATH or always use full path;
230 * Pass `-G"MinGW Makefiles"` and `-DCMAKE_MAKE_PROGRAM="<full/path/to/>make.exe"`
H A Dandroid.toolchain.cmake37 # $ export ANDROID_NDK=/absolute/path/to/the/android-ndk
39 # $ cmake -DCMAKE_TOOLCHAIN_FILE=path/to/the/android.toolchain.cmake ..
48 # $ SET ANDROID_NDK=C:\absolute\path\to\the\android-ndk
51 # -DCMAKE_TOOLCHAIN_FILE=path\to\the\android.toolchain.cmake
57 # ANDROID_NDK=/opt/android-ndk - path to the NDK root.
384 # see if we have path to Android NDK
389 # see if we have path to Android standalone toolchain
404 message( STATUS "Using default path for Android NDK: ${ANDROID_NDK}" )
411 message( STATUS "Using default path for standalone toolchain ${ANDROID_STANDALONE_TOOLCHAIN}" )
440 …message( FATAL_ERROR "It is not possible to change path to the Android standalone toolchain on sub…
[all …]
/rockchip-linux_mpp/mpp/
H A Dmpp_impl.c106 static FILE *try_env_file(const char *env, const char *path, pid_t tid) in try_env_file() argument
112 mpp_env_get_str(env, &fname, path); in try_env_file()
113 if (fname == path) { in try_env_file()
114 snprintf(name, sizeof(name) - 1, "%s-%d", path, tid); in try_env_file()
/rockchip-linux_mpp/tools/
H A Dmpp_doxyfile56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
57 # into which the generated documentation will be written. If a relative path is
130 # If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path
132 # shortest path that makes the file name unique will be used
137 # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
139 # part of the path. The tag can be used to show relative paths in the file list.
140 # If left blank the directory from which doxygen is run is used as the path to
150 # path mentioned in the documentation of a class, which tells the reader which
672 # search path. Do not use file names with spaces, bibtex cannot handle them. See
794 # Note that the wildcards are matched against the file with absolute path, so to
[all …]
/rockchip-linux_mpp/mpp/vproc/vdpp/
H A Dhwpq_vdpp_proc.c443 static FILE *try_env_file(const char *env, const char *path, pid_t tid, int index) in try_env_file() argument
449 mpp_env_get_str(env, &fname, path); in try_env_file()
450 if (fname == path) { in try_env_file()
451 snprintf(name, sizeof(name) - 1, "%s_%03d-%d", path, index, tid); in try_env_file()
/rockchip-linux_mpp/mpp/hal/vpu/av1d/
H A Dhal_av1d_vdpu.c1986 char *path = "/data/video"; in vdpu_av1d_gen_regs() local
1996 sprintf(name, "%s/global_mode_%d.txt", path, g_frame_num); in vdpu_av1d_gen_regs()
2006 sprintf(name, "%s/tile_info_%d.txt", path, g_frame_num); in vdpu_av1d_gen_regs()
2016 sprintf(name, "%s/stream_%d.txt", path, g_frame_num); in vdpu_av1d_gen_regs()
2025 sprintf(name, "%s/film_grain_mem_%d.txt", path, g_frame_num); in vdpu_av1d_gen_regs()
2035 sprintf(name, "%s/prob_tbl_%d.txt", path, g_frame_num); in vdpu_av1d_gen_regs()
2045 sprintf(name, "%s/prob_tbl_out_%d.txt", path, g_frame_num); in vdpu_av1d_gen_regs()
/rockchip-linux_mpp/kmpp/base/
H A Dkmpp_obj.c295 static rk_s32 kmpp_ktrie_get(KmppKtrieInfo *info, const char *path, rk_ul cmd) in kmpp_ktrie_get() argument
297 rk_s32 fd = open(path, O_RDWR); in kmpp_ktrie_get()
308 obj_dbg_flow("%s open failed ret fd %d\n", path, fd); in kmpp_ktrie_get()
314 obj_dbg_flow("%s ioctl failed ret %d\n", path, ret); in kmpp_ktrie_get()
/rockchip-linux_mpp/doc/
H A DRockchip_Developer_Guide_MPP_CN.md917 …_info: mpp version: 6cc173d1 author: Ding Wei 2022-08-29 [hal_avsd]: Fix crash on avsd ref err path
H A DRockchip_Developer_Guide_MPP_EN.md841 …_info: mpp version: 6cc173d1 author: Ding Wei 2022-08-29 [hal_avsd]: Fix crash on avsd ref err path
1050 The download path for r16b ndk can be found in the build/android/ndk_links.md file in the source di…
1052 …ome/pub/ndk/android-ndk-r16b, or manually modify the ANDROID_NDK variable path of the env_setup.sh…
1070 …y the library to the path_to_ndk/platforms/android-21/arch-arm64/usr/lib/ path. You just need reco…