Home
last modified time | relevance | path

Searched refs:set_meta (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavfilter/
Daf_astats.c393 static void set_meta(AVDictionary **metadata, int chan, const char *key, in set_meta() function
461 set_meta(metadata, c + 1, "DC_offset", "%f", p->sigma_x / p->nb_samples); in set_metadata()
463 set_meta(metadata, c + 1, "Min_level", "%f", p->min); in set_metadata()
465 set_meta(metadata, c + 1, "Max_level", "%f", p->max); in set_metadata()
467 set_meta(metadata, c + 1, "Min_difference", "%f", p->min_diff); in set_metadata()
469 set_meta(metadata, c + 1, "Max_difference", "%f", p->max_diff); in set_metadata()
471 set_meta(metadata, c + 1, "Mean_difference", "%f", p->diff1_sum / (p->nb_samples - 1)); in set_metadata()
473set_meta(metadata, c + 1, "RMS_difference", "%f", sqrt(p->diff1_sum_x2 / (p->nb_samples - 1))); in set_metadata()
475 set_meta(metadata, c + 1, "Peak_level", "%f", LINEAR_TO_DB(FFMAX(-p->nmin, p->nmax))); in set_metadata()
477set_meta(metadata, c + 1, "RMS_level", "%f", LINEAR_TO_DB(sqrt(p->sigma_x2 / p->nb_samples))); in set_metadata()
[all …]
Dvf_scdet.c148 static int set_meta(SCDetContext *s, AVFrame *frame, const char *key, const char *value) in set_meta() function
171 set_meta(s, frame, "lavfi.scd.mafd", buf); in activate()
173 set_meta(s, frame, "lavfi.scd.score", buf); in activate()
178 set_meta(s, frame, "lavfi.scd.time", in activate()
Dvf_freezedetect.c147 static int set_meta(FreezeDetectContext *s, AVFrame *frame, const char *key, const char *value) in set_meta() function
181set_meta(s, frame, "lavfi.freezedetect.freeze_start", av_ts2timestr(s->reference_frame->pts, &inli… in activate()
183set_meta(s, frame, "lavfi.freezedetect.freeze_duration", av_ts2timestr(duration, &AV_TIME_BASE_Q)); in activate()
184set_meta(s, frame, "lavfi.freezedetect.freeze_end", av_ts2timestr(frame->pts, &inlink->time_base)); in activate()
Daf_silencedetect.c68 static void set_meta(AVFrame *insamples, int channel, const char *key, char *value) in set_meta() function
89 set_meta(insamples, s->mono ? channel + 1 : 0, "silence_start", in update()
104 set_meta(insamples, s->mono ? channel + 1 : 0, "silence_end", in update()
106 set_meta(insamples, s->mono ? channel + 1 : 0, "silence_duration", in update()
Dvf_psnr.c149 static void set_meta(AVDictionary **metadata, const char *key, char comp, float d) in set_meta() function
216 set_meta(metadata, "lavfi.psnr.mse.", s->comps[j], comp_mse[c]); in do_psnr()
217 set_meta(metadata, "lavfi.psnr.psnr.", s->comps[j], get_psnr(comp_mse[c], 1, s->max[c])); in do_psnr()
219 set_meta(metadata, "lavfi.psnr.mse_avg", 0, mse); in do_psnr()
220 set_meta(metadata, "lavfi.psnr.psnr_avg", 0, get_psnr(mse, 1, s->average_max)); in do_psnr()
Dvf_vif.c431 static void set_meta(AVDictionary **metadata, const char *key, float d) in set_meta() function
457 set_meta(metadata, "lavfi.vif.scale.0", score[0]); in do_vif()
458 set_meta(metadata, "lavfi.vif.scale.1", score[1]); in do_vif()
459 set_meta(metadata, "lavfi.vif.scale.2", score[2]); in do_vif()
460 set_meta(metadata, "lavfi.vif.scale.3", score[3]); in do_vif()
Dvf_ssim.c82 static void set_meta(AVDictionary **metadata, const char *key, char comp, float d) in set_meta() function
377 set_meta(metadata, "lavfi.ssim.", s->comps[i], c[cidx]); in do_ssim()
381 set_meta(metadata, "lavfi.ssim.All", 0, ssimv); in do_ssim()
382 set_meta(metadata, "lavfi.ssim.dB", 0, ssim_db(ssimv, 1.0)); in do_ssim()
Dvf_identity.c152 static void set_meta(AVFilterContext *ctx, in set_meta() function
227 set_meta(ctx, metadata, ".", s->comps[j], comp_score[c]); in do_identity()
229 set_meta(ctx, metadata, "_avg", 0, score); in do_identity()
Dvf_vmafmotion.c213 static void set_meta(AVDictionary **metadata, const char *key, float d) in set_meta() function
226 set_meta(&ref->metadata, "lavfi.vmafmotion.score", score); in do_vmafmotion()
/third_party/gstreamer/gstreamer/gst/
Dgstpreset.h72 gboolean (*set_meta) (GstPreset *preset, const gchar *name, member
Dgstpreset.c1184 return GST_PRESET_GET_INTERFACE (preset)->set_meta (preset, name, tag, value); in gst_preset_set_meta()
1280 iface->set_meta = gst_preset_default_set_meta; in gst_preset_class_init()
/third_party/gstreamer/gstplugins_bad/ext/bs2b/
Dgstbs2b.c192 iface->set_meta = NULL; in gst_preset_interface_init()
/third_party/gstreamer/gstplugins_bad/ext/lv2/
Dgstlv2filter.c139 iface->set_meta = gst_lv2_filter_set_meta; in gst_lv2_filter_preset_interface_init()
Dgstlv2source.c156 iface->set_meta = gst_lv2_source_set_meta; in gst_lv2_source_preset_interface_init()