Home
last modified time | relevance | path

Searched refs:struct_index (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/j2s/
H A Dj2s.cpp33 static cJSON* _j2s_struct_to_json(j2s_ctx* ctx, int struct_index, void* ptr);
38 static int _j2s_json_to_struct(j2s_ctx* ctx, cJSON* json, int struct_index,
43 static int _j2s_struct_from_cache(j2s_ctx* ctx, int struct_index, int fd,
48 static void _j2s_struct_to_cache(j2s_ctx* ctx, int struct_index, int fd,
51 static int _j2s_struct_free(j2s_ctx* ctx, int struct_index, void* ptr);
69 int struct_index = name ? j2s_find_struct_index(ctx, name) : ctx->root_index; in j2s_struct_free() local
71 return _j2s_struct_free(ctx, struct_index, ptr); in j2s_struct_free()
76 int struct_index = name ? j2s_find_struct_index(ctx, name) : ctx->root_index; in j2s_struct_to_json() local
78 return _j2s_struct_to_json(ctx, struct_index, ptr); in j2s_struct_to_json()
83 int struct_index = name ? j2s_find_struct_index(ctx, name) : ctx->root_index; in j2s_json_to_struct() local
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/j2s4b/
H A Dj2s.cpp35 static cJSON *_j2s_struct_to_json(j2s_ctx *ctx, int struct_index, void *ptr);
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);
151 static int _j2s_struct_to_bin(j2s_ctx *ctx, int struct_index, void *ptr,
168 int struct_index = name ? j2s_find_struct_index(ctx, name) : ctx->root_index; in j2s_struct_free() local
170 return _j2s_struct_free(ctx, struct_index, ptr); in j2s_struct_free()
179 int struct_index = name ? j2s_find_struct_index(ctx, name) : ctx->root_index; in j2s_struct_to_bin() local
181 _j2s_struct_to_bin(ctx, struct_index, ptr, len, struct_map); in j2s_struct_to_bin()
189 int struct_index = name ? j2s_find_struct_index(ctx, name) : ctx->root_index; in j2s_struct_to_json() local
191 return _j2s_struct_to_json(ctx, struct_index, ptr); in j2s_struct_to_json()
[all …]
H A Dj2s.h34 int16_t struct_index; /* For struct type only */ member
118 int j2s_struct_size(j2s_ctx *ctx, int struct_index);
/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);
36 j2s_struct *struct_obj = &ctx->structs[obj->struct_index]; in dump_obj()
56 dump_struct(ctx, obj->struct_index, expend, depth); in dump_obj()
63 j2s_struct *struct_obj = &ctx->structs[obj->struct_index]; in dump_obj()
118 void dump_struct(j2s_ctx *ctx, int struct_index, bool expend, int depth) { in dump_struct() argument
121 if (struct_index < 0) in dump_struct()
124 struct_obj = &ctx->structs[struct_index]; in dump_struct()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/iq_parser_v2/j2s/
H A Dj2s.h33 int16_t struct_index; /* For struct type only */ member
99 int j2s_struct_size(j2s_ctx* ctx, int struct_index);