Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/VideoStreaming/igtlCodecCommonClasses.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class IGTLCommon_EXPORT GenericEncoder : public Object

virtual int SetQP(int maxQP, int minQP){return -1;};

virtual int SetRCTaregetBitRate(unsigned int bitRate){return -1;};
virtual int SetRCTargetBitRate(unsigned int bitRate){return -1;};

virtual int SetPicWidthAndHeight(unsigned int Width, unsigned int Height){return -1;};

Expand Down
2 changes: 1 addition & 1 deletion Source/VideoStreaming/igtlH264Encoder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ int H264Encoder::FillSpecificParameters() {
return 0;
}

int H264Encoder::SetRCTaregetBitRate(unsigned int bitRate)
int H264Encoder::SetRCTargetBitRate(unsigned int bitRate)
{
this->sSvcParam.iTargetBitrate = bitRate;
for (int i = 0; i < this->sSvcParam.iSpatialLayerNum; i++)
Expand Down
2 changes: 1 addition & 1 deletion Source/VideoStreaming/igtlH264Encoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class IGTLCommon_EXPORT H264Encoder: public GenericEncoder
*/
int SetSpeed(int speed) override;

int SetRCTaregetBitRate(unsigned int bitRate) override;
int SetRCTargetBitRate(unsigned int bitRate) override;

bool GetLosslessLink() override {return this->sSvcParam.bIsLosslessLink;};

Expand Down
2 changes: 1 addition & 1 deletion Source/VideoStreaming/igtlH265Encoder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ int H265Encoder::FillSpecificParameters() {
return 0;
}

int H265Encoder::SetRCTaregetBitRate(unsigned int bitRate)
int H265Encoder::SetRCTargetBitRate(unsigned int bitRate)
{
this->sSvcParam->rc.aqMode = X265_AQ_VARIANCE;
this->sSvcParam->rc.rateControlMode = X265_RC_ABR;
Expand Down
2 changes: 1 addition & 1 deletion Source/VideoStreaming/igtlH265Encoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class IGTLCommon_EXPORT H265Encoder: public GenericEncoder

int SetSpeed(int speed) override;

int SetRCTaregetBitRate(unsigned int bitRate) override;
int SetRCTargetBitRate(unsigned int bitRate) override;

bool GetLosslessLink() override {return this->sSvcParam->bLossless;};

Expand Down
2 changes: 1 addition & 1 deletion Source/VideoStreaming/igtlVP9Encoder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ int VP9Encoder::SetKeyFrameDistance(int frameNum)
}


int VP9Encoder::SetRCTaregetBitRate(unsigned int bitRate)
int VP9Encoder::SetRCTargetBitRate(unsigned int bitRate)
{
// The bit rate in VPX is in Kilo
int bitRateInKilo = bitRate/1000;
Expand Down
2 changes: 1 addition & 1 deletion Source/VideoStreaming/igtlVP9Encoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class IGTLCommon_EXPORT VP9Encoder: public GenericEncoder

int SetQP(int maxQP, int minQP) override;

int SetRCTaregetBitRate(unsigned int bitRate) override;
int SetRCTargetBitRate(unsigned int bitRate) override;

int SetLosslessLink(bool linkMethod) override;

Expand Down