Searched refs:bytesRequired (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Drtcp_sender.cc988 uint8_t bytesRequired = 1; local
992 bytesRequired++;
996 if(bytesRequired > 6)
999 } else if(bytesRequired > 2)
1015 uint8_t paddingBytes = 4-((2+bytesRequired)%4);
1029 for(int i = bytesRequired-1; i > 0; i--)
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DWebGLRenderingContextBase.cpp4899 unsigned bytesRequired = 0; local
4911 bytesRequired = numBlocks * kBlockSize;
4923 bytesRequired = numBlocks * kBlockSize;
4929 bytesRequired = floor(static_cast<double>((width + 3) / 4)) * floor(static_cast<double>((height + 3) / 4)) * 8;
4935 bytesRequired = floor(static_cast<double>((width + 3) / 4)) * floor(static_cast<double>((height + 3) / 4)) * 16;
4941 bytesRequired = (max(width, 8) * max(height, 8) * 4 + 7) / 8;
4947 bytesRequired = (max(width, 16) * max(height, 8) * 2 + 7) / 8;
4955 if (pixels->byteLength() != bytesRequired) {

Completed in 2267 milliseconds