SequenceData

Public Member Functions | List of all members # bmf_sdk::SequenceData Class Reference

sdk_interface.h

公共成员函数

void set_pts (int64_t pts )

int64_t pts () const

Rational time_base () const

void set_time_base ( Rational time_base )

bool operator> (const SequenceData &other)

bool operator>= (const SequenceData &other)

bool operator< (const SequenceData &other)

bool operator<= (const SequenceData &other)

SequenceData & copy_props (const SequenceData &from)

成员函数文档

 copy_props()

 SequenceData & bmf_sdk::SequenceData::copy_props( const SequenceData &from )  

复制 props 的 util function

Parameters

  • from

Returns SequenceData &

 operator>()

bool bmf_sdk::SequenceData::operator> ( const SequenceData &other )  

inlineinline

     {
         return pts_ > other.pts_;
     }

 operator>=()

bool bmf_sdk::SequenceData::operator>= ( const SequenceData &other )  

inlineinline

     {
         return pts_ >= other.pts_;
     }

 operator<()

bool bmf_sdk::SequenceData::operator< ( const SequenceData &other )  

inlineinline

     {
         return !(*this >= other);
     }

 operator<=()

bool bmf_sdk::SequenceData::operator<= ( const SequenceData &other )  

inlineinline

     {
         return !(*this > other);
     }

 pts()

int64_t bmf_sdk::SequenceData::pts (  ) const 

inlineinline

Returns

 { return pts_; }

 set_pts()

void bmf_sdk::SequenceData::set_pts ( int64_t pts )  

inlineinline

设置该 pts 的 object。

Parameters

  • pts
 { pts_ = pts;}

 set_time_base()

void bmf_sdk::SequenceData::set_time_base (  Rational time_base )  

inlineinline

设置帧的 time base

Parameters

  • time_base;帧的 time base
     {
         time_base_ = time_base;
     }

 time_base()

Rational bmf_sdk::SequenceData::time_base(  ) const 

inlineinline

获取 time base object。 Returns Rational

     {
         return time_base_;
     }
  • /20230627/doxygen_converter/bmf/bmf/sdk/cpp_sdk/include/bmf/sdk/ sdk_interface.h

最后修改 February 19, 2024 : fix baidu statistics (daa0758)