Home
last modified time | relevance | path

Searched refs:first_pass_stats (Results 1 – 3 of 3) sorted by relevance

/external/libvpx/test/
Dvp9_ext_ratectrl_test.cc117 const vpx_rc_firstpass_stats_t *first_pass_stats) { in rc_send_firstpass_stats() argument
121 EXPECT_EQ(first_pass_stats->num_frames, kFrameNum); in rc_send_firstpass_stats()
122 for (int i = 0; i < first_pass_stats->num_frames; ++i) { in rc_send_firstpass_stats()
123 EXPECT_DOUBLE_EQ(first_pass_stats->frame_stats[i].frame, i); in rc_send_firstpass_stats()
130 const vpx_rc_firstpass_stats_t *first_pass_stats) { in rc_send_firstpass_stats_gop() argument
134 EXPECT_EQ(first_pass_stats->num_frames, kFrameNumGOP); in rc_send_firstpass_stats_gop()
135 for (int i = 0; i < first_pass_stats->num_frames; ++i) { in rc_send_firstpass_stats_gop()
136 EXPECT_DOUBLE_EQ(first_pass_stats->frame_stats[i].frame, i); in rc_send_firstpass_stats_gop()
143 const vpx_rc_firstpass_stats_t *first_pass_stats) { in rc_send_firstpass_stats_gop_short() argument
147 EXPECT_EQ(first_pass_stats->num_frames, kFrameNumGOPShort); in rc_send_firstpass_stats_gop_short()
[all …]
/external/libvpx/vp9/
Dsimple_encode.cc105 std::vector<FIRSTPASS_STATS> first_pass_stats; member in vp9::SimpleEncode::EncodeImpl
893 impl_ptr_->first_pass_stats.clear(); in ComputeFirstPassStats()
927 impl_ptr_->first_pass_stats.push_back( in ComputeFirstPassStats()
932 impl_ptr_->first_pass_stats.push_back( in ComputeFirstPassStats()
954 for (size_t i = 0; i < impl_ptr_->first_pass_stats.size() - 1; ++i) { in ObserveFirstPassStats()
956 reinterpret_cast<double *>(&impl_ptr_->first_pass_stats[i]); in ObserveFirstPassStats()
959 buf_start + sizeof(impl_ptr_->first_pass_stats[i]) / sizeof(*buf_end) - in ObserveFirstPassStats()
1041 assert(impl_ptr_->first_pass_stats.size() > 0); in StartEncode()
1049 stats.buf = GetVectorData(impl_ptr_->first_pass_stats); in StartEncode()
1050 stats.sz = sizeof(impl_ptr_->first_pass_stats[0]) * in StartEncode()
[all …]
/external/libvpx/vpx/
Dvpx_ext_ratectrl.h407 const vpx_rc_firstpass_stats_t *first_pass_stats);