Home
last modified time | relevance | path

Searched refs:log_ctx (Results 1 – 25 of 92) sorted by relevance

1234

/third_party/weston/libweston/
Dweston-log.c122 find_pending_subscription(struct weston_log_context *log_ctx, in find_pending_subscription() argument
127 wl_list_for_each(sub, &log_ctx->pending_subscription_list, source_link) in find_pending_subscription()
145 struct weston_log_context *log_ctx) in weston_log_subscription_create_pending() argument
157 wl_list_insert(&log_ctx->pending_subscription_list, &sub->source_link); in weston_log_subscription_create_pending()
345 weston_log_get_scope(struct weston_log_context *log_ctx, const char *name) in weston_log_get_scope() argument
348 wl_list_for_each(scope, &log_ctx->scope_list, compositor_link) in weston_log_get_scope()
373 weston_debug_protocol_advertise_scopes(struct weston_log_context *log_ctx, in weston_debug_protocol_advertise_scopes() argument
377 wl_list_for_each(scope, &log_ctx->scope_list, compositor_link) in weston_debug_protocol_advertise_scopes()
388 weston_log_ctx_disable_debug_protocol(struct weston_log_context *log_ctx) in weston_log_ctx_disable_debug_protocol() argument
390 if (!log_ctx->global) in weston_log_ctx_disable_debug_protocol()
[all …]
Dweston-log-wayland.c171 stream_create(struct weston_log_context *log_ctx, const char *name, in stream_create() argument
190 scope = weston_log_get_scope(log_ctx, name); in stream_create()
239 struct weston_log_context *log_ctx; in weston_debug_subscribe() local
244 log_ctx = wl_resource_get_user_data(global_resource); in weston_debug_subscribe()
253 stream = stream_create(log_ctx, name, streamfd, stream_resource); in weston_debug_subscribe()
276 struct weston_log_context *log_ctx = data; in weston_log_bind_weston_debug() local
287 log_ctx, NULL); in weston_log_bind_weston_debug()
289 weston_debug_protocol_advertise_scopes(log_ctx, resource); in weston_log_bind_weston_debug()
/third_party/ffmpeg/libavcodec/
Dffjni.c51 JNIEnv *ff_jni_get_env(void *log_ctx) in ff_jni_get_env() argument
58 java_vm = av_jni_get_java_vm(log_ctx); in ff_jni_get_env()
62 av_log(log_ctx, AV_LOG_ERROR, "No Java virtual machine has been registered\n"); in ff_jni_get_env()
76 … av_log(log_ctx, AV_LOG_ERROR, "Failed to attach the JNI environment to the current thread\n"); in ff_jni_get_env()
85 av_log(log_ctx, AV_LOG_ERROR, "The specified JNI version is not supported\n"); in ff_jni_get_env()
88 … av_log(log_ctx, AV_LOG_ERROR, "Failed to get the JNI environment attached to this thread\n"); in ff_jni_get_env()
97 char *ff_jni_jstring_to_utf_chars(JNIEnv *env, jstring string, void *log_ctx) in ff_jni_jstring_to_utf_chars() argument
111 av_log(log_ctx, AV_LOG_ERROR, "String.getStringUTFChars() threw an exception\n"); in ff_jni_jstring_to_utf_chars()
120 av_log(log_ctx, AV_LOG_ERROR, "String.releaseStringUTFChars() threw an exception\n"); in ff_jni_jstring_to_utf_chars()
127 jstring ff_jni_utf_chars_to_jstring(JNIEnv *env, const char *utf_chars, void *log_ctx) in ff_jni_utf_chars_to_jstring() argument
[all …]
Dv4l2_m2m.c66 void *log_ctx = s->avctx; in v4l2_prepare_contexts() local
80 av_log(log_ctx, probe ? AV_LOG_DEBUG : AV_LOG_INFO, in v4l2_prepare_contexts()
102 void *log_ctx = s->avctx; in v4l2_probe_driver() local
115 av_log(log_ctx, AV_LOG_DEBUG, "v4l2 output format not supported\n"); in v4l2_probe_driver()
121 av_log(log_ctx, AV_LOG_DEBUG, "v4l2 capture format not supported\n"); in v4l2_probe_driver()
128 …av_log(log_ctx, AV_LOG_ERROR, "failure closing %s (%s)\n", s->devname, av_err2str(AVERROR(errno))); in v4l2_probe_driver()
138 void *log_ctx = s->avctx; in v4l2_configure_contexts() local
152 av_log(log_ctx, AV_LOG_INFO, "requesting formats: output=%s capture=%s\n", in v4l2_configure_contexts()
162 av_log(log_ctx, AV_LOG_ERROR, "can't set v4l2 output format\n"); in v4l2_configure_contexts()
168 av_log(log_ctx, AV_LOG_ERROR, "can't to set v4l2 capture format\n"); in v4l2_configure_contexts()
[all …]
Dffjni.h40 JNIEnv *ff_jni_get_env(void *log_ctx);
51 char *ff_jni_jstring_to_utf_chars(JNIEnv *env, jstring string, void *log_ctx);
61 jstring ff_jni_utf_chars_to_jstring(JNIEnv *env, const char *utf_chars, void *log_ctx);
73 int ff_jni_exception_get_summary(JNIEnv *env, jthrowable exception, char **error, void *log_ctx);
83 int ff_jni_exception_check(JNIEnv *env, int log, void *log_ctx);
127 …s(JNIEnv *env, void *jfields, const struct FFJniField *jfields_mapping, int global, void *log_ctx);
143 …s(JNIEnv *env, void *jfields, const struct FFJniField *jfields_mapping, int global, void *log_ctx);
Djni.c40 int av_jni_set_java_vm(void *vm, void *log_ctx) in av_jni_set_java_vm() argument
49 av_log(log_ctx, AV_LOG_ERROR, "A Java virtual machine has already been set"); in av_jni_set_java_vm()
56 void *av_jni_get_java_vm(void *log_ctx) in av_jni_get_java_vm() argument
69 int av_jni_set_java_vm(void *vm, void *log_ctx) in av_jni_set_java_vm() argument
74 void *av_jni_get_java_vm(void *log_ctx) in av_jni_get_java_vm() argument
Ddirac.c144 void *log_ctx) in parse_source_parameters() argument
166 if (log_ctx) in parse_source_parameters()
167 av_log(log_ctx, AV_LOG_ERROR, "Unknown chroma format %d\n", in parse_source_parameters()
278 if (log_ctx) in parse_source_parameters()
279 …av_log(log_ctx, AV_LOG_ERROR, "Dimensions must be an integer multiple of the chroma subsampling\n"… in parse_source_parameters()
327 void *log_ctx) in av_dirac_parse_sequence_header() argument
351 if (dsh->version.major < 2 && log_ctx) in av_dirac_parse_sequence_header()
352 av_log(log_ctx, AV_LOG_WARNING, "Stream is old and may not work\n"); in av_dirac_parse_sequence_header()
353 else if (dsh->version.major > 2 && log_ctx) in av_dirac_parse_sequence_header()
354 av_log(log_ctx, AV_LOG_WARNING, "Stream may have unhandled features\n"); in av_dirac_parse_sequence_header()
[all …]
Dmediacodec_surface.c28 FFANativeWindow *ff_mediacodec_surface_ref(void *surface, void *log_ctx) in ff_mediacodec_surface_ref() argument
32 env = ff_jni_get_env(log_ctx); in ff_mediacodec_surface_ref()
40 int ff_mediacodec_surface_unref(FFANativeWindow *window, void *log_ctx) in ff_mediacodec_surface_unref() argument
44 env = ff_jni_get_env(log_ctx); in ff_mediacodec_surface_unref()
Dcbs.c75 enum AVCodecID codec_id, void *log_ctx) in ff_cbs_init() argument
95 ctx->log_ctx = log_ctx; in ff_cbs_init()
190 av_log(ctx->log_ctx, AV_LOG_VERBOSE, in cbs_read_fragment_content()
194 av_log(ctx->log_ctx, AV_LOG_ERROR, "Failed to read unit %d " in cbs_read_fragment_content()
299 av_log(ctx->log_ctx, AV_LOG_ERROR, "Unable to allocate a " in cbs_write_unit_data()
356 av_log(ctx->log_ctx, AV_LOG_ERROR, "Failed to write unit %d " in ff_cbs_write_fragment_data()
368 av_log(ctx->log_ctx, AV_LOG_ERROR, "Failed to assemble fragment.\n"); in ff_cbs_write_fragment_data()
432 av_log(ctx->log_ctx, ctx->trace_level, "%s\n", name); in ff_cbs_trace_header()
481 av_log(ctx->log_ctx, ctx->trace_level, "%-10d %s%*s = %"PRId64"\n", in ff_cbs_trace_syntax_element()
496 av_log(ctx->log_ctx, AV_LOG_ERROR, "Invalid value at " in ff_cbs_read_unsigned()
[all …]
Djni.h36 int av_jni_set_java_vm(void *vm, void *log_ctx);
44 void *av_jni_get_java_vm(void *log_ctx);
Dmediacodec_surface.h31 FFANativeWindow *ff_mediacodec_surface_ref(void *surface, void *log_ctx);
32 int ff_mediacodec_surface_unref(FFANativeWindow *window, void *log_ctx);
Dhtmlsubtitles.c29 static int html_color_parse(void *log_ctx, const char *str) in html_color_parse() argument
36 if (av_parse_color(rgba, str, strcspn(str, "\" >"), log_ctx) < 0) in html_color_parse()
129 int ff_htmlmarkup_to_ass(void *log_ctx, AVBPrint *dst, const char *in) in ff_htmlmarkup_to_ass() argument
265 color = html_color_parse(log_ctx, param); in ff_htmlmarkup_to_ass()
293 av_log(log_ctx, AV_LOG_WARNING, "Unrecognized tag %s\n", tagname); in ff_htmlmarkup_to_ass()
/third_party/ffmpeg/libavfilter/
Dgraphparser.c39 void *log_ctx) in link_filter() argument
43 av_log(log_ctx, AV_LOG_ERROR, in link_filter()
58 static char *parse_link_name(const char **buf, void *log_ctx) in parse_link_name() argument
69 av_log(log_ctx, AV_LOG_ERROR, in parse_link_name()
75 av_log(log_ctx, AV_LOG_ERROR, in parse_link_name()
97 const char *name, const char *args, void *log_ctx) in create_filter() argument
125 av_log(log_ctx, AV_LOG_ERROR, in create_filter()
132 av_log(log_ctx, AV_LOG_ERROR, in create_filter()
151 av_log(log_ctx, AV_LOG_ERROR, in create_filter()
154 av_log(log_ctx, AV_LOG_ERROR, " with args '%s'", args); in create_filter()
[all …]
Dlavfutils.c26 const char *filename, void *log_ctx) in ff_load_image() argument
42 av_log(log_ctx, AV_LOG_ERROR, in ff_load_image()
48 av_log(log_ctx, AV_LOG_ERROR, "Find stream info failed\n"); in ff_load_image()
55 av_log(log_ctx, AV_LOG_ERROR, "Failed to find codec\n"); in ff_load_image()
62 av_log(log_ctx, AV_LOG_ERROR, "Failed to alloc video decoder context\n"); in ff_load_image()
69 av_log(log_ctx, AV_LOG_ERROR, "Failed to copy codec parameters to decoder context\n"); in ff_load_image()
75 av_log(log_ctx, AV_LOG_ERROR, "Failed to open codec\n"); in ff_load_image()
80 av_log(log_ctx, AV_LOG_ERROR, "Failed to alloc frame\n"); in ff_load_image()
87 av_log(log_ctx, AV_LOG_ERROR, "Failed to read frame from file\n"); in ff_load_image()
93 av_log(log_ctx, AV_LOG_ERROR, "Failed to decode image from file\n"); in ff_load_image()
[all …]
Df_sendcmd.c137 const char **buf, void *log_ctx) in parse_command() argument
160 av_log(log_ctx, AV_LOG_ERROR, in parse_command()
169 av_log(log_ctx, AV_LOG_ERROR, in parse_command()
179 av_log(log_ctx, AV_LOG_ERROR, in parse_command()
192 av_log(log_ctx, AV_LOG_ERROR, in parse_command()
202 av_log(log_ctx, AV_LOG_ERROR, in parse_command()
222 const char **buf, void *log_ctx) in parse_commands() argument
234 if ((ret = parse_command(&cmd, cmd_count, interval_count, buf, log_ctx)) < 0) in parse_commands()
243 av_log(log_ctx, AV_LOG_ERROR, in parse_commands()
253 av_log(log_ctx, AV_LOG_ERROR, in parse_commands()
[all …]
Dvf_libopencv.c145 void *log_ctx) in read_shape_from_file() argument
151 if ((ret = av_file_map(filename, &buf, &size, 0, log_ctx)) < 0) in read_shape_from_file()
159 av_log(log_ctx, AV_LOG_ERROR, "Overflow on the number of rows in the file\n"); in read_shape_from_file()
167 av_log(log_ctx, AV_LOG_ERROR, "Overflow on the number of columns in the file\n"); in read_shape_from_file()
173 av_log(log_ctx, AV_LOG_ERROR, "File with size %dx%d is too big\n", in read_shape_from_file()
208 av_log(log_ctx, AV_LOG_DEBUG, "%3d: %s\n", i, line); in read_shape_from_file()
217 static int parse_iplconvkernel(IplConvKernel **kernel, char *buf, void *log_ctx) in parse_iplconvkernel() argument
230 if ((ret = read_shape_from_file(&cols, &rows, &values, shape_filename, log_ctx)) < 0) in parse_iplconvkernel()
233 av_log(log_ctx, AV_LOG_ERROR, in parse_iplconvkernel()
240 av_log(log_ctx, AV_LOG_ERROR, in parse_iplconvkernel()
[all …]
Dinternal.h169 int ff_parse_pixel_format(enum AVPixelFormat *ret, const char *arg, void *log_ctx);
180 int ff_parse_sample_rate(int *ret, const char *arg, void *log_ctx);
191 int ff_parse_time_base(AVRational *ret, const char *arg, void *log_ctx);
202 int ff_parse_sample_format(int *ret, const char *arg, void *log_ctx);
216 void *log_ctx);
Dasrc_flite.c99 static void list_voices(void *log_ctx, const char *sep) in list_voices() argument
103 av_log(log_ctx, AV_LOG_INFO, "%s%s", in list_voices()
107 static int select_voice(struct voice_entry **entry_ret, const char *voice_name, void *log_ctx) in select_voice() argument
117 av_log(log_ctx, AV_LOG_ERROR, in select_voice()
127 av_log(log_ctx, AV_LOG_ERROR, "Could not find voice '%s'\n", voice_name); in select_voice()
128 av_log(log_ctx, AV_LOG_INFO, "Choose between the voices: "); in select_voice()
129 list_voices(log_ctx, ", "); in select_voice()
Dscale_eval.c57 int ff_scale_eval_dimensions(void *log_ctx, in ff_scale_eval_dimensions() argument
85 NULL, NULL, NULL, NULL, NULL, 0, log_ctx); in ff_scale_eval_dimensions()
90 NULL, NULL, NULL, NULL, NULL, 0, log_ctx)) < 0) in ff_scale_eval_dimensions()
96 NULL, NULL, NULL, NULL, NULL, 0, log_ctx)) < 0) in ff_scale_eval_dimensions()
106 av_log(log_ctx, AV_LOG_ERROR, in ff_scale_eval_dimensions()
/third_party/ffmpeg/libavformat/
Dip.c63 struct addrinfo *ff_ip_resolve_host(void *log_ctx, in ff_ip_resolve_host() argument
84 av_log(log_ctx, AV_LOG_ERROR, "getaddrinfo(%s, %s): %s\n", in ff_ip_resolve_host()
94 static int ip_parse_addr_list(void *log_ctx, const char *buf, in ip_parse_addr_list() argument
107 ai = ff_ip_resolve_host(log_ctx, host, 0, SOCK_DGRAM, AF_UNSPEC, 0); in ip_parse_addr_list()
128 static int ip_parse_sources_and_blocks(void *log_ctx, const char *buf, IPSourceFilters *filters, in… in ip_parse_sources_and_blocks() argument
132 ret = ip_parse_addr_list(log_ctx, buf, &filters->include_addrs, &filters->nb_include_addrs); in ip_parse_sources_and_blocks()
134 ret = ip_parse_addr_list(log_ctx, buf, &filters->exclude_addrs, &filters->nb_exclude_addrs); in ip_parse_sources_and_blocks()
137 …av_log(log_ctx, AV_LOG_ERROR, "Simultaneously including and excluding sources is not supported.\n"… in ip_parse_sources_and_blocks()
143 int ff_ip_parse_sources(void *log_ctx, const char *buf, IPSourceFilters *filters) in ff_ip_parse_sources() argument
145 return ip_parse_sources_and_blocks(log_ctx, buf, filters, 1); in ff_ip_parse_sources()
[all …]
Dip.h48 struct addrinfo *ff_ip_resolve_host(void *log_ctx,
57 int ff_ip_parse_sources(void *log_ctx, const char *buf, IPSourceFilters *filters);
64 int ff_ip_parse_blocks(void *log_ctx, const char *buf, IPSourceFilters *filters);
Dmpjpegdec.c104 void *log_ctx);
174 void *log_ctx) in parse_multipart_header() argument
197 if (log_ctx) in parse_multipart_header()
198 av_log(log_ctx, in parse_multipart_header()
228 if (log_ctx) in parse_multipart_header()
229 av_log(log_ctx, AV_LOG_ERROR, in parse_multipart_header()
238 if (log_ctx) in parse_multipart_header()
239 av_log(log_ctx, AV_LOG_WARNING, in parse_multipart_header()
/third_party/ffmpeg/libavutil/
Dtimecode.c155 static int check_timecode(void *log_ctx, AVTimecode *tc) in check_timecode() argument
158 …av_log(log_ctx, AV_LOG_ERROR, "Valid timecode frame rate must be specified. Minimum value is 1\n"); in check_timecode()
162 … av_log(log_ctx, AV_LOG_ERROR, "Drop frame is only allowed with 30000/1001 or 60000/1001 FPS\n"); in check_timecode()
166 av_log(log_ctx, AV_LOG_WARNING, "Using non-standard frame rate %d/%d\n", in check_timecode()
184 int av_timecode_init(AVTimecode *tc, AVRational rate, int flags, int frame_start, void *log_ctx) in av_timecode_init() argument
191 return check_timecode(log_ctx, tc); in av_timecode_init()
194 int av_timecode_init_from_string(AVTimecode *tc, AVRational rate, const char *str, void *log_ctx) in av_timecode_init_from_string() argument
200 av_log(log_ctx, AV_LOG_ERROR, "Unable to parse timecode, " in av_timecode_init_from_string()
210 ret = check_timecode(log_ctx, tc); in av_timecode_init_from_string()
Dfile.c41 void *log_ctx; member
50 .parent_log_context_offset = offsetof(FileLogContext, log_ctx),
54 int log_offset, void *log_ctx) in av_file_map() argument
56 FileLogContext file_log_ctx = { &file_log_ctx_class, log_offset, log_ctx }; in av_file_map()
157 int av_tempfile(const char *prefix, char **filename, int log_offset, void *log_ctx) { in av_tempfile() argument
158 return avpriv_tempfile(prefix, filename, log_offset, log_ctx); in av_tempfile()
Dfile_open.c98 void *log_ctx; member
107 .parent_log_context_offset = offsetof(FileLogContext, log_ctx),
110 int avpriv_tempfile(const char *prefix, char **filename, int log_offset, void *log_ctx) in avpriv_tempfile() argument
112 FileLogContext file_log_ctx = { &file_log_ctx_class, log_offset, log_ctx }; in avpriv_tempfile()

1234