Home
last modified time | relevance | path

Searched refs:_encoder (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/
Dunit_test.cc182 return _encoder->SetRates(bitRate, _inst.maxFramerate); in CodecSpecific_SetBitrate()
205 _encoder->RegisterEncodeCompleteCallback(_encodeCompleteCallback); in Setup()
244 EXPECT_TRUE(_encoder->InitEncode(&_inst, 1, 1440) == WEBRTC_VIDEO_CODEC_OK); in Setup()
245 _encoder->Encode(_inputVideoBuffer, NULL, NULL); in Setup()
273 _encoder->Encode(_inputVideoBuffer, NULL, NULL); in Setup()
301 _encoder->Release(); in Teardown()
368 EXPECT_TRUE(_encoder->Release() == WEBRTC_VIDEO_CODEC_OK); in Perform()
369 EXPECT_TRUE(_encoder->Encode(_inputVideoBuffer, NULL, NULL) in Perform()
374 EXPECT_TRUE(_encoder->InitEncode(NULL, 1, 1440) == in Perform()
381 EXPECT_TRUE(_encoder->InitEncode(&_inst, 1, 1440) == in Perform()
[all …]
Dbenchmark.cc229 _encoder = GetNewEncoder(); in PerformNormalTest()
234 _encoder->InitEncode(&_inst, 4, 1440); in PerformNormalTest()
241 _encoder->RegisterEncodeCompleteCallback(&encCallback); in PerformNormalTest()
285 _encoder->Release(); in PerformNormalTest()
288 delete _encoder; in PerformNormalTest()
298 _encoder->SetRates(600, _inst.maxFramerate); in CodecSpecific_InitBitrate()
302 _encoder->SetRates(_bitRate, _inst.maxFramerate); in CodecSpecific_InitBitrate()
Dnormal_async_test.cc311 if(_encoder->InitEncode(&_inst, 1, 1440) < 0) in Perform()
319 _encoder->RegisterEncodeCompleteCallback(&encCallback); in Perform()
393 _encoder->Release(); in Perform()
458 int ret = _encoder->Encode(_inputVideoBuffer, in Encode()
558 _encoder->SetRates(600, _inst.maxFramerate); in CodecSpecific_InitBitrate()
562 _encoder->SetRates(_bitRate, _inst.maxFramerate); in CodecSpecific_InitBitrate()
Dpacket_loss_test.cc172 _encoder->SetChannelParameters((uint32_t)(_lossProbability * 255.0), in CodecSpecific_InitBitrate()
174 _encoder->SetRates(simulatedBitRate, _inst.maxFramerate); in CodecSpecific_InitBitrate()
Dnormal_test.cc128 _encoder->InitEncode(&_inst, 1, 1460); in Perform()
183 _encoder->Release(); in Perform()
Dtest.h49 webrtc::VideoEncoder* _encoder; variable
Dtest.cc121 _encoder = encoder; in SetEncoder()
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
Dvideo_sender.cc67 _encoder(), in VideoSender()
107 _encoder = NULL; in InitializeSender()
131 _encoder = _codecDataBase.GetEncoder(); in RegisterSendCodec()
195 _encoder = NULL; in RegisterExternalEncoder()
208 if (_encoder != NULL) { in CodecConfigParameters()
209 return _encoder->CodecConfigParameters(buffer, size); in CodecConfigParameters()
226 if (!_encoder) { in Bitrate()
229 *bitrate = _encoder->BitRate(); in Bitrate()
237 if (!_encoder) { in FrameRate()
240 *framerate = _encoder->FrameRate(); in FrameRate()
[all …]
Dgeneric_encoder.cc57 _encoder(encoder), in VCMGenericEncoder()
76 return _encoder.Release(); in Release()
87 if (_encoder.InitEncode(settings, numberOfCores, maxPayloadSize) != 0) { in InitEncode()
102 return _encoder.Encode(inputFrame, codecSpecificInfo, &video_frame_types); in Encode()
108 return _encoder.SetChannelParameters(packetLoss, rtt); in SetChannelParameters()
115 int32_t ret = _encoder.SetRates(target_bitrate_kbps, frameRate); in SetRates()
128 int32_t ret = _encoder.CodecConfigParameters(buffer, size); in CodecConfigParameters()
149 return _encoder.SetPeriodicKeyFrames(enable); in SetPeriodicKeyFrames()
158 return _encoder.Encode(image, NULL, &video_frame_types); in RequestFrame()
166 return _encoder.RegisterEncodeCompleteCallback(_VCMencodedFrameCallback); in RegisterEncodeCallback()
Dgeneric_encoder.h130 VideoEncoder& _encoder;
Dvideo_coding_impl.h117 VCMGenericEncoder* _encoder; variable
Dcodec_database.cc604 delete &ptr_encoder_->_encoder; in DeleteEncoder()
/external/lzma/CPP/7zip/Compress/
DLzma2Encoder.cpp32 _encoder = 0; in CEncoder()
33 _encoder = Lzma2Enc_Create(&g_Alloc, &g_BigAlloc); in CEncoder()
34 if (_encoder == 0) in CEncoder()
40 if (_encoder != 0) in ~CEncoder()
41 Lzma2Enc_Destroy(_encoder); in ~CEncoder()
68 return SResToHRESULT(Lzma2Enc_SetProps(_encoder, &lzma2Props)); in SetCoderProperties()
73 Byte prop = Lzma2Enc_WriteProperties(_encoder); in WriteCoderProperties()
84 SRes res = Lzma2Enc_Encode(_encoder, &outWrap.p, &inWrap.p, progress ? &progressWrap.p : NULL); in Code()
DLzmaEncoder.cpp25 _encoder = 0; in CEncoder()
26 _encoder = LzmaEnc_Create(&g_Alloc); in CEncoder()
27 if (_encoder == 0) in CEncoder()
33 if (_encoder != 0) in ~CEncoder()
34 LzmaEnc_Destroy(_encoder, &g_Alloc, &g_BigAlloc); in ~CEncoder()
121 return SResToHRESULT(LzmaEnc_SetProps(_encoder, &props)); in SetCoderProperties()
128 RINOK(LzmaEnc_WriteProperties(_encoder, props, &size)); in WriteCoderProperties()
139 …SRes res = LzmaEnc_Encode(_encoder, &outWrap.p, &inWrap.p, progress ? &progressWrap.p : NULL, &g_A… in Code()
DLzma2Encoder.h21 CLzma2EncHandle _encoder; variable
DLzmaEncoder.h21 CLzmaEncHandle _encoder; variable
/external/chromium_org/third_party/simplejson/
Dencoder.py260 _encoder = encode_basestring_ascii
262 _encoder = encode_basestring
264 def _encoder(o, _orig_encoder=_encoder, _encoding=self.encoding): function
296 markers, self.default, _encoder, self.indent,
304 markers, self.default, _encoder, self.indent, floatstr,
343 def _make_iterencode(markers, _default, _encoder, _indent, _floatstr, argument
391 yield buf + _encoder(value)
481 yield _encoder(key)
484 yield _encoder(value)
525 yield _encoder(o)
/external/chromium_org/third_party/libvpx/source/libvpx/
Dconfigure450 if enabled ${cf}_encoder && enabled ${cf}_decoder; then
452 elif enabled ${cf}_encoder; then
/external/libvpx/libvpx/
Dconfigure451 if enabled ${cf}_encoder && enabled ${cf}_decoder; then
453 elif enabled ${cf}_encoder; then
/external/protobuf/python/google/protobuf/
Dreflection.py272 field_descriptor._encoder = field_encoder
812 field_descriptor._encoder(write_bytes, field_value)
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
Dpython_message.py205 field_descriptor._encoder = field_encoder
783 field_descriptor._encoder(write_bytes, field_value)