HomeSort by relevance Sort by last modified time
    Searched refs:PNGCodec (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/chromium_org/ui/gfx/codec/
png_codec_unittest.cc 136 // PNGCodec::Encode supports all of the required values.
147 // PNG encoder used for testing. Required because PNGCodec::Encode doesn't do
148 // interlaced, palette-based, or grayscale images, but PNGCodec::Decode is
275 TEST(PNGCodec, EncodeDecodeRGB) {
284 ASSERT_TRUE(PNGCodec::Encode(&original[0], PNGCodec::FORMAT_RGB,
286 std::vector<PNGCodec::Comment>(),
292 ASSERT_TRUE(PNGCodec::Decode(&encoded[0], encoded.size(),
293 PNGCodec::FORMAT_RGB, &decoded,
303 TEST(PNGCodec, EncodeDecodeRGBA)
    [all...]
png_codec.cc 82 PngDecoderState(PNGCodec::ColorFormat ofmt, std::vector<unsigned char>* o)
95 : output_format(PNGCodec::FORMAT_SkBitmap),
105 PNGCodec::ColorFormat output_format;
206 case PNGCodec::FORMAT_RGB:
209 case PNGCodec::FORMAT_RGBA:
213 case PNGCodec::FORMAT_BGRA:
218 case PNGCodec::FORMAT_SkBitmap:
225 case PNGCodec::FORMAT_RGB:
229 case PNGCodec::FORMAT_RGBA:
232 case PNGCodec::FORMAT_BGRA
    [all...]
png_codec.h 26 class GFX_EXPORT PNGCodec {
81 // Call PNGCodec::Encode on the supplied SkBitmap |input|, which is assumed
90 // Call PNGCodec::Encode on the supplied SkBitmap |input|. The difference
97 // Call PNGCodec::Encode on the supplied SkBitmap |input|, which is assumed
129 DISALLOW_COPY_AND_ASSIGN(PNGCodec);
  /external/chromium_org/ui/snapshot/
snapshot_async.cc 42 gfx::PNGCodec::ColorFormat kColorFormat = gfx::PNGCodec::FORMAT_BGRA;
44 gfx::PNGCodec::ColorFormat kColorFormat = gfx::PNGCodec::FORMAT_RGBA;
48 if (!gfx::PNGCodec::Encode(pixels,
53 std::vector<gfx::PNGCodec::Comment>(),
snapshot_win.cc 94 gfx::PNGCodec::Encode(bit_ptr, gfx::PNGCodec::FORMAT_BGRA,
97 std::vector<gfx::PNGCodec::Comment>(),
  /external/chromium_org/cc/test/
pixel_test_utils.cc 21 if (gfx::PNGCodec::EncodeBGRASkBitmap(bitmap,
34 gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &png_data);
47 gfx::PNGCodec::Decode(reinterpret_cast<unsigned char*>(&png_data[0]),
  /external/chromium_org/chrome/utility/importer/
favicon_reencode.cc 37 gfx::PNGCodec::EncodeBGRASkBitmap(decoded, false, png_data);
  /external/chromium_org/ui/gfx/image/
image_png_rep.cc 30 // using the gfx::PNGCodec API, is to decode the whole thing.
33 if (!gfx::PNGCodec::Decode(raw_data->front(), raw_data->size(),
image_unittest_util.cc 69 PNGCodec::EncodeBGRASkBitmap(bitmap, false, &bytes->data());
130 !PNGCodec::Decode(bytes->front(), bytes->size(), &decoded)) {
  /external/chromium_org/printing/
image.cc 64 bool success = gfx::PNGCodec::Encode(&*data_.begin(),
65 gfx::PNGCodec::FORMAT_BGRA,
69 std::vector<gfx::PNGCodec::Comment>(),
143 bool success = gfx::PNGCodec::Decode(
145 compressed.size(), gfx::PNGCodec::FORMAT_BGRA, &data_, &w, &h);
  /external/chromium_org/gpu/command_buffer/service/
gpu_state_tracer.cc 81 bool png_ok = gfx::PNGCodec::Encode(&screenshot_pixels_[0],
82 gfx::PNGCodec::FORMAT_RGBA,
86 std::vector<gfx::PNGCodec::Comment>(),
  /external/chromium_org/chrome/browser/ui/pdf/
pdf_browsertest_base.cc 129 ASSERT_TRUE(gfx::PNGCodec::Decode(
131 gfx::PNGCodec::FORMAT_BGRA, &decoded, &w, &h));
171 gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &png_data);
  /external/chromium_org/content/test/
mock_webclipboard_impl.cc 103 gfx::PNGCodec::Encode(static_cast<unsigned char*>(bitmap.getPixels()),
105 gfx::PNGCodec::FORMAT_RGBA,
107 gfx::PNGCodec::FORMAT_BGRA,
112 std::vector<gfx::PNGCodec::Comment>(),
  /external/chromium_org/chrome/browser/ui/webui/
fileicon_source.cc 104 gfx::PNGCodec::EncodeBGRASkBitmap(
152 gfx::PNGCodec::EncodeBGRASkBitmap(
  /external/chromium_org/content/common/gpu/client/
gl_helper_benchmark.cc 86 ASSERT_TRUE(gfx::PNGCodec::Decode(
94 ASSERT_TRUE(gfx::PNGCodec::Encode(
96 gfx::PNGCodec::FORMAT_BGRA,
100 std::vector<gfx::PNGCodec::Comment>(),
  /external/chromium_org/chrome/browser/chromeos/login/
screenshot_tester.cc 186 gfx::PNGCodec::Decode(reinterpret_cast<unsigned char*>(&(model->data()[0])),
189 gfx::PNGCodec::Decode(reinterpret_cast<unsigned char*>(&(sample->data()[0])),
211 gfx::PNGCodec::EncodeBGRASkBitmap(sample_bitmap, false, &sample->data());
  /external/chromium_org/extensions/browser/api/
capture_web_contents_function.cc 106 gfx::PNGCodec::EncodeBGRASkBitmap(bitmap,
  /external/chromium_org/ui/ozone/platform/test/
test_window_manager.cc 26 gfx::PNGCodec::FastEncodeBGRASkBitmap(bitmap, true, &png_data);
  /external/chromium_org/chrome/browser/android/
favicon_helper.cc 51 gfx::PNGCodec::Decode(result.bitmap_data->front(),
76 gfx::PNGCodec::Decode(favicon_bitmap_result.bitmap_data->front(),
  /external/chromium_org/chrome/browser/extensions/
extension_action_storage_manager.cc 71 bool success = gfx::PNGCodec::Decode(
82 bool success = gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &data);
convert_web_app.cc 143 if (!gfx::PNGCodec::EncodeBGRASkBitmap(web_app.icons[i].data,
  /external/chromium_org/components/favicon_base/
favicon_util.cc 204 if (gfx::PNGCodec::Decode(png_data[i].bitmap_data->front(),
230 if (gfx::PNGCodec::EncodeBGRASkBitmap(
  /external/chromium_org/athena/content/
content_proxy.cc 54 if (gfx::PNGCodec::EncodeA8SkBitmap(bitmap, &data))
  /external/chromium_org/chrome/browser/bitmap_fetcher/
bitmap_fetcher_browsertest.cc 104 ASSERT_TRUE(gfx::PNGCodec::EncodeBGRASkBitmap(image, true, &compressed));
  /external/chromium_org/chrome/browser/printing/
print_preview_pdf_generated_browsertest.cc 560 gfx::PNGCodec::Comment hash_comment(comment_title,
562 std::vector<gfx::PNGCodec::Comment> comments;
564 ASSERT_TRUE(gfx::PNGCodec::Encode(bitmap_data.data(),
565 gfx::PNGCodec::FORMAT_BGRA,

Completed in 565 milliseconds

1 2 3