RTCVideoDecoder 27 content/renderer/media/rtc_video_decoder.cc const int32 RTCVideoDecoder::ID_LAST = 0x3FFFFFFF; RTCVideoDecoder 28 content/renderer/media/rtc_video_decoder.cc const int32 RTCVideoDecoder::ID_HALF = 0x20000000; RTCVideoDecoder 29 content/renderer/media/rtc_video_decoder.cc const int32 RTCVideoDecoder::ID_INVALID = -1; RTCVideoDecoder 57 content/renderer/media/rtc_video_decoder.cc RTCVideoDecoder::SHMBuffer::SHMBuffer(base::SharedMemory* shm, size_t size) RTCVideoDecoder 60 content/renderer/media/rtc_video_decoder.cc RTCVideoDecoder::SHMBuffer::~SHMBuffer() { shm->Close(); } RTCVideoDecoder 62 content/renderer/media/rtc_video_decoder.cc RTCVideoDecoder::BufferData::BufferData(int32 bitstream_buffer_id, RTCVideoDecoder 73 content/renderer/media/rtc_video_decoder.cc RTCVideoDecoder::BufferData::BufferData() {} RTCVideoDecoder 75 content/renderer/media/rtc_video_decoder.cc RTCVideoDecoder::BufferData::~BufferData() {} RTCVideoDecoder 77 content/renderer/media/rtc_video_decoder.cc RTCVideoDecoder::RTCVideoDecoder( RTCVideoDecoder 91 content/renderer/media/rtc_video_decoder.cc RTCVideoDecoder::~RTCVideoDecoder() { RTCVideoDecoder 113 content/renderer/media/rtc_video_decoder.cc scoped_ptr<RTCVideoDecoder> RTCVideoDecoder::Create( RTCVideoDecoder 116 content/renderer/media/rtc_video_decoder.cc scoped_ptr<RTCVideoDecoder> decoder; RTCVideoDecoder 129 content/renderer/media/rtc_video_decoder.cc decoder.reset(new RTCVideoDecoder(factories)); RTCVideoDecoder 132 content/renderer/media/rtc_video_decoder.cc base::Bind(&RTCVideoDecoder::CreateVDA, RTCVideoDecoder 146 content/renderer/media/rtc_video_decoder.cc int32_t RTCVideoDecoder::InitDecode(const webrtc::VideoCodec* codecSettings, RTCVideoDecoder 164 content/renderer/media/rtc_video_decoder.cc base::Bind(&RTCVideoDecoder::CreateSHM, RTCVideoDecoder 172 content/renderer/media/rtc_video_decoder.cc int32_t RTCVideoDecoder::Decode( RTCVideoDecoder 255 content/renderer/media/rtc_video_decoder.cc base::Bind(&RTCVideoDecoder::RequestBufferDecode, RTCVideoDecoder 260 content/renderer/media/rtc_video_decoder.cc int32_t RTCVideoDecoder::RegisterDecodeCompleteCallback( RTCVideoDecoder 268 content/renderer/media/rtc_video_decoder.cc int32_t RTCVideoDecoder::Release() { RTCVideoDecoder 275 content/renderer/media/rtc_video_decoder.cc int32_t RTCVideoDecoder::Reset() { RTCVideoDecoder 291 content/renderer/media/rtc_video_decoder.cc base::Bind(&RTCVideoDecoder::ResetInternal, RTCVideoDecoder 297 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::ProvidePictureBuffers(uint32 count, RTCVideoDecoder 331 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::DismissPictureBuffer(int32 id) { RTCVideoDecoder 354 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::PictureReady(const media::Picture& picture) { RTCVideoDecoder 423 content/renderer/media/rtc_video_decoder.cc scoped_refptr<media::VideoFrame> RTCVideoDecoder::CreateVideoFrame( RTCVideoDecoder 438 content/renderer/media/rtc_video_decoder.cc media::BindToCurrentLoop(base::Bind(&RTCVideoDecoder::ReleaseMailbox, RTCVideoDecoder 450 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::NotifyEndOfBitstreamBuffer(int32 id) { RTCVideoDecoder 471 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::NotifyFlushDone() { RTCVideoDecoder 476 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::NotifyResetDone() { RTCVideoDecoder 492 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::NotifyError(media::VideoDecodeAccelerator::Error error) { RTCVideoDecoder 507 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::RequestBufferDecode() { RTCVideoDecoder 546 content/renderer/media/rtc_video_decoder.cc bool RTCVideoDecoder::CanMoreDecodeWorkBeDone() { RTCVideoDecoder 550 content/renderer/media/rtc_video_decoder.cc bool RTCVideoDecoder::IsBufferAfterReset(int32 id_buffer, int32 id_reset) { RTCVideoDecoder 559 content/renderer/media/rtc_video_decoder.cc bool RTCVideoDecoder::IsFirstBufferAfterReset(int32 id_buffer, int32 id_reset) { RTCVideoDecoder 565 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::SaveToDecodeBuffers_Locked( RTCVideoDecoder 577 content/renderer/media/rtc_video_decoder.cc bool RTCVideoDecoder::SaveToPendingBuffers_Locked( RTCVideoDecoder 605 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::MovePendingBuffersToDecodeBuffers() { RTCVideoDecoder 629 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::ResetInternal() { RTCVideoDecoder 637 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::ReleaseMailbox( RTCVideoDecoder 638 content/renderer/media/rtc_video_decoder.cc base::WeakPtr<RTCVideoDecoder> decoder, RTCVideoDecoder 655 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::ReusePictureBuffer(int64 picture_buffer_id) { RTCVideoDecoder 677 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::CreateVDA(media::VideoCodecProfile profile, RTCVideoDecoder 686 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::DestroyTextures() { RTCVideoDecoder 707 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::DestroyVDA() { RTCVideoDecoder 717 content/renderer/media/rtc_video_decoder.cc scoped_ptr<RTCVideoDecoder::SHMBuffer> RTCVideoDecoder::GetSHM_Locked( RTCVideoDecoder 732 content/renderer/media/rtc_video_decoder.cc base::Bind(&RTCVideoDecoder::CreateSHM, RTCVideoDecoder 740 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::PutSHM_Locked(scoped_ptr<SHMBuffer> shm_buffer) { RTCVideoDecoder 744 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::CreateSHM(int number, size_t min_size) { RTCVideoDecoder 767 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::RecordBufferData(const BufferData& buffer_data) { RTCVideoDecoder 779 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::GetBufferData(int32 bitstream_buffer_id, RTCVideoDecoder 797 content/renderer/media/rtc_video_decoder.cc int32_t RTCVideoDecoder::RecordInitDecodeUMA(int32_t status) { RTCVideoDecoder 805 content/renderer/media/rtc_video_decoder.cc void RTCVideoDecoder::DCheckGpuVideoAcceleratorFactoriesTaskRunnerIsCurrent() RTCVideoDecoder 48 content/renderer/media/rtc_video_decoder.h class CONTENT_EXPORT RTCVideoDecoder RTCVideoDecoder 52 content/renderer/media/rtc_video_decoder.h virtual ~RTCVideoDecoder(); RTCVideoDecoder 56 content/renderer/media/rtc_video_decoder.h static scoped_ptr<RTCVideoDecoder> Create( RTCVideoDecoder 113 content/renderer/media/rtc_video_decoder.h RTCVideoDecoder( RTCVideoDecoder 155 content/renderer/media/rtc_video_decoder.h base::WeakPtr<RTCVideoDecoder> decoder, RTCVideoDecoder 274 content/renderer/media/rtc_video_decoder.h base::WeakPtrFactory<RTCVideoDecoder> weak_factory_; RTCVideoDecoder 276 content/renderer/media/rtc_video_decoder.h DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoder); RTCVideoDecoder 27 content/renderer/media/rtc_video_decoder_factory.cc scoped_ptr<RTCVideoDecoder> decoder = RTCVideoDecoder 28 content/renderer/media/rtc_video_decoder_factory.cc RTCVideoDecoder::Create(type, gpu_factories_); RTCVideoDecoder 49 content/renderer/media/rtc_video_decoder_unittest.cc RTCVideoDecoder::Create(webrtc::kVideoCodecVP8, mock_gpu_factories_); RTCVideoDecoder 80 content/renderer/media/rtc_video_decoder_unittest.cc base::Bind(&RTCVideoDecoder::NotifyResetDone, RTCVideoDecoder 95 content/renderer/media/rtc_video_decoder_unittest.cc scoped_ptr<RTCVideoDecoder> rtc_decoder_; RTCVideoDecoder 107 content/renderer/media/rtc_video_decoder_unittest.cc scoped_ptr<RTCVideoDecoder> null_rtc_decoder( RTCVideoDecoder 108 content/renderer/media/rtc_video_decoder_unittest.cc RTCVideoDecoder::Create(webrtc::kVideoCodecI420, mock_gpu_factories_)); RTCVideoDecoder 165 content/renderer/media/rtc_video_decoder_unittest.cc EXPECT_TRUE(rtc_decoder_->IsBufferAfterReset(0, RTCVideoDecoder::ID_INVALID)); RTCVideoDecoder 166 content/renderer/media/rtc_video_decoder_unittest.cc EXPECT_TRUE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_LAST, RTCVideoDecoder 167 content/renderer/media/rtc_video_decoder_unittest.cc RTCVideoDecoder::ID_INVALID)); RTCVideoDecoder 168 content/renderer/media/rtc_video_decoder_unittest.cc EXPECT_FALSE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_HALF - 2, RTCVideoDecoder 169 content/renderer/media/rtc_video_decoder_unittest.cc RTCVideoDecoder::ID_HALF + 2)); RTCVideoDecoder 170 content/renderer/media/rtc_video_decoder_unittest.cc EXPECT_TRUE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_HALF + 2, RTCVideoDecoder 171 content/renderer/media/rtc_video_decoder_unittest.cc RTCVideoDecoder::ID_HALF - 2)); RTCVideoDecoder 174 content/renderer/media/rtc_video_decoder_unittest.cc EXPECT_TRUE(rtc_decoder_->IsBufferAfterReset(0, RTCVideoDecoder::ID_LAST)); RTCVideoDecoder 176 content/renderer/media/rtc_video_decoder_unittest.cc rtc_decoder_->IsBufferAfterReset(0, RTCVideoDecoder::ID_HALF - 2)); RTCVideoDecoder 178 content/renderer/media/rtc_video_decoder_unittest.cc rtc_decoder_->IsBufferAfterReset(0, RTCVideoDecoder::ID_HALF + 2)); RTCVideoDecoder 180 content/renderer/media/rtc_video_decoder_unittest.cc EXPECT_FALSE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_LAST, 0)); RTCVideoDecoder 181 content/renderer/media/rtc_video_decoder_unittest.cc EXPECT_FALSE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_LAST, RTCVideoDecoder 182 content/renderer/media/rtc_video_decoder_unittest.cc RTCVideoDecoder::ID_HALF - 2)); RTCVideoDecoder 183 content/renderer/media/rtc_video_decoder_unittest.cc EXPECT_TRUE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_LAST, RTCVideoDecoder 184 content/renderer/media/rtc_video_decoder_unittest.cc RTCVideoDecoder::ID_HALF + 2)); RTCVideoDecoder 185 content/renderer/media/rtc_video_decoder_unittest.cc EXPECT_FALSE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_LAST, RTCVideoDecoder 186 content/renderer/media/rtc_video_decoder_unittest.cc RTCVideoDecoder::ID_LAST)); RTCVideoDecoder 191 content/renderer/media/rtc_video_decoder_unittest.cc rtc_decoder_->IsFirstBufferAfterReset(0, RTCVideoDecoder::ID_INVALID)); RTCVideoDecoder 193 content/renderer/media/rtc_video_decoder_unittest.cc rtc_decoder_->IsFirstBufferAfterReset(1, RTCVideoDecoder::ID_INVALID)); RTCVideoDecoder 198 content/renderer/media/rtc_video_decoder_unittest.cc EXPECT_FALSE(rtc_decoder_->IsFirstBufferAfterReset(RTCVideoDecoder::ID_HALF, RTCVideoDecoder 199 content/renderer/media/rtc_video_decoder_unittest.cc RTCVideoDecoder::ID_HALF)); RTCVideoDecoder 201 content/renderer/media/rtc_video_decoder_unittest.cc RTCVideoDecoder::ID_HALF + 1, RTCVideoDecoder::ID_HALF)); RTCVideoDecoder 203 content/renderer/media/rtc_video_decoder_unittest.cc RTCVideoDecoder::ID_HALF + 2, RTCVideoDecoder::ID_HALF)); RTCVideoDecoder 205 content/renderer/media/rtc_video_decoder_unittest.cc EXPECT_FALSE(rtc_decoder_->IsFirstBufferAfterReset(RTCVideoDecoder::ID_LAST, RTCVideoDecoder 206 content/renderer/media/rtc_video_decoder_unittest.cc RTCVideoDecoder::ID_LAST)); RTCVideoDecoder 208 content/renderer/media/rtc_video_decoder_unittest.cc rtc_decoder_->IsFirstBufferAfterReset(0, RTCVideoDecoder::ID_LAST)); RTCVideoDecoder 210 content/renderer/media/rtc_video_decoder_unittest.cc rtc_decoder_->IsFirstBufferAfterReset(1, RTCVideoDecoder::ID_LAST));