Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DImageBuffer.cpp399 int compressionQuality = JPEGImageEncoder::DefaultCompressionQuality; in encodeImage() local
401 compressionQuality = static_cast<int>(*quality * 100 + 0.5); in encodeImage()
402 if (!JPEGImageEncoder::encode(source, compressionQuality, encodedImage)) in encodeImage()
405 int compressionQuality = WEBPImageEncoder::DefaultCompressionQuality; in encodeImage() local
407 compressionQuality = static_cast<int>(*quality * 100 + 0.5); in encodeImage()
408 if (!WEBPImageEncoder::encode(source, compressionQuality, encodedImage)) in encodeImage()