HomeSort by relevance Sort by last modified time
    Searched defs:encodedImage (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
GraphicsContextRecorder.cpp 114 Vector<char> encodedImage;
115 if (!PNGImageEncoder::encode(bitmap, reinterpret_cast<Vector<unsigned char>*>(&encodedImage)))
117 base64Encode(encodedImage, *base64Data);
ImageBuffer.cpp 399 Vector<unsigned char>* encodedImage = reinterpret_cast<Vector<unsigned char>*>(output);
405 if (!JPEGImageEncoder::encode(source, compressionQuality, encodedImage))
411 if (!WEBPImageEncoder::encode(source, compressionQuality, encodedImage))
414 if (!PNGImageEncoder::encode(source, encodedImage))
426 Vector<char> encodedImage;
427 if (!isSurfaceValid() || !encodeImage(m_surface->bitmap(), mimeType, quality, &encodedImage))
430 return "data:" + mimeType + ";base64," + base64Encode(encodedImage);
437 Vector<char> encodedImage;
438 if (!encodeImage(imageData, mimeType, quality, &encodedImage))
441 return "data:" + mimeType + ";base64," + base64Encode(encodedImage);
    [all...]
  /external/chromium_org/third_party/webrtc/modules/video_coding/codecs/vp8/test/
vp8_impl_unittest.cc 36 int Encoded(EncodedImage& encodedImage,
49 int Vp8UnitTestEncodeCompleteCallback::Encoded(EncodedImage& encodedImage,
52 encoded_video_frame_->VerifyAndAllocate(encodedImage._size);
53 encoded_video_frame_->CopyFrame(encodedImage._size, encodedImage._buffer);
54 encoded_video_frame_->SetLength(encodedImage._length);
56 // encoded_video_frame_->SetFrameType(encodedImage._frameType);
57 encoded_video_frame_->SetWidth(encodedImage._encodedWidth)
    [all...]
  /external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/
normal_async_test.cc 227 VideoEncodeCompleteCallback::Encoded(EncodedImage& encodedImage,
232 _test.Encoded(encodedImage);
234 newBuffer->VerifyAndAllocate(encodedImage._size);
235 _encodedBytes += encodedImage._length;
242 _test.CopyEncodedImage(*newBuffer, encodedImage, codecSpecificInfoCopy);
286 NormalAsyncTest::Encoded(const EncodedImage& encodedImage)
291 _encodeTimes[encodedImage._timeStamp];
484 EncodedImage encodedImage
    [all...]
unit_test.cc 94 UnitTestEncodeCompleteCallback::Encoded(EncodedImage& encodedImage,
99 _encodedVideoBuffer->VerifyAndAllocate(encodedImage._size);
100 _encodedVideoBuffer->CopyFrame(encodedImage._size, encodedImage._buffer);
101 _encodedVideoBuffer->SetLength(encodedImage._length);
103 // _encodedVideoBuffer->SetFrameType(encodedImage._frameType);
105 (uint16_t)encodedImage._encodedWidth);
107 (uint16_t)encodedImage._encodedHeight);
108 _encodedVideoBuffer->SetTimeStamp(encodedImage._timeStamp)
    [all...]

Completed in 85 milliseconds