Searched refs:decoded_image (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/ |
D | tfexample_decoder_test.py | 137 decoded_image = tf_image.eval() 140 return decoded_image.astype(np.float32) 147 decoded_image = self.RunDecodeExample( 151 self.assertAllClose(image, decoded_image, atol=1.001) 160 decoded_image = self.RunDecodeExample( 166 self.assertAllClose(image, decoded_image, atol=1.001) 188 decoded_image = self.RunDecodeExample( 193 self.assertAllClose(image, decoded_image, atol=0) 202 decoded_image = self.RunDecodeExample( 207 self.assertAllClose(image, decoded_image, atol=0) [all …]
|
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/ |
D | inception_preprocessing.cc | 33 void CentralCropImage(const Scope& s, const tensorflow::Output& decoded_image, in CentralCropImage() argument 35 auto image_dims = ops::Slice(s, ops::Shape(s, decoded_image), {0}, {2}); in CentralCropImage() 44 *cropped_image = ops::Slice(s, decoded_image, slice_begin, slice_size); in CentralCropImage()
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | vp8_impl.cc | 1338 VideoFrame decoded_image(buffer_pool_.CreateBuffer(img->d_w, img->d_h), in ReturnFrame() local 1343 decoded_image.buffer(kYPlane), decoded_image.stride(kYPlane), in ReturnFrame() 1344 decoded_image.buffer(kUPlane), decoded_image.stride(kUPlane), in ReturnFrame() 1345 decoded_image.buffer(kVPlane), decoded_image.stride(kVPlane), in ReturnFrame() 1347 decoded_image.set_ntp_time_ms(ntp_time_ms); in ReturnFrame() 1348 int ret = decode_complete_callback_->Decoded(decoded_image); in ReturnFrame()
|
D | simulcast_unittest.h | 122 int32_t Decoded(VideoFrame& decoded_image) override { in Decoded() argument 123 for (int i = 0; i < decoded_image.width(); ++i) { in Decoded() 124 EXPECT_NEAR(kColorY, decoded_image.buffer(kYPlane)[i], 1); in Decoded() 128 for (int i = 0; i < ((decoded_image.width() + 1) / 2); ++i) { in Decoded() 129 EXPECT_NEAR(kColorU, decoded_image.buffer(kUPlane)[i], 4); in Decoded() 130 EXPECT_NEAR(kColorV, decoded_image.buffer(kVPlane)[i], 4); in Decoded() 135 int32_t Decoded(VideoFrame& decoded_image, int64_t decode_time_ms) override { in Decoded() argument
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/ |
D | vp9_impl.cc | 954 VideoFrame decoded_image; in ReturnFrame() local 955 decoded_image.set_video_frame_buffer(img_wrapped_buffer); in ReturnFrame() 956 decoded_image.set_timestamp(timestamp); in ReturnFrame() 957 int ret = decode_complete_callback_->Decoded(decoded_image); in ReturnFrame()
|