Proper spacing for end-of-namespace comments.
BUG= R=mflodman@webrtc.org, tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1760006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4293 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -589,6 +589,6 @@ public:
|
||||
virtual int StopDebugRecording() = 0;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_INTERFACE_VIDEO_CODING_H_
|
||||
|
||||
@ -56,6 +56,6 @@ private:
|
||||
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_CODEC_TIMER_H_
|
||||
|
||||
@ -122,4 +122,4 @@ void VCMContentMetricsProcessing::UpdateRecursiveAvg(
|
||||
recursive_avg_->motion_magnitude +
|
||||
recursive_avg_factor_ * contentMetrics->motion_magnitude;
|
||||
}
|
||||
} // end of namespace
|
||||
} // namespace
|
||||
|
||||
@ -120,6 +120,6 @@ protected:
|
||||
RTPFragmentationHeader _fragmentation;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_ENCODED_FRAME_H_
|
||||
|
||||
@ -38737,6 +38737,6 @@ static const unsigned char kAvgFECRecoveryXOR[kSizeAvgFECRecoveryXOR] = {
|
||||
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_SOURCE_ER_TABLES_XOR_H_
|
||||
|
||||
@ -6476,6 +6476,6 @@ static const unsigned char kCodeRateXORTable[kSizeCodeRateXORTable] = {
|
||||
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_SOURCE_FEC_TABLES_XOR_H_
|
||||
|
||||
@ -93,6 +93,6 @@ private:
|
||||
int64_t _latestPacketTimeMs;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_FRAME_BUFFER_H_
|
||||
|
||||
@ -223,4 +223,4 @@ bool VCMGenericDecoder::External() const
|
||||
return _isExternal;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
@ -119,6 +119,6 @@ protected:
|
||||
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_DECODER_H_
|
||||
|
||||
@ -272,4 +272,4 @@ void VCMEncodedFrameCallback::CopyCodecSpecific(const CodecSpecificInfo& info,
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
@ -144,6 +144,6 @@ private:
|
||||
bool _internalSource;
|
||||
}; // end of VCMGenericEncoder class
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_
|
||||
|
||||
@ -61,6 +61,6 @@ private:
|
||||
int64_t _dTS;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_INTER_FRAME_DELAY_H_
|
||||
|
||||
@ -53,6 +53,6 @@ inline int32_t VCMId(const int32_t vcmId, const int32_t receiverId = 0)
|
||||
return static_cast<int32_t>((vcmId << 16) + receiverId);
|
||||
}
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_SOURCE_INTERNAL_DEFINES_H_
|
||||
|
||||
@ -149,6 +149,6 @@ private:
|
||||
enum { kFsAccuStartupSamples = 5 };
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_JITTER_ESTIMATOR_H_
|
||||
|
||||
@ -390,7 +390,7 @@ private:
|
||||
int _numLayers;
|
||||
};
|
||||
|
||||
} // namespace media_optimization
|
||||
} // namespace webrtc
|
||||
} // namespace media_optimization
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_MEDIA_OPT_UTIL_H_
|
||||
|
||||
@ -122,6 +122,6 @@ const uint16_t VCMNackFecTable[100] = {
|
||||
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_SOURCE_NACK_FEC_TABLES_H_
|
||||
|
||||
@ -53,5 +53,5 @@ protected:
|
||||
void CopyCodecSpecifics(const RTPVideoHeader& videoHeader);
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_PACKET_H_
|
||||
|
||||
@ -956,4 +956,4 @@ bool VCMQmRobustness::SetUepProtection(uint8_t code_rate_delta,
|
||||
// Default.
|
||||
return false;
|
||||
}
|
||||
} // end of namespace
|
||||
} // namespace
|
||||
|
||||
@ -370,6 +370,6 @@ class VCMQmRobustness : public VCMQmMethod {
|
||||
uint8_t prev_packet_loss_;
|
||||
uint8_t prev_code_rate_delta_;
|
||||
};
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_QM_SELECT_H_
|
||||
|
||||
|
||||
@ -222,7 +222,7 @@ const float kSpatialErr2x2VsHoriz = 0.1f; // percentage to favor 2x2 over H
|
||||
const float kSpatialErr2X2VsVert = 0.1f; // percentage to favor 2x2 over V
|
||||
const float kSpatialErrVertVsHoriz = 0.1f; // percentage to favor H over V
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_SOURCE_QM_SELECT_DATA_H_
|
||||
|
||||
|
||||
@ -65,6 +65,6 @@ private:
|
||||
uint32_t _driftBuf[kMaxDriftJumpCount];
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_RTT_FILTER_H_
|
||||
|
||||
@ -58,6 +58,6 @@ private:
|
||||
const double _P11;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_TIMESTAMP_EXTRAPOLATOR_H_
|
||||
|
||||
@ -47,6 +47,6 @@ private:
|
||||
int32_t _length;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_TIMESTAMP_MAP_H_
|
||||
|
||||
@ -482,7 +482,7 @@ VideoCodingModuleImpl::SetChannelParameters(uint32_t target_bitrate,
|
||||
else
|
||||
{
|
||||
return VCM_UNINITIALIZED;
|
||||
} // encoder
|
||||
} // encoder
|
||||
}// send side
|
||||
return VCM_OK;
|
||||
}
|
||||
|
||||
@ -327,5 +327,5 @@ private:
|
||||
bool owns_event_factory_;
|
||||
bool frame_dropper_enabled_;
|
||||
};
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_
|
||||
|
||||
@ -359,7 +359,7 @@ CodecDataBaseTest::Perform(CmdArgs& args)
|
||||
{
|
||||
printf("frame number:%d\n",frameCnt);
|
||||
}
|
||||
} // end for:encode-decode
|
||||
} // end for:encode-decode
|
||||
// byte count for codec specific
|
||||
|
||||
printf("Total bytes encoded: %f \n\n",(8.0/1000)*(encodeCallCDT->EncodedBytes()/((int)10/VideoCodingModule::NumberOfCodecs())));
|
||||
@ -375,14 +375,14 @@ CodecDataBaseTest::Perform(CmdArgs& args)
|
||||
printf("PSNR from encoder-decoder send-receive control test"
|
||||
"is %f\n\n", psnr.average);
|
||||
}
|
||||
} // end: iterate codecs
|
||||
} // end: iterate codecs
|
||||
rewind(_sourceFile);
|
||||
delete [] tmpBuffer;
|
||||
delete decodeCallCDT;
|
||||
delete encodeCallCDT;
|
||||
// closing and calculating PSNR for prior encoder-decoder test
|
||||
TearDown(); // closing open files
|
||||
} // end of #codecs >1
|
||||
} // end of #codecs >1
|
||||
|
||||
delete waitEvent;
|
||||
Print();
|
||||
|
||||
@ -343,7 +343,7 @@ GenericCodecTest::Perform(CmdArgs& args)
|
||||
totalBytesOneSec = _encodeCompleteCallback->EncodedBytes();//totalBytes;
|
||||
}
|
||||
TEST(_vcm->TimeUntilNextProcess() >= 0);
|
||||
} // video seq. encode done
|
||||
} // video seq. encode done
|
||||
TEST(_vcm->TimeUntilNextProcess() == 0);
|
||||
_vcm->Process(); // Let the module calculate its send bit rate estimate
|
||||
// estimating rates
|
||||
@ -368,7 +368,7 @@ GenericCodecTest::Perform(CmdArgs& args)
|
||||
printf("frame count: %d delta, %d key\n", frameCount.numDeltaFrames, frameCount.numKeyFrames);
|
||||
}// end per codec
|
||||
|
||||
} // end rate control test
|
||||
} // end rate control test
|
||||
/********************************/
|
||||
/* Encoder Pipeline Delay Test */
|
||||
/******************************/
|
||||
@ -399,10 +399,10 @@ GenericCodecTest::Perform(CmdArgs& args)
|
||||
sourceFrame.set_timestamp(_timeStamp);
|
||||
_vcm->AddVideoFrame(sourceFrame);
|
||||
encodeComplete = _encodeCompleteCallback->EncodeComplete();
|
||||
} // first frame encoded
|
||||
} // first frame encoded
|
||||
printf ("\n Codec type = %s \n", _sendCodec.plName);
|
||||
printf(" Encoder pipeline delay = %d frames\n", _frameCnt - 1);
|
||||
} // end for all codecs
|
||||
} // end for all codecs
|
||||
|
||||
/********************************/
|
||||
/* Encoder Packet Size Test */
|
||||
@ -457,7 +457,7 @@ GenericCodecTest::Perform(CmdArgs& args)
|
||||
_vcm->Process();
|
||||
}
|
||||
IncrementDebugClock(_frameRate);
|
||||
} // first frame encoded
|
||||
} // first frame encoded
|
||||
|
||||
delete &rtpModule;
|
||||
Print();
|
||||
|
||||
@ -25,7 +25,7 @@ const uint32_t kConfigRenderDelayMs = 0;
|
||||
const uint32_t kConfigMinPlayoutDelayMs = 0;
|
||||
const int64_t kConfigMaxRuntimeMs = -1;
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
int RtpPlay(const CmdArgs& args) {
|
||||
std::string trace_file = webrtc::test::OutputPath() + "receiverTestTrace.txt";
|
||||
|
||||
@ -32,7 +32,7 @@ const uint32_t kConfigRenderDelayMs = 0;
|
||||
const uint32_t kConfigMinPlayoutDelayMs = 0;
|
||||
const int64_t kConfigMaxRuntimeMs = 10000;
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
bool PlayerThread(void* obj) {
|
||||
assert(obj);
|
||||
|
||||
Reference in New Issue
Block a user