Home
last modified time | relevance | path

Searched refs:j2s_ctx (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/iq_parser_v2/j2s/
H A Dj2s.h86 } __attribute__((packed)) j2s_ctx; typedef
89 void* j2s_alloc_data(j2s_ctx* ctx, size_t size);
90 int j2s_add_data(j2s_ctx* ctx, void* ptr, bool freeable);
91 void j2s_release_data(j2s_ctx* ctx, void* ptr);
94 void j2s_init(j2s_ctx* ctx);
95 void j2s_camgroup_init(j2s_ctx* ctx);
96 void j2s_deinit(j2s_ctx* ctx);
99 int j2s_struct_size(j2s_ctx* ctx, int struct_index);
104 cJSON* j2s_struct_to_template_json(j2s_ctx* ctx, const char* name);
110 cJSON* j2s_enums_to_json(j2s_ctx* ctx);
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/j2s4b/
H A Dj2s.h103 } __attribute__((packed)) j2s_ctx; typedef
106 void *j2s_alloc_data(j2s_ctx *ctx, size_t size, size_t* real_size);
108 int j2s_alloc_map_record(j2s_ctx *ctx, void *dst, void *ptr, size_t len);
110 void j2s_release_data(j2s_ctx *ctx, void *ptr);
113 void j2s_init(j2s_ctx *ctx);
114 void j2s_camgroup_init(j2s_ctx *ctx);
115 void j2s_deinit(j2s_ctx *ctx);
118 int j2s_struct_size(j2s_ctx *ctx, int struct_index);
123 cJSON *j2s_struct_to_template_json(j2s_ctx *ctx, const char *name);
129 cJSON *j2s_enums_to_json(j2s_ctx *ctx);
[all …]
H A Dj2s.cpp22 __attribute__((weak)) void *j2s_alloc_data(j2s_ctx *ctx, size_t size) { in j2s_alloc_data()
27 __attribute__((weak)) void j2s_release_data(j2s_ctx *ctx, void *ptr) { in j2s_release_data()
33 static cJSON *_j2s_obj_to_json(j2s_ctx *ctx, int obj_index, void *ptr);
35 static cJSON *_j2s_struct_to_json(j2s_ctx *ctx, int struct_index, void *ptr);
37 static int _j2s_json_to_obj(j2s_ctx *ctx, cJSON *json, cJSON *parent,
40 static int _j2s_json_to_struct(j2s_ctx *ctx, cJSON *json, int struct_index,
43 static int _j2s_struct_free(j2s_ctx *ctx, int struct_index, void *ptr);
149 static inline int j2s_find_struct_index(j2s_ctx *ctx, const char *name);
151 static int _j2s_struct_to_bin(j2s_ctx *ctx, int struct_index, void *ptr,
154 static inline int j2s_find_struct_index(j2s_ctx *ctx, const char *name) { in j2s_find_struct_index()
[all …]
H A Dj2s4b_utils.cpp28 int j2s_alloc_map_record(j2s_ctx *ctx, void *dst, void *ptr, size_t len) { in j2s_alloc_map_record()
55 void *j2s_alloc_data(j2s_ctx *ctx, size_t size, size_t* real_size) { in j2s_alloc_data()
124 void j2s_init(j2s_ctx *ctx) { in j2s_init()
130 void j2s_deinit(j2s_ctx *ctx) { in j2s_deinit()
134 int j2s_json_file_to_struct(j2s_ctx *ctx, const char *file, const char *name, in j2s_json_file_to_struct()
162 char *j2s_dump_struct(j2s_ctx *ctx, const char *name, void *ptr) { in j2s_dump_struct()
192 int j2s_modify_struct(j2s_ctx *ctx, const char *str, const char *name, in j2s_modify_struct()
208 char *j2s_query_struct(j2s_ctx *ctx, const char *str, void *ptr) { in j2s_query_struct()
232 char *j2s_dump_template_struct(j2s_ctx *ctx, const char *name) { in j2s_dump_template_struct()
262 char *j2s_dump_structs(j2s_ctx *ctx, j2s_struct_info *info) { in j2s_dump_structs()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/j2s/
H A Dj2s.cpp21 __attribute__((weak)) void* j2s_alloc_data(j2s_ctx* ctx, size_t size) in j2s_alloc_data()
26 __attribute__((weak)) void j2s_release_data(j2s_ctx* ctx, void* ptr) in j2s_release_data()
31 static cJSON* _j2s_obj_to_json(j2s_ctx* ctx, int obj_index, void* ptr);
33 static cJSON* _j2s_struct_to_json(j2s_ctx* ctx, int struct_index, void* ptr);
35 static int _j2s_json_to_obj(j2s_ctx* ctx, cJSON* json, cJSON* parent,
38 static int _j2s_json_to_struct(j2s_ctx* ctx, cJSON* json, int struct_index,
41 static int _j2s_obj_from_cache(j2s_ctx* ctx, int obj_index, int fd, void* ptr);
43 static int _j2s_struct_from_cache(j2s_ctx* ctx, int struct_index, int fd,
46 static void _j2s_obj_to_cache(j2s_ctx* ctx, int obj_index, int fd, void* ptr);
48 static void _j2s_struct_to_cache(j2s_ctx* ctx, int struct_index, int fd,
[all …]
H A Dj2s_utils.cpp54 void* j2s_alloc_data(j2s_ctx* ctx, size_t size) in j2s_alloc_data()
68 int j2s_add_data(j2s_ctx* ctx, void* ptr, bool freeable) in j2s_add_data()
99 void j2s_release_data(j2s_ctx* ctx, void* ptr) in j2s_release_data()
199 static __attribute__((unused)) int j2s_load_ctx_cache(j2s_ctx* ctx, in j2s_load_ctx_cache()
219 *ctx = *(j2s_ctx*)ptr; in j2s_load_ctx_cache()
255 static __attribute__((unused)) void j2s_save_ctx_cache(j2s_ctx* ctx, in j2s_save_ctx_cache()
283 void j2s_init(j2s_ctx* ctx) in j2s_init()
335 void j2s_camgroup_init(j2s_ctx* ctx) in j2s_camgroup_init()
347 void j2s_deinit(j2s_ctx* ctx) in j2s_deinit()
368 int j2s_load_struct_cache(j2s_ctx* ctx, const char* cache_file, void* ptr, in j2s_load_struct_cache()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/iq_check/src/
H A Ddump.cpp24 void dump_struct(j2s_ctx *ctx, int struct_index, bool expend, int depth);
27 void dump_obj(j2s_ctx *ctx, int obj_index, bool expend, int depth) { in dump_obj()
118 void dump_struct(j2s_ctx *ctx, int struct_index, bool expend, int depth) { in dump_struct()
144 void dump_enum(j2s_ctx *ctx, int enum_index) { in dump_enum()
165 j2s_ctx ctx = {0}; in main()
H A Dj2s_generated_optim.c31 j2s_ctx ctx_rel; in main()
32 j2s_ctx *ctx = &ctx_rel; in main()
H A Dparser.c141 } j2s_ctx; typedef
253 void j2s_handle_comment(j2s_ctx *ctx, char *buf) { in j2s_handle_comment()
283 int j2s_parse(j2s_ctx *ctx, char *buf) { in j2s_parse()
741 void j2s_dump(j2s_ctx *ctx) { in j2s_dump()
951 j2s_ctx ctx = {0}; in main()
H A Dtobin.c30 j2s_ctx ctx; in main()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/
H A Dmain.cpp68 size_t j2s_root_struct_size(j2s_ctx *ctx) { in j2s_root_struct_size()
106 j2s_ctx ctx; in show_usage()
132 j2s_ctx j2s4b_ctx; in main()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/iq_check/
H A Diq_check.c6 j2s_ctx ctx; in main()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/uAPI2/
H A Drk_aiq_user_api2_helper.h54 j2s_ctx ctx; \
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/
H A DRkAiqCalibDbV2.cpp162 j2s_ctx ctx; in json2calib()
192 j2s_ctx ctx; in json2calibproj()
241 j2s_ctx ctx; in json2calibproj()
321 j2s_ctx ctx; in createCalibDbCamgroup()
351 j2s_ctx ctx; in calibproj2json()
385 j2s_ctx ctx; in calib2json()
416 j2s_ctx ctx; in cjson2calib()
438 j2s_ctx ctx; in calib2cjson()
569 j2s_ctx ctx; in applyPatch2()
835 j2s_ctx ctx; in readIQNode()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/scene/
H A Dscene_manager.cpp424 j2s_ctx ctx; in createSceneCalib()