コード例 #1
0
ファイル: stream.cpp プロジェクト: brucechase/avcpp
void Stream::setFrameRate(const Rational &frameRate)
{
    RAW_SET2(isValid(), r_frame_rate, frameRate.getValue());
}
コード例 #2
0
ファイル: stream.cpp プロジェクト: brucechase/avcpp
void Stream::setTimeBase(const Rational &timeBase)
{
    RAW_SET2(isValid(), time_base, timeBase.getValue());
}
コード例 #3
0
ファイル: stream.cpp プロジェクト: adarovsky/avcpp
void Stream::setSampleAspectRatio(const Rational &aspectRatio)
{
    RAW_SET2(isValid(), sample_aspect_ratio, aspectRatio.getValue());
}
コード例 #4
0
void CodecContext2::setFrameRate(const Rational &value) noexcept {
    RAW_SET2(isValid() && !isOpened(), framerate, value.getValue());
}
コード例 #5
0
void CodecContext2::setTimeBase(const Rational &value) noexcept
{
    RAW_SET2(isValid() && !isOpened(), time_base, value.getValue());
}
コード例 #6
0
ファイル: codeccontext.cpp プロジェクト: Adenilson/avcpp
void CodecContext::setTimeBase(const Rational &value)
{
    RAW_SET2(isValid(), time_base, value.getValue());
}