Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc36 int Encoded(EncodedImage& encodedImage,
49 int Vp8UnitTestEncodeCompleteCallback::Encoded(EncodedImage& encodedImage, in Encoded() argument
52 encoded_video_frame_->VerifyAndAllocate(encodedImage._size); in Encoded()
53 encoded_video_frame_->CopyFrame(encodedImage._size, encodedImage._buffer); in Encoded()
54 encoded_video_frame_->SetLength(encodedImage._length); in Encoded()
57 encoded_video_frame_->SetWidth(encodedImage._encodedWidth); in Encoded()
58 encoded_video_frame_->SetHeight(encodedImage._encodedHeight); in Encoded()
59 encoded_video_frame_->SetTimeStamp(encodedImage._timeStamp); in Encoded()
61 encoded_frame_type_ = encodedImage._frameType; in Encoded()
237 EncodedImage encodedImage; in TEST_F() local
[all …]
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/
Dunit_test.cc94 UnitTestEncodeCompleteCallback::Encoded(EncodedImage& encodedImage, in Encoded() argument
99 _encodedVideoBuffer->VerifyAndAllocate(encodedImage._size); in Encoded()
100 _encodedVideoBuffer->CopyFrame(encodedImage._size, encodedImage._buffer); in Encoded()
101 _encodedVideoBuffer->SetLength(encodedImage._length); in Encoded()
105 (uint16_t)encodedImage._encodedWidth); in Encoded()
107 (uint16_t)encodedImage._encodedHeight); in Encoded()
108 _encodedVideoBuffer->SetTimeStamp(encodedImage._timeStamp); in Encoded()
110 _encodedFrameType = encodedImage._frameType; in Encoded()
265 EncodedImage encodedImage; in Setup() local
277 encodedImage._frameType = kKeyFrame; in Setup()
[all …]
Dnormal_async_test.cc227 VideoEncodeCompleteCallback::Encoded(EncodedImage& encodedImage, in Encoded() argument
232 _test.Encoded(encodedImage); in Encoded()
234 newBuffer->VerifyAndAllocate(encodedImage._size); in Encoded()
235 _encodedBytes += encodedImage._length; in Encoded()
242 _test.CopyEncodedImage(*newBuffer, encodedImage, codecSpecificInfoCopy); in Encoded()
286 NormalAsyncTest::Encoded(const EncodedImage& encodedImage) in Encoded() argument
291 _encodeTimes[encodedImage._timeStamp]; in Encoded()
484 EncodedImage encodedImage; in Decode() local
485 VideoEncodedBufferToEncodedImage(*(_frameToDecode->_frame), encodedImage); in Decode()
486 encodedImage._completeFrame = !lossValue; in Decode()
[all …]
Dpacket_loss_test.cc61 PacketLossTest::Encoded(const EncodedImage& encodedImage) in Encoded() argument
64 _frameQueue.push_back(encodedImage._timeStamp); in Encoded()
65 NormalAsyncTest::Encoded(encodedImage); in Encoded()
Dnormal_async_test.h82 virtual void Encoded(const webrtc::EncodedImage& encodedImage);
153 Encoded(webrtc::EncodedImage& encodedImage,
Dpacket_loss_test.h23 virtual void Encoded(const webrtc::EncodedImage& encodedImage);
Dunit_test.h82 int32_t Encoded(webrtc::EncodedImage& encodedImage,
/external/chromium_org/third_party/webrtc/test/
Dconfigurable_frame_size_encoder.cc45 EncodedImage encodedImage( in Encode() local
47 encodedImage._completeFrame = true; in Encode()
48 encodedImage._encodedHeight = inputImage.height(); in Encode()
49 encodedImage._encodedWidth = inputImage.width(); in Encode()
50 encodedImage._frameType = kKeyFrame; in Encode()
51 encodedImage._timeStamp = inputImage.timestamp(); in Encode()
52 encodedImage.capture_time_ms_ = inputImage.render_time_ms(); in Encode()
56 callback_->Encoded(encodedImage, &specific, fragmentation); in Encode()
Dfake_encoder.h64 EncodedImage& encodedImage,
/external/chromium_org/ui/file_manager/gallery/js/image_editor/
Dimage_encoder.js81 var encodedImage = ImageEncoder.decodeDataURL(dataURL);
95 var metadataRange = metadataEncoder.findInsertionRange(encodedImage);
97 encodedImage, 0, metadataRange.from));
102 encodedImage, metadataRange.to, encodedImage.length));
105 encodedImage, 0, encodedImage.length));
221 findInsertionRange = function(encodedImage) { return {from: 0, to: 0}; }; argument
Dexif_encoder.js138 ExifEncoder.prototype.findInsertionRange = function(encodedImage) { argument
140 if (pos + 2 > encodedImage.length)
142 return encodedImage.charCodeAt(pos) << 8 | encodedImage.charCodeAt(pos + 1);
162 nextSectionStart > encodedImage.length)
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
Dgeneric_encoder.cc213 EncodedImage &encodedImage, in Encoded() argument
217 post_encode_callback_->Encoded(encodedImage); in Encoded()
219 FrameType frameType = VCMEncodedFrame::ConvertFrameType(encodedImage._frameType); in Encoded()
224 encodedBytes = encodedImage._length; in Encoded()
229 fwrite(encodedImage._buffer, 1, encodedImage._length, _bitStreamAfterEncoder); in Encoded()
240 encodedImage._timeStamp, in Encoded()
241 encodedImage.capture_time_ms_, in Encoded()
242 encodedImage._buffer, in Encoded()
256 _mediaOpt->UpdateWithEncodedData(encodedBytes, encodedImage._timeStamp, in Encoded()
Dgeneric_encoder.h40 EncodedImage& encodedImage,
/external/chromium_org/third_party/webrtc/video/
Dencoded_frame_callback_adapter.cc25 EncodedImage& encodedImage, in Encoded() argument
30 VCMEncodedFrame::ConvertFrameType(encodedImage._frameType); in Encoded()
31 const EncodedFrame frame(encodedImage._buffer, in Encoded()
32 encodedImage._length, in Encoded()
Dencoded_frame_callback_adapter.h25 virtual int32_t Encoded(EncodedImage& encodedImage,
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DImageBuffer.cpp399 Vector<unsigned char>* encodedImage = reinterpret_cast<Vector<unsigned char>*>(output); in encodeImage() local
405 if (!JPEGImageEncoder::encode(source, compressionQuality, encodedImage)) in encodeImage()
411 if (!WEBPImageEncoder::encode(source, compressionQuality, encodedImage)) in encodeImage()
414 if (!PNGImageEncoder::encode(source, encodedImage)) in encodeImage()
426 Vector<char> encodedImage; in toDataURL() local
427 if (!isSurfaceValid() || !encodeImage(m_surface->bitmap(), mimeType, quality, &encodedImage)) in toDataURL()
430 return "data:" + mimeType + ";base64," + base64Encode(encodedImage); in toDataURL()
437 Vector<char> encodedImage; in ImageDataToDataURL() local
438 if (!encodeImage(imageData, mimeType, quality, &encodedImage)) in ImageDataToDataURL()
441 return "data:" + mimeType + ";base64," + base64Encode(encodedImage); in ImageDataToDataURL()
DGraphicsContextRecorder.cpp114 Vector<char> encodedImage; in replay() local
115 if (!PNGImageEncoder::encode(bitmap, reinterpret_cast<Vector<unsigned char>*>(&encodedImage))) in replay()
117 base64Encode(encodedImage, *base64Data); in replay()
/external/smack/src/org/jivesoftware/smackx/packet/
DVCard.java377 String encodedImage = StringUtils.encodeBase64(bytes); in setAvatar() local
379 setAvatar(encodedImage, mimeType); in setAvatar()
388 public void setAvatar(String encodedImage, String mimeType) { in setAvatar() argument
389 photoBinval = encodedImage; in setAvatar()
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/interface/mock/
Dmock_video_codec_interface.h24 MOCK_METHOD3(Encoded, int32_t(EncodedImage& encodedImage,
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor.h171 void FrameEncoded(webrtc::EncodedImage* encodedImage);