Searched refs:timestamp_ratio (Results 1 – 8 of 8) sorted by relevance
/external/libvpx/libvpx/vp9/ |
D | vp9_cx_iface.h | 30 timebase_units_to_ticks(const vpx_rational64_t *timestamp_ratio, int64_t n) { in timebase_units_to_ticks() argument 31 return n * timestamp_ratio->num / timestamp_ratio->den; in timebase_units_to_ticks() 35 ticks_to_timebase_units(const vpx_rational64_t *timestamp_ratio, int64_t n) { in ticks_to_timebase_units() argument 36 int64_t round = timestamp_ratio->num / 2; in ticks_to_timebase_units() 38 return (n * timestamp_ratio->den + round) / timestamp_ratio->num; in ticks_to_timebase_units()
|
D | vp9_cx_iface.c | 103 vpx_rational64_t timestamp_ratio; member 938 priv->timestamp_ratio = get_g_timebase_in_ts(priv->cfg.g_timebase); in encoder_init() 979 duration_us = duration * (uint64_t)ctx->timestamp_ratio.num / in pick_quickcompress_mode() 980 (ctx->timestamp_ratio.den * (TICKS_PER_SEC / 1000000)); in pick_quickcompress_mode() 1113 const vpx_rational64_t *const timestamp_ratio = &ctx->timestamp_ratio; in encoder_encode() local 1177 int64_t dst_time_stamp = timebase_units_to_ticks(timestamp_ratio, pts); in encoder_encode() 1179 timebase_units_to_ticks(timestamp_ratio, pts + duration); in encoder_encode() 1183 cpi->svc.timebase_fac = timebase_units_to_ticks(timestamp_ratio, 1); in encoder_encode() 1286 ticks_to_timebase_units(timestamp_ratio, dst_time_stamp) + in encoder_encode() 1289 timestamp_ratio, dst_end_time_stamp - dst_time_stamp); in encoder_encode() [all …]
|
/external/libvpx/libvpx/vp8/ |
D | vp8_cx_iface.c | 79 vpx_rational64_t timestamp_ratio; member 682 priv->timestamp_ratio.den = priv->cfg.g_timebase.den; in vp8e_init() 683 priv->timestamp_ratio.num = (int64_t)priv->cfg.g_timebase.num; in vp8e_init() 684 priv->timestamp_ratio.num *= TICKS_PER_SEC; in vp8e_init() 685 reduce_ratio(&priv->timestamp_ratio); in vp8e_init() 757 duration_us = duration * (uint64_t)ctx->timestamp_ratio.num / in pick_quickcompress_mode() 758 (ctx->timestamp_ratio.den * (TICKS_PER_SEC / 1000000)); in pick_quickcompress_mode() 914 pts_val * ctx->timestamp_ratio.num / ctx->timestamp_ratio.den; in vp8e_encode() 916 ctx->timestamp_ratio.num / ctx->timestamp_ratio.den; in vp8e_encode() 955 round = (vpx_codec_pts_t)ctx->timestamp_ratio.num / 2; in vp8e_encode() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | encode_strategy.h | 32 const aom_rational64_t *const timestamp_ratio,
|
D | encoder.h | 1514 timebase_units_to_ticks(const aom_rational64_t *timestamp_ratio, int64_t n) { in timebase_units_to_ticks() argument 1515 return n * timestamp_ratio->num / timestamp_ratio->den; in timebase_units_to_ticks() 1519 ticks_to_timebase_units(const aom_rational64_t *timestamp_ratio, int64_t n) { in ticks_to_timebase_units() argument 1520 int64_t round = timestamp_ratio->num / 2; in ticks_to_timebase_units() 1522 return (n * timestamp_ratio->den + round) / timestamp_ratio->num; in ticks_to_timebase_units()
|
D | encode_strategy.c | 1035 const aom_rational64_t *const timestamp_ratio, in av1_encode_strategy() argument 1134 const int64_t pts64 = ticks_to_timebase_units(timestamp_ratio, *time_stamp); in av1_encode_strategy()
|
D | encoder.c | 6809 const aom_rational64_t *timestamp_ratio) { in av1_get_compressed_data() argument 6846 timestamp_ratio, flush); in av1_get_compressed_data()
|
/external/libaom/libaom/av1/ |
D | av1_cx_iface.c | 283 aom_rational64_t timestamp_ratio; member 1897 priv->timestamp_ratio.den = priv->cfg.g_timebase.den; in encoder_init() 1898 priv->timestamp_ratio.num = in encoder_init() 1900 reduce_ratio(&priv->timestamp_ratio); in encoder_init() 1999 const aom_rational64_t *const timestamp_ratio = &ctx->timestamp_ratio; in encoder_encode() local 2083 int64_t dst_time_stamp = timebase_units_to_ticks(timestamp_ratio, ptsvol); in encoder_encode() 2085 timebase_units_to_ticks(timestamp_ratio, ptsvol + duration); in encoder_encode() 2158 aom_rational64_t timestamp_ratio_la = *timestamp_ratio; in encoder_encode() 2179 &dst_end_time_stamp, !img, timestamp_ratio); in encoder_encode() 2280 ticks_to_timebase_units(timestamp_ratio, dst_time_stamp) + in encoder_encode() [all …]
|