/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_prob.h | 54 static INLINE vp9_prob get_prob(int num, int den) { in get_prob() argument 55 return (den == 0) ? 128u : clip_prob(((int64_t)num * 256 + (den >> 1)) / den); in get_prob() 58 static INLINE vp9_prob get_prob(int num, int den) { in get_prob() argument 59 return (den == 0) ? 128u : clip_prob((num * 256 + (den >> 1)) / den); in get_prob()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
D | ivfdec.c | 21 static void fix_framerate(int *num, int *den) { in fix_framerate() argument 29 *den *= 2; in fix_framerate() 36 *den = 1; in fix_framerate()
|
D | ivfenc.c | 31 mem_put_le32(header + 16, cfg->g_timebase.den); // rate in ivf_write_file_header()
|
D | video_writer.c | 29 cfg.g_timebase.den = info->time_base.denominator; in write_header()
|
D | args.c | 179 int den; /**< fraction denominator */ member 201 rat.den = rawval; in arg_parse_rational()
|
D | vpxenc.c | 641 if (rat->den < 0) { in validate_positive_rational() 643 rat->den *= -1; in validate_positive_rational() 649 if (!rat->den) in validate_positive_rational() 832 stream->config.cfg.g_timebase.den = 1000; in new_stream() 1081 double framerate = (double)global->framerate.num / global->framerate.den; in set_default_kf_interval() 1112 SHOW(g_timebase.den); in show_stream_config() 1264 frame_start = (cfg->g_timebase.den * (int64_t)(frames_in - 1) in encode_frame() 1265 * global->framerate.den) in encode_frame() 1267 next_frame_start = (cfg->g_timebase.den * (int64_t)(frames_in) in encode_frame() 1268 * global->framerate.den) in encode_frame() [all …]
|
D | rate_hist.c | 45 hist->samples = cfg->rc_buf_sz * 5 / 4 * fps->num / fps->den / 1000; in init_rate_histogram() 82 (uint64_t)cfg->g_timebase.den; in update_rate_histogram()
|
D | webmenc.c | 144 frame_time = (uint64_t)1000 * ebml->framerate.den in write_webm_seek_info() 225 * (uint64_t)cfg->g_timebase.num / (uint64_t)cfg->g_timebase.den; in write_webm_block()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
D | svc_encodeframe.c | 349 int64_t num, den; in parse_scale_factors() local 360 num = den = 0; in parse_scale_factors() 373 den = strtol(token, &token, 10); in parse_scale_factors() 374 if (den <= 0) { in parse_scale_factors() 385 (int)den; in parse_scale_factors() 614 ((double)enc_cfg->g_timebase.den / enc_cfg->g_timebase.num) / 10.0); in vpx_svc_init() 739 int w, h, index, num, den; in vpx_svc_get_layer_resolution() local 749 den = si->scaling_factor_den[index]; in vpx_svc_get_layer_resolution() 750 if (num == 0 || den == 0) return VPX_CODEC_INVALID_PARAM; in vpx_svc_get_layer_resolution() 752 w = si->width * num / den; in vpx_svc_get_layer_resolution() [all …]
|
D | vpx_encoder.c | 100 if (dsf->num < 1 || dsf->num > 4096 || dsf->den < 1 || in vpx_codec_enc_init_multi_ver() 101 dsf->den > dsf->num) { in vpx_codec_enc_init_multi_ver() 110 mr_cfg.mr_down_sampling_factor.den = dsf->den; in vpx_codec_enc_init_multi_ver()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
D | error_resilience_test.cc | 157 timebase.den, timebase.num, 0, 30); in TEST_P() 194 timebase.den, timebase.num, 0, 40); in TEST_P()
|
D | altref_test.cc | 61 timebase.den, timebase.num, 0, 30); in TEST_P()
|
D | svc_test.cc | 57 codec_enc_.g_timebase.den = 60; in SetUp() 262 codec_enc_.g_timebase.den, in TEST_F() 289 codec_enc_.g_timebase.den, in TEST_F() 379 codec_enc_.g_timebase.den, in TEST_F() 428 codec_enc_.g_timebase.den, in TEST_F()
|
D | vp9_lossless_test.cc | 71 timebase.den, timebase.num, 0, 10); in TEST_P()
|
D | cq_test.cc | 88 timebase.den, timebase.num, 0, 30); in TEST_P()
|
D | tile_independence_test.cc | 93 timebase.den, timebase.num, 0, 30); in TEST_P()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
D | vp8_multi_resolution_encoder.c | 148 mem_put_le32(header+16, cfg->g_timebase.den); /* rate */ in write_ivf_file_header() 286 cfg[0].g_timebase.den = framerate; in main() 301 unsigned int iw = cfg[i-1].g_w*dsf[i-1].den + dsf[i-1].num - 1; in main() 302 unsigned int ih = cfg[i-1].g_h*dsf[i-1].den + dsf[i-1].num - 1; in main()
|
D | vp9_spatial_scalable_encoder.c | 149 enc_cfg->g_timebase.den = default_timebase_den; in parse_command_line() 279 enc_cfg->g_timebase.num, enc_cfg->g_timebase.den, in parse_command_line() 318 info.time_base.denominator = enc_cfg.g_timebase.den; in main()
|
D | vpx_temporal_scalable_patterns.c | 68 const double framerate = cfg->g_timebase.den / cfg->g_timebase.num; in set_rate_control_metrics() 503 cfg.g_timebase.den = strtol(argv[7], NULL, 0); in main() 558 info.time_base.denominator = cfg.g_timebase.den; in main() 590 * ((double) cfg.g_timebase.den / cfg.g_timebase.num) / 10.0); in main()
|
D | vp8cx_set_ref.c | 150 cfg.g_timebase.den = info.time_base.denominator; in main()
|
D | simple_encoder.c | 219 cfg.g_timebase.den = info.time_base.denominator; in main()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/ |
D | vp8_cx_iface.c | 142 RANGE_CHECK(cfg, g_timebase.den, 1, 1000000000); in validate_config() 143 RANGE_CHECK(cfg, g_timebase.num, 1, cfg->g_timebase.den); in validate_config() 391 oxcf->mr_down_sampling_factor.den = mr_cfg->mr_down_sampling_factor.den; in set_vp8e_config() 717 / (uint64_t)ctx->cfg.g_timebase.den; in pick_quickcompress_mode() 846 dst_time_stamp = pts * 10000000 * ctx->cfg.g_timebase.num / ctx->cfg.g_timebase.den; in vp8e_encode() 847 …t_end_time_stamp = (pts + duration) * 10000000 * ctx->cfg.g_timebase.num / ctx->cfg.g_timebase.den; in vp8e_encode() 897 (dst_time_stamp * ctx->cfg.g_timebase.den + round) in vp8e_encode() 900 ((delta * ctx->cfg.g_timebase.den + round) in vp8e_encode() 917 * ctx->cfg.g_timebase.den + round) in vp8e_encode()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/ |
D | vp9_cx_iface.c | 147 RANGE_CHECK(cfg, g_timebase.den, 1, 1000000000); in validate_config() 148 RANGE_CHECK(cfg, g_timebase.num, 1, cfg->g_timebase.den); in validate_config() 287 oxcf->framerate = (double)cfg->g_timebase.den / cfg->g_timebase.num; in set_vp9e_config() 595 (uint64_t)ctx->cfg.g_timebase.den; in pick_quickcompress_mode() 740 / ctx->cfg.g_timebase.den; in vp9e_encode() 742 ctx->cfg.g_timebase.den; in vp9e_encode() 800 (dst_time_stamp * ctx->cfg.g_timebase.den + round) in vp9e_encode() 803 ((delta * ctx->cfg.g_timebase.den + round) in vp9e_encode() 818 * ctx->cfg.g_timebase.den + round) in vp9e_encode()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/ |
D | vpx_encoder.h | 211 int den; /**< fraction denominator */ member
|
/hardware/ti/omap4xxx/camera/ |
D | Encoder_libjpeg.cpp | 212 void ExifElementsTable::stringToRational(const char* str, unsigned int* num, unsigned int* den) { in stringToRational() argument 255 *den = denominator; in stringToRational()
|