Home
last modified time | relevance | path

Searched refs:safe_buf_len (Results 1 – 1 of 1) sorted by relevance

/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpeg.cpp145 FX_SAFE_DWORD safe_buf_len = width; in _JpegEncode() local
146 safe_buf_len *= height; in _JpegEncode()
147 safe_buf_len *= nComponents; in _JpegEncode()
148 safe_buf_len += 1024; in _JpegEncode()
150 safe_buf_len += 255 * 18; in _JpegEncode()
151 safe_buf_len += icc_length; in _JpegEncode()
154 if (!safe_buf_len.IsValid()) { in _JpegEncode()
157 dest_buf_length = safe_buf_len.ValueOrDie(); in _JpegEncode()