Home
last modified time | relevance | path

Searched refs:av_q2d (Results 1 – 25 of 76) sorted by relevance

1234

/third_party/ffmpeg/libavfilter/
Dvf_showinfo.c172 av_q2d(mastering_display->display_primaries[0][0]), in dump_mastering_display()
173 av_q2d(mastering_display->display_primaries[0][1]), in dump_mastering_display()
174 av_q2d(mastering_display->display_primaries[1][0]), in dump_mastering_display()
175 av_q2d(mastering_display->display_primaries[1][1]), in dump_mastering_display()
176 av_q2d(mastering_display->display_primaries[2][0]), in dump_mastering_display()
177 av_q2d(mastering_display->display_primaries[2][1]), in dump_mastering_display()
178 av_q2d(mastering_display->white_point[0]), av_q2d(mastering_display->white_point[1]), in dump_mastering_display()
179 av_q2d(mastering_display->min_luminance), av_q2d(mastering_display->max_luminance)); in dump_mastering_display()
199 av_q2d(params->window_upper_left_corner_x), in dump_dynamic_hdr_plus()
200 av_q2d(params->window_upper_left_corner_y)); in dump_dynamic_hdr_plus()
[all …]
Dvf_tonemap_vaapi.c72 lrint(luma_den * av_q2d(hdr_meta->max_luminance)); in tonemap_vaapi_save_metadata()
74 FFMIN(lrint(luma_den * av_q2d(hdr_meta->min_luminance)), in tonemap_vaapi_save_metadata()
94 av_q2d(hdr_meta->display_primaries[j][0])), in tonemap_vaapi_save_metadata()
98 av_q2d(hdr_meta->display_primaries[j][1])), in tonemap_vaapi_save_metadata()
103 FFMIN(lrint(chroma_den * av_q2d(hdr_meta->white_point[0])), in tonemap_vaapi_save_metadata()
106 FFMIN(lrint(chroma_den * av_q2d(hdr_meta->white_point[1])), in tonemap_vaapi_save_metadata()
Dvf_framestep.c57 inlink->frame_rate.num, inlink->frame_rate.den, av_q2d(inlink->frame_rate), in config_output_props()
58 outlink->frame_rate.num, outlink->frame_rate.den, av_q2d(outlink->frame_rate)); in config_output_props()
Dvf_vignette.c299 s->var_values[VAR_TB] = av_q2d(inlink->time_base); in config_props()
301 NAN : av_q2d(inlink->frame_rate); in config_props()
306 s->xscale = av_q2d(av_div_q(sar, s->aspect)); in config_props()
309 s->yscale = av_q2d(av_div_q(s->aspect, sar)); in config_props()
Dsettb.c80 settb->var_values[VAR_AVTB] = av_q2d(AV_TIME_BASE_Q); in config_output_props()
81 settb->var_values[VAR_INTB] = av_q2d(inlink->time_base); in config_output_props()
Df_select.c230 select->var_values[VAR_TB] = av_q2d(inlink->time_base); in config_input()
337 select->var_values[VAR_START_T] = TS2D(frame->pts) * av_q2d(inlink->time_base); in select_frame()
341 select->var_values[VAR_T ] = TS2D(frame->pts) * av_q2d(inlink->time_base); in select_frame()
Dasrc_sine.c224 [VAR_T] = sine->pts * av_q2d(outlink->time_base), in request_frame()
225 [VAR_TB] = av_q2d(outlink->time_base), in request_frame()
Dsetpts.c126 setpts->var_values[VAR_TB] = av_q2d(inlink->time_base); in config_input()
136 av_q2d(inlink->frame_rate) : NAN; in config_input()
Dvf_swaprect.c98 var_values[VAR_SAR] = inlink->sample_aspect_ratio.num ? av_q2d(inlink->sample_aspect_ratio) : 1; in filter_frame()
101 var_values[VAR_T] = in->pts == AV_NOPTS_VALUE ? NAN : in->pts * av_q2d(inlink->time_base); in filter_frame()
Dvf_blackframe.c93 frame->pts == AV_NOPTS_VALUE ? -1 : frame->pts * av_q2d(inlink->time_base), in filter_frame()
Daf_asetrate.c72 if (av_q2d(intb) > 1.0 / FFMAX(inrate, outlink->sample_rate)) in config_props()
Dinternal.h209 #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts) * av_q2d(tb))
Dvf_zoompan.c172 NAN : in->pts * av_q2d(inlink->time_base); in output_single_frame()
173 var_values[VAR_OUT_TIME] = pts * av_q2d(outlink->time_base); in output_single_frame()
Dvf_crop.c142 … s->var_values[VAR_SAR] = link->sample_aspect_ratio.num ? av_q2d(link->sample_aspect_ratio) : 1; in config_input()
263 NAN : frame->pts * av_q2d(link->time_base); in filter_frame()
/third_party/ffmpeg/libavformat/
Ddump.c91 HEXDUMP_PRINT(" duration=%0.3f\n", pkt->duration * av_q2d(time_base)); in pkt_dump_internal()
97 HEXDUMP_PRINT("%0.3f", pkt->dts * av_q2d(time_base)); in pkt_dump_internal()
103 HEXDUMP_PRINT("%0.3f", pkt->pts * av_q2d(time_base)); in pkt_dump_internal()
347 av_q2d(metadata->display_primaries[0][0]), in dump_mastering_display_metadata()
348 av_q2d(metadata->display_primaries[0][1]), in dump_mastering_display_metadata()
349 av_q2d(metadata->display_primaries[1][0]), in dump_mastering_display_metadata()
350 av_q2d(metadata->display_primaries[1][1]), in dump_mastering_display_metadata()
351 av_q2d(metadata->display_primaries[2][0]), in dump_mastering_display_metadata()
352 av_q2d(metadata->display_primaries[2][1]), in dump_mastering_display_metadata()
353 av_q2d(metadata->white_point[0]), av_q2d(metadata->white_point[1]), in dump_mastering_display_metadata()
[all …]
Dutils.c3389 double dts = (is_relative(ts) ? ts - RELATIVE_TS_BASE : ts) * av_q2d(st->time_base);
3467 … st->internal->info->codec_info_duration*av_q2d(st->time_base) < (1001*11.5)/get_std_framerate(j))
3472 …if (av_q2d(st->time_base) * st->internal->info->rfps_duration_sum / st->internal->info->duration_c…
3489 if (num && (!ref_rate.num || (double)num/(12*1001) < 1.01 * av_q2d(ref_rate)))
3496 …&& fabs(1.0 / (av_q2d(st->r_frame_rate) * av_q2d(st->time_base)) - st->internal->info->rfps_durati…
3784 if (av_q2d(st->time_base) > 0.0005)
4076 double error = fabs(av_q2d(st->avg_frame_rate) /
4077 av_q2d(std_fps) - 1);
4085 error = fabs(av_q2d(codec_frame_rate) /
4086 av_q2d(std_fps) - 1);
[all …]
Dsegment.c433 …c.start += (int)((seg->cur_entry.end_time - seg->cur_entry.start_time) * av_q2d(rate));/* incremen… in segment_end()
453 …st_tc.start += (int)((seg->cur_entry.end_time - seg->cur_entry.start_time) * av_q2d(st_rate)); … in segment_end()
911 seg->cur_entry.end_time = (double)pkt->pts * av_q2d(st->time_base); in seg_write_packet()
921 seg->cur_entry.start_time = (double)pkt->pts * av_q2d(st->time_base); in seg_write_packet()
932 … FFMAX(seg->cur_entry.end_time, (double)(pkt->pts + pkt->duration) * av_q2d(st->time_base)); in seg_write_packet()
Dmatroskaenc.c888 av_q2d(metadata->display_primaries[0][0])); in mkv_write_video_color()
890 av_q2d(metadata->display_primaries[0][1])); in mkv_write_video_color()
892 av_q2d(metadata->display_primaries[1][0])); in mkv_write_video_color()
894 av_q2d(metadata->display_primaries[1][1])); in mkv_write_video_color()
896 av_q2d(metadata->display_primaries[2][0])); in mkv_write_video_color()
898 av_q2d(metadata->display_primaries[2][1])); in mkv_write_video_color()
900 av_q2d(metadata->white_point[0])); in mkv_write_video_color()
902 av_q2d(metadata->white_point[1])); in mkv_write_video_color()
906 av_q2d(metadata->max_luminance)); in mkv_write_video_color()
908 av_q2d(metadata->min_luminance)); in mkv_write_video_color()
[all …]
Dtty.c122 s->chars_per_frame = FFMAX(av_q2d(st->time_base)*s->chars_per_frame, 1); in read_header()
/third_party/ffmpeg/libavutil/tests/
Drational.c39 double d = av_q2d(a) == av_q2d(b) ? in main()
40 0 : (av_q2d(a) - av_q2d(b)); in main()
123 float f2 = av_q2d(a); in main()
/third_party/ffmpeg/libavutil/
Dtimestamp.h68 else snprintf(buf, AV_TS_MAX_STRING_SIZE, "%.6g", av_q2d(*tb) * ts); in av_ts_make_time_string()
Drational.h104 static inline double av_q2d(AVRational a){ in av_q2d() function
/third_party/ffmpeg/libavdevice/
Dfbdev_dec.c136 fbdev->width * fbdev->height * fbdev->bytes_per_pixel * av_q2d(fbdev->framerate_q) * 8; in fbdev_read_header()
170 fbdev->time_frame += INT64_C(1000000) / av_q2d(fbdev->framerate_q); in fbdev_read_packet()
Dgdigrab.c397 gdigrab->time_frame = av_gettime_relative() / av_q2d(gdigrab->time_base); in gdigrab_read_header()
420 …st->codecpar->bit_rate = (gdigrab->header_size + gdigrab->frame_size) * 1/av_q2d(gdigrab->time_b… in gdigrab_read_header()
555 delay = time_frame * av_q2d(time_base) - curtime; in gdigrab_read_packet()
557 if (delay < INT64_C(-1000000) * av_q2d(time_base)) { in gdigrab_read_packet()
/third_party/ffmpeg/libavcodec/
Dvaapi_encode_h265.c779 av_q2d(mdm->display_primaries[j][0])), in vaapi_encode_h265_init_picture_params()
783 av_q2d(mdm->display_primaries[j][1])), in vaapi_encode_h265_init_picture_params()
788 FFMIN(lrint(chroma_den * av_q2d(mdm->white_point[0])), in vaapi_encode_h265_init_picture_params()
791 FFMIN(lrint(chroma_den * av_q2d(mdm->white_point[1])), in vaapi_encode_h265_init_picture_params()
795 lrint(luma_den * av_q2d(mdm->max_luminance)); in vaapi_encode_h265_init_picture_params()
797 FFMIN(lrint(luma_den * av_q2d(mdm->min_luminance)), in vaapi_encode_h265_init_picture_params()

1234