Searched refs:decoder_ (Results 1 - 25 of 107) sorted by relevance

12345

/external/chromium_org/gpu/command_buffer/service/
H A Dgl_state_restorer_impl.cc13 : decoder_(decoder) {
20 DCHECK(decoder_.get());
21 return decoder_->initialized();
25 DCHECK(decoder_.get());
28 decoder_->RestoreState(
33 DCHECK(decoder_.get());
34 decoder_->RestoreAllTextureUnitBindings(NULL);
38 DCHECK(decoder_.get());
39 decoder_->RestoreActiveTextureUnitBinding(target);
43 DCHECK(decoder_
[all...]
H A Dgpu_scheduler.cc36 decoder_(decoder),
48 "decoder", decoder_ ? decoder_->GetLogger()->GetLogPrefix() : "None");
72 if (decoder_)
73 decoder_->BeginDecoding();
94 command_buffer_->SetContextLostReason(decoder_->GetContextLostReason());
106 if (decoder_) {
107 if (!error::IsError(error) && decoder_->WasContextLost()) {
108 command_buffer_->SetContextLostReason(decoder_->GetContextLostReason());
111 decoder_
[all...]
H A Dgles2_cmd_decoder_unittest_async_pixel.cc73 decoder_->SetAsyncPixelTransferManagerForTest(manager);
111 decoder_->GetAsyncPixelTransferManager()->GetPixelTransferDelegate(
132 decoder_->GetAsyncPixelTransferManager()->GetPixelTransferDelegate(
148 decoder_->GetAsyncPixelTransferManager()->GetPixelTransferDelegate(
174 decoder_->GetAsyncPixelTransferManager()->ClearPixelTransferDelegateForTest(
190 decoder_->GetAsyncPixelTransferManager()->GetPixelTransferDelegate(
207 decoder_->GetAsyncPixelTransferManager()->GetPixelTransferDelegate(
222 decoder_->GetAsyncPixelTransferManager()->GetPixelTransferDelegate(
234 decoder_->GetAsyncPixelTransferManager()->GetPixelTransferDelegate(
262 decoder_
[all...]
H A Dgpu_scheduler_unittest.cc50 decoder_.reset(new gles2::MockGLES2Decoder());
53 EXPECT_CALL(*decoder_, DoCommands(_, _, _, _)).WillRepeatedly(
54 Invoke(decoder_.get(), &gles2::MockGLES2Decoder::FakeDoCommands));
57 decoder_.get(),
58 decoder_.get()));
82 scoped_ptr<gles2::MockGLES2Decoder> decoder_; member in class:gpu::GpuSchedulerTest
130 EXPECT_CALL(*decoder_, DoCommand(7, 1, &buffer_[0]))
153 EXPECT_CALL(*decoder_, DoCommand(7, 1, &buffer_[0]))
156 EXPECT_CALL(*decoder_, DoCommand(8, 0, &buffer_[2]))
174 EXPECT_CALL(*decoder_, DoComman
[all...]
H A Dcontext_group_unittest.cc40 decoder_.reset(new MockGLES2Decoder());
45 scoped_ptr<MockGLES2Decoder> decoder_; member in class:gpu::gles2::ContextGroupTest
69 group_->Initialize(decoder_.get(), DisallowedFeatures());
91 group_->Destroy(decoder_.get(), false);
104 group_->Initialize(decoder_.get(), DisallowedFeatures());
114 group_->Destroy(decoder_.get(), false);
/external/chromium_org/sdch/open-vcdiff/src/
H A Dvcdecoder1_test.cc26 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
27 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(),
30 EXPECT_TRUE(decoder_.FinishDecoding());
35 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
36 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
39 EXPECT_TRUE(decoder_.FinishDecoding());
50 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
51 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
60 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
61 EXPECT_TRUE(decoder_
[all...]
H A Dvcdecoder3_test.cc47 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
48 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(),
51 EXPECT_TRUE(decoder_.FinishDecoding());
56 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
57 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(),
60 EXPECT_FALSE(decoder_.FinishDecoding());
66 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
67 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
75 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
76 EXPECT_FALSE(decoder_
[all...]
H A Dvcdecoder2_test.cc32 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
34 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_header_[i], 1, &output_));
36 EXPECT_TRUE(decoder_.FinishDecoding());
41 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
43 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
45 EXPECT_TRUE(decoder_.FinishDecoding());
50 decoder_.SetAllowVcdTarget(false);
51 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
53 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
55 EXPECT_TRUE(decoder_
[all...]
H A Dvcdecoder5_test.cc66 decoder_.SetAllowVcdTarget(false);
67 decoder_.SetMaximumTargetFileSize(0x4000000UL * 50);
68 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
69 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(),
74 EXPECT_TRUE(decoder_.DecodeChunk(kLargeRunWindow, sizeof(kLargeRunWindow),
84 EXPECT_TRUE(decoder_.FinishDecoding());
90 decoder_.SetAllowVcdTarget(false);
91 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
92 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(),
98 EXPECT_TRUE(decoder_
[all...]
H A Dvcdecoder4_test.cc38 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
39 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
42 EXPECT_TRUE(decoder_.FinishDecoding());
49 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
50 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
53 EXPECT_TRUE(decoder_.FinishDecoding());
61 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
63 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
65 EXPECT_TRUE(decoder_.FinishDecoding());
73 decoder_
[all...]
H A Dvcencoder_test.cc135 VCDiffStreamingDecoder decoder_; member in class:open_vcdiff::__anon10661::VCDiffEncoderTest
189 decoder_.StartDecoding("", 0);
190 EXPECT_TRUE(decoder_.DecodeChunk(delta_data(),
193 EXPECT_TRUE(decoder_.FinishDecoding());
220 decoder_.StartDecoding(NULL, 0);
221 EXPECT_TRUE(decoder_.DecodeChunk(delta_data(),
224 EXPECT_TRUE(decoder_.FinishDecoding());
271 decoder_.StartDecoding(kDictionary, sizeof(kDictionary));
272 EXPECT_TRUE(decoder_.DecodeChunk(delta_data(),
275 EXPECT_TRUE(decoder_
695 VCDiffStreamingDecoder decoder_; member in class:open_vcdiff::__anon10661::VCDiffHTML1Test
891 VCDiffStreamingDecoder decoder_; member in class:open_vcdiff::__anon10661::VCDiffHTML2Test
[all...]
/external/libvpx/libvpx/test/
H A Ddecode_test_driver.h27 : decoder_(decoder), iter_(NULL) {}
30 return vpx_codec_get_frame(decoder_, &iter_);
34 vpx_codec_ctx_t *decoder_; member in class:libvpx_test::DxDataIterator
45 memset(&decoder_, 0, sizeof(decoder_));
49 vpx_codec_destroy(&decoder_);
55 return DxDataIterator(&decoder_);
64 const vpx_codec_err_t res = vpx_codec_control_(&decoder_, ctrl_id, arg);
70 const vpx_codec_err_t res = vpx_codec_control_(&decoder_, ctrl_id, arg);
75 const char *detail = vpx_codec_error_detail(&decoder_);
101 vpx_codec_ctx_t decoder_; member in class:libvpx_test::Decoder
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Ddecode_test_driver.h27 : decoder_(decoder), iter_(NULL) {}
30 return vpx_codec_get_frame(decoder_, &iter_);
34 vpx_codec_ctx_t *decoder_; member in class:libvpx_test::DxDataIterator
45 memset(&decoder_, 0, sizeof(decoder_));
49 vpx_codec_destroy(&decoder_);
61 return DxDataIterator(&decoder_);
70 const vpx_codec_err_t res = vpx_codec_control_(&decoder_, ctrl_id, arg);
76 const vpx_codec_err_t res = vpx_codec_control_(&decoder_, ctrl_id, arg);
81 const char *detail = vpx_codec_error_detail(&decoder_);
113 vpx_codec_ctx_t decoder_; member in class:libvpx_test::Decoder
[all...]
/external/chromium_org/remoting/codec/
H A Daudio_decoder_opus.cc31 decoder_(NULL) {
39 DCHECK(!decoder_);
41 decoder_ = opus_decoder_create(kSamplingRate, channels_, &error);
42 if (!decoder_) {
48 if (decoder_) {
49 opus_decoder_destroy(decoder_);
50 decoder_ = NULL;
71 if (!decoder_) {
75 return decoder_ != NULL;
119 int result = opus_decode(decoder_, frame_dat
[all...]
H A Dvideo_decoder_vpx_unittest.cc20 scoped_ptr<VideoDecoderVpx> decoder_; member in class:remoting::__anon10385::VideoDecoderVpxTest
23 decoder_(VideoDecoderVpx::CreateForVP8()) {
30 encoder_.get(), decoder_.get(),
41 decoder_ = VideoDecoderVpx::CreateForVP8();
49 decoder_ = VideoDecoderVpx::CreateForVP9();
60 TestVideoEncoderDecoder(encoder_.get(), decoder_.get(), false);
110 TestVideoEncoderDecoder(encoder_.get(), decoder_.get(), false);
H A Daudio_decoder_opus.h34 OpusDecoder* decoder_; member in class:remoting::AudioDecoderOpus
/external/chromium_org/media/filters/
H A Dfake_video_decoder_unittest.cc33 : decoder_(new FakeVideoDecoder(GetParam().decoding_delay,
46 decoder_->Initialize(
58 decoder_->HoldNextInit();
63 decoder_->SatisfyInit();
125 decoder_->Decode(
147 decoder_->HoldDecode();
153 decoder_->SatisfyDecode();
183 decoder_->Reset(base::Bind(&FakeVideoDecoderTest::OnDecoderReset,
190 decoder_->HoldNextReset();
195 decoder_
212 scoped_ptr<FakeVideoDecoder> decoder_; member in class:media::FakeVideoDecoderTest
[all...]
H A Ddecoder_selector.cc70 decoder_.reset();
108 decoder_.reset(new typename StreamTraits::DecryptingDecoderType(
112 decoder_.get(),
128 .Run(decoder_.Pass(), scoped_ptr<DecryptingDemuxerStream>());
132 decoder_.reset();
163 DCHECK(!decoder_);
170 decoder_.reset(decoders_.front());
174 decoder_.get(),
188 decoder_.reset();
194 .Run(decoder_
[all...]
H A Dvideo_frame_stream_unittest.cc68 decoder_(new FakeVideoDecoder(GetParam().decoding_delay,
79 decoders.push_back(decoder_);
98 if (decoder_)
99 EXPECT_EQ(decoder_->total_bytes_decoded(), total_bytes_decoded_);
102 decoder_ = NULL;
128 decoder_ = NULL;
259 decoder_->HoldNextInit();
264 decoder_->HoldNextInit();
269 decoder_->HoldDecode();
274 decoder_
348 FakeVideoDecoder* decoder_; // Owned by |video_frame_stream_|. member in class:media::VideoFrameStreamTest
[all...]
/external/chromium_org/third_party/webrtc/examples/android/media_demo/jni/
H A Dmedia_codec_video_decoder.cc21 : vm_(vm), decoder_(NULL), j_start_(NULL), j_push_buffer_(NULL) {
25 decoder_ = jni->NewGlobalRef(decoder);
37 jni->DeleteGlobalRef(decoder_);
44 if (!jni->CallBooleanMethod(decoder_, j_start_, codecSettings->width,
60 jni->CallVoidMethod(decoder_, j_push_buffer_, byteBuffer, renderTimeMs);
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Daudio_decoder_unittest.cc46 decoder_(NULL) {
76 delete decoder_;
77 decoder_ = NULL;
110 EXPECT_EQ(0, decoder_->Init());
115 size_t dec_len = decoder_->Decode(&encoded_[encoded_bytes_], enc_len,
182 EXPECT_EQ(0, decoder_->Init());
183 dec_len = decoder_->Decode(encoded_, enc_len, output1, &speech_type1);
186 EXPECT_EQ(0, decoder_->Init());
187 dec_len = decoder_->Decode(encoded_, enc_len, output2, &speech_type2);
200 EXPECT_EQ(0, decoder_
220 AudioDecoder* decoder_; member in class:webrtc::AudioDecoderTest
[all...]
/external/chromium_org/content/renderer/pepper/
H A Dppb_video_decoder_impl.cc139 decoder_ = channel->CreateVideoDecoder(command_buffer_route_id);
140 return (decoder_ && decoder_->Initialize(PPToMediaProfile(profile), this));
146 if (!decoder_)
162 decoder_->Decode(decode_buffer);
169 if (!decoder_)
188 decoder_->AssignPictureBuffers(wrapped_buffers);
192 if (!decoder_)
196 decoder_->ReusePictureBuffer(picture_buffer_id);
200 if (!decoder_)
[all...]
/external/chromium_org/net/spdy/
H A Dhpack_decoder_test.cc30 : decoder_(decoder) {}
33 decoder_->HandleHeaderRepresentation(name, value);
36 return decoder_->DecodeNextName(in, out);
39 return &decoder_->header_table_;
42 decoder_->cookie_value_ = value;
45 return decoder_->cookie_value_;
48 return decoder_->decoded_block_;
51 return decoder_->headers_block_buffer_;
55 HpackDecoder* decoder_; member in class:net::test::HpackDecoderPeer
74 : decoder_(ObtainHpackHuffmanTabl
102 HpackDecoder decoder_; member in class:net::__anon9573::HpackDecoderTest
[all...]
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/vp8/test/
H A Dvp8_impl_unittest.cc103 decoder_.reset(VP8Decoder::Create());
110 decoder_->RegisterDecodeCompleteCallback(decode_complete_callback_.get());
148 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->InitDecode(&codec_inst_, 1));
188 scoped_ptr<VideoDecoder> decoder_; member in class:webrtc::TestVp8Impl
200 unittest.SetDecoder(decoder_.get());
229 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->Release());
230 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->InitDecode(&codec_inst_, 1));
242 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->Decode(encodedImage, false, NULL));
259 decoder_->Decode(encodedImage, false, NULL));
264 decoder_
[all...]
/external/chromium_org/gpu/command_buffer/tests/
H A Dgl_manager.cc144 context_group = options.share_group_manager->decoder_->GetContextGroup();
178 decoder_.reset(::gpu::gles2::GLES2Decoder::Create(context_group));
181 decoder_->GetContextGroup()->transfer_buffer_manager()));
186 decoder_.get(),
187 decoder_.get()));
189 decoder_->set_engine(gpu_scheduler_.get());
196 share_group_.get(), base_context_->get(), decoder_->AsWeakPtr()));
202 share_group_.get(), real_gl_context, decoder_->AsWeakPtr()));
215 ASSERT_TRUE(decoder_->Initialize(
277 decoder_
[all...]

Completed in 514 milliseconds

12345