Remove unused defines and methods in internal_defines.h
Bug: none Change-Id: Ia73dda32373fb367b6163f1157392c9d8077e4fc Reviewed-on: https://webrtc-review.googlesource.com/c/116281 Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Commit-Queue: Åsa Persson <asapersson@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26421}
This commit is contained in:
parent
739baf097b
commit
7d61352c7a
@ -13,27 +13,11 @@
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
#define MASK_32_BITS(x) (0xFFFFFFFF & (x))
|
||||
|
||||
inline uint32_t MaskWord64ToUWord32(int64_t w64) {
|
||||
return static_cast<uint32_t>(MASK_32_BITS(w64));
|
||||
}
|
||||
|
||||
#define VCM_MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||
#define VCM_MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||
|
||||
#define VCM_DEFAULT_CODEC_WIDTH 352
|
||||
#define VCM_DEFAULT_CODEC_HEIGHT 288
|
||||
#define VCM_DEFAULT_FRAME_RATE 30
|
||||
#define VCM_MIN_BITRATE 30
|
||||
#define VCM_FLUSH_INDICATOR 4
|
||||
|
||||
#define VCM_NO_RECEIVER_ID 0
|
||||
|
||||
inline int32_t VCMId(const int32_t vcmId, const int32_t receiverId = 0) {
|
||||
return static_cast<int32_t>((vcmId << 16) + receiverId);
|
||||
}
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // MODULES_VIDEO_CODING_INTERNAL_DEFINES_H_
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user