Searched refs:safe_buf_len (Results 1 – 1 of 1) sorted by relevance
131 FX_SAFE_DWORD safe_buf_len = width; in _JpegEncode() local132 safe_buf_len *= height; in _JpegEncode()133 safe_buf_len *= nComponents; in _JpegEncode()134 safe_buf_len += 1024; in _JpegEncode()136 safe_buf_len += 255 * 18; in _JpegEncode()137 safe_buf_len += icc_length; in _JpegEncode()140 if (!safe_buf_len.IsValid()) { in _JpegEncode()143 dest_buf_length = safe_buf_len.ValueOrDie(); in _JpegEncode()