Home
last modified time | relevance | path

Searched refs:codec_ (Results 1 – 25 of 45) sorted by relevance

12

/external/libvpx/libvpx/test/
Dsvc_test.cc38 memset(&codec_, 0, sizeof(codec_)); in SvcTest()
69 if (codec_initialized_) vpx_codec_destroy(&codec_); in TearDown()
73 vpx_codec_ctx_t codec_; member in __anon1dd632fe0111::SvcTest
84 vpx_codec_err_t res = vpx_svc_init(NULL, &codec_, codec_iface_, &codec_enc_); in TEST_F()
88 res = vpx_svc_init(&svc_, &codec_, NULL, &codec_enc_); in TEST_F()
91 res = vpx_svc_init(&svc_, &codec_, codec_iface_, NULL); in TEST_F()
95 res = vpx_svc_init(&svc_, &codec_, codec_iface_, &codec_enc_); in TEST_F()
99 res = vpx_svc_init(&svc_, &codec_, codec_iface_, &codec_enc_); in TEST_F()
108 vpx_codec_err_t res = vpx_svc_init(&svc_, &codec_, codec_iface_, &codec_enc_); in TEST_F()
112 res = vpx_svc_init(&svc_, &codec_, codec_iface_, &codec_enc_); in TEST_F()
[all …]
Dtile_independence_test.cc36 fw_dec_ = codec_->CreateDecoder(cfg, 0); in TileIndependenceTest()
37 inv_dec_ = codec_->CreateDecoder(cfg, 0); in TileIndependenceTest()
Ddecode_test_driver.h122 explicit DecoderTest(const CodecFactory *codec) : codec_(codec) {} in DecoderTest()
126 const CodecFactory *codec_; variable
Dencode_test_driver.cc76 const vpx_codec_err_t res = codec_->DefaultEncoderConfig(&cfg_, 0); in InitializeConfig()
155 Encoder* const encoder = codec_->CreateEncoder(cfg_, deadline_, init_flags_, in RunLoop()
158 Decoder* const decoder = codec_->CreateDecoder(dec_cfg, 0); in RunLoop()
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/vp8/
Dvp8_impl.cc53 memset(&codec_, 0, sizeof(codec_)); in VP8EncoderImpl()
101 if (codec_.maxBitrate > 0 && new_bitrate_kbit > codec_.maxBitrate) { in SetRates()
102 new_bitrate_kbit = codec_.maxBitrate; in SetRates()
105 temporal_layers_->ConfigureBitrates(new_bitrate_kbit, codec_.maxBitrate, in SetRates()
107 codec_.maxFramerate = new_framerate; in SetRates()
150 if (&codec_ != inst) { in InitEncode()
151 codec_ = *inst; in InitEncode()
171 encoded_image_._size = CalcBufferSize(kI420, codec_.width, codec_.height); in InitEncode()
178 raw_ = vpx_img_wrap(NULL, VPX_IMG_FMT_I420, codec_.width, codec_.height, in InitEncode()
184 config_->g_w = codec_.width; in InitEncode()
[all …]
Dvp8_impl.h130 VideoCodec codec_; variable
228 VideoCodec codec_; variable
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl_unittest.cc149 memset(&codec_, 0, sizeof(VideoCodec)); in RtpRtcpImplTest()
150 codec_.plType = 100; in RtpRtcpImplTest()
151 strncpy(codec_.plName, "VP8", 3); in RtpRtcpImplTest()
152 codec_.width = 320; in RtpRtcpImplTest()
153 codec_.height = 180; in RtpRtcpImplTest()
154 EXPECT_EQ(0, sender_.impl_->RegisterSendPayload(codec_)); in RtpRtcpImplTest()
168 VideoCodec codec_; member in webrtc::RtpRtcpImplTest
174 codec_.width, codec_.height, true, 0, kRtpVideoVp8, {vp8_header}}; in SendFrame()
178 codec_.plType, in SendFrame()
409 memset(&codec_, 0, sizeof(VideoCodec)); in RtpSendingTest()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/test/
Dsvc_test.cc41 memset(&codec_, 0, sizeof(codec_)); in SvcTest()
75 vpx_svc_init(&svc_, &codec_, vpx_codec_vp9_cx(), &codec_enc_); in InitializeEncoder()
77 vpx_codec_control(&codec_, VP8E_SET_CPUUSED, 4); // Make the test faster in InitializeEncoder()
83 if (codec_initialized_) vpx_codec_destroy(&codec_); in ReleaseEncoder()
91 while ((cx_pkt = vpx_codec_get_cx_data(&codec_, &iter)) != NULL) { in GetStatsData()
117 res = vpx_svc_encode(&svc_, &codec_, video.img(), video.pts(), in Pass1EncodeNFrames()
125 res = vpx_svc_encode(&svc_, &codec_, NULL, video.pts(), in Pass1EncodeNFrames()
139 while ((cx_pkt = vpx_codec_get_cx_data(&codec_, &iter)) != NULL) { in StoreFrames()
185 res = vpx_svc_encode(&svc_, &codec_, video.img(), video.pts(), in Pass2EncodeNFrames()
193 res = vpx_svc_encode(&svc_, &codec_, NULL, 0, in Pass2EncodeNFrames()
[all …]
Dtile_independence_test.cc36 fw_dec_ = codec_->CreateDecoder(cfg, 0); in TileIndependenceTest()
37 inv_dec_ = codec_->CreateDecoder(cfg, 0); in TileIndependenceTest()
Ddecode_test_driver.h149 explicit DecoderTest(const CodecFactory *codec) : codec_(codec) {} in DecoderTest()
153 const CodecFactory *codec_; variable
Dencode_test_driver.cc79 const vpx_codec_err_t res = codec_->DefaultEncoderConfig(&cfg_, 0); in InitializeConfig()
158 Encoder* const encoder = codec_->CreateEncoder(cfg_, deadline_, init_flags_, in RunLoop()
161 Decoder* const decoder = codec_->CreateDecoder(dec_cfg, 0); in RunLoop()
/external/chromium_org/remoting/codec/
Dvideo_encoder_vpx.cc231 codec_.reset(); // Force encoder re-initialization. in SetLosslessEncode()
238 codec_.reset(); // Force encoder re-initialization. in SetLosslessColor()
249 if (!codec_ || in Encode()
271 if (vpx_codec_control(codec_.get(), VP8E_SET_ACTIVEMAP, &act_map)) { in Encode()
278 codec_.get(), image_.get(), timestamp, 1, 0, VPX_DL_REALTIME); in Encode()
281 << "Details: " << vpx_codec_error(codec_.get()) << "\n" in Encode()
282 << vpx_codec_error_detail(codec_.get()); in Encode()
296 vpx_codec_get_cx_data(codec_.get(), &iter); in Encode()
335 codec_.reset(); in Initialize()
347 codec_ = CreateVP9Codec(size, lossless_color_, lossless_encode_); in Initialize()
[all …]
Dvideo_decoder_vpx.cc100 codec_.get(), reinterpret_cast<const uint8*>(packet.data().data()), in DecodePacket()
103 const char* error = vpx_codec_error(codec_.get()); in DecodePacket()
104 const char* error_detail = vpx_codec_error_detail(codec_.get()); in DecodePacket()
112 vpx_image_t* image = vpx_codec_get_frame(codec_.get(), &iter); in DecodePacket()
331 : codec_(codec.Pass()), in VideoDecoderVpx()
333 DCHECK(codec_); in VideoDecoderVpx()
/external/chromium_org/content/renderer/media/
Drtc_video_decoder_unittest.cc31 memset(&codec_, 0, sizeof(codec_)); in RTCVideoDecoderTest()
68 codec_.codecType = codec_type; in CreateDecoder()
75 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, rtc_decoder_->InitDecode(&codec_, 1)); in Initialize()
100 webrtc::VideoCodec codec_; member in content::RTCVideoDecoderTest
119 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, rtc_decoder_->InitDecode(&codec_, 1)); in TEST_F()
124 codec_.codecSpecific.VP8.feedbackModeOn = true; in TEST_F()
125 EXPECT_EQ(WEBRTC_VIDEO_CODEC_ERROR, rtc_decoder_->InitDecode(&codec_, 1)); in TEST_F()
/external/chromium_org/third_party/webrtc/video/
Dreceive_statistics_proxy.cc26 codec_(codec), in ReceiveStatisticsProxy()
44 codec_->GetReceiveSideDelay(channel_, &stats.avg_delay_ms); in GetStats()
45 stats.discarded_packets = codec_->GetNumDiscardedPackets(channel_); in GetStats()
46 codec_->GetReceiveCodecStastistics( in GetStats()
Dvideo_receive_stream.cc94 codec_ = ViECodec::GetInterface(video_engine); in VideoReceiveStream()
104 if (codec_->SetReceiveCodec(channel_, codec) != 0) { in VideoReceiveStream()
115 if (codec_->SetReceiveCodec(channel_, codec) != 0) { in VideoReceiveStream()
123 if (codec_->SetReceiveCodec(channel_, config_.codecs[i]) != 0) { in VideoReceiveStream()
131 config_.rtp.local_ssrc, clock_, rtp_rtcp_, codec_, channel_)); in VideoReceiveStream()
141 if (codec_->RegisterDecoderObserver(channel_, *stats_proxy_) != 0) in VideoReceiveStream()
197 codec_->DeregisterDecoderObserver(channel_); in ~VideoReceiveStream()
202 codec_->Release(); in ~VideoReceiveStream()
Dvideo_send_stream.cc212 codec_ = ViECodec::GetInterface(video_engine); in VideoSendStream()
230 codec_->SuspendBelowMinBitrate(channel_); in VideoSendStream()
239 codec_->RegisterEncoderObserver(channel_, stats_proxy_); in VideoSendStream()
245 codec_->DeregisterEncoderObserver(channel_); in ~VideoSendStream()
269 codec_->Release(); in ~VideoSendStream()
401 return codec_->SetSendCodec(channel_, video_codec) == 0; in ReconfigureVideoEncoder()
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
Dacm_send_test_oldapi.cc55 payload_name, &codec_, sampling_freq_hz, channels)); in RegisterCodec()
56 codec_.pltype = payload_type; in RegisterCodec()
57 codec_.pacsize = frame_size_samples; in RegisterCodec()
58 codec_registered_ = (acm_->RegisterSendCodec(codec_) == 0); in RegisterCodec()
Daudio_coding_module_unittest_oldapi.cc149 AudioCodingModule::Codec("L16", &codec_, kSampleRateHz, 1); in RegisterCodec()
150 codec_.pltype = kPayloadType; in RegisterCodec()
153 ASSERT_EQ(0, acm_->RegisterReceiveCodec(codec_)); in RegisterCodec()
154 ASSERT_EQ(0, acm_->RegisterSendCodec(codec_)); in RegisterCodec()
183 EXPECT_TRUE(encoded_bytes == 2 * codec_.pacsize || encoded_bytes == 0); in Encode()
192 CodecInst codec_; member in webrtc::AudioCodingModuleTestOldApi
466 AudioCodingModule::Codec("ISAC", &codec_, kSampleRateHz, 1); in RegisterCodec()
467 codec_.pltype = kPayloadType; in RegisterCodec()
471 ASSERT_EQ(0, acm_->RegisterReceiveCodec(codec_)); in RegisterCodec()
472 ASSERT_EQ(0, acm_->RegisterSendCodec(codec_)); in RegisterCodec()
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcvie.h88 base_(engine_), codec_(engine_), capture_(engine_), in ViEWrapper()
100 codec_(codec), in ViEWrapper()
112 webrtc::ViECodec* codec() { return codec_.get(); } in codec()
124 scoped_vie_ptr<webrtc::ViECodec> codec_; variable
Dwebrtcvoe.h99 base_(engine_), codec_(engine_), dtmf_(engine_), file_(engine_), in VoEWrapper()
118 codec_(codec), in VoEWrapper()
133 webrtc::VoECodec* codec() const { return codec_.get(); } in codec()
149 scoped_voe_ptr<webrtc::VoECodec> codec_; variable
/external/chromium_org/media/base/
Dvideo_decoder_config.cc13 : codec_(kUnknownVideoCodec), in VideoDecoderConfig()
83 codec_ = codec; in Initialize()
94 return codec_ != kUnknownVideoCodec && in IsValidConfig()
133 return codec_; in codec()
Daudio_decoder_config.cc17 : codec_(kUnknownAudioCodec), in AudioDecoderConfig()
67 codec_ = codec; in Initialize()
84 return codec_ != kUnknownAudioCodec && in IsValidConfig()
Daudio_decoder_config.h86 AudioCodec codec() const { return codec_; } in codec()
109 AudioCodec codec_;
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
Dvideo_sender_unittest.cc329 codec_ = MakeVp8VideoCodec(width, height, 3); in SetUp()
330 codec_.minBitrate = 10; in SetUp()
331 codec_.startBitrate = codec_bitrate_kbps_; in SetUp()
332 codec_.maxBitrate = codec_bitrate_kbps_; in SetUp()
333 EXPECT_EQ(0, sender_->RegisterSendCodec(&codec_, 1, 1200)); in SetUp()
380 VideoCodec codec_; member in webrtc::vcm::__anonbccd24b00111::TestVideoSenderWithVp8

12