Home
last modified time | relevance | path

Searched refs:codec_info (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/call/
Drtp_payload_params_unittest.cc61 CodecSpecificInfo codec_info; in TEST() local
62 codec_info.codecType = kVideoCodecVP8; in TEST()
63 codec_info.codecSpecific.VP8.temporalIdx = 0; in TEST()
64 codec_info.codecSpecific.VP8.keyIdx = kNoKeyIdx; in TEST()
65 codec_info.codecSpecific.VP8.layerSync = false; in TEST()
66 codec_info.codecSpecific.VP8.nonReference = true; in TEST()
69 params.GetRtpVideoHeader(encoded_image, &codec_info, kDontCare); in TEST()
71 codec_info.codecType = kVideoCodecVP8; in TEST()
72 codec_info.codecSpecific.VP8.temporalIdx = 1; in TEST()
73 codec_info.codecSpecific.VP8.layerSync = true; in TEST()
[all …]
Drtp_video_sender_unittest.cc247 CodecSpecificInfo codec_info; in TEST() local
248 codec_info.codecType = kVideoCodecVP8; in TEST()
253 ->OnEncodedImage(encoded_image_1, &codec_info, nullptr) in TEST()
260 ->OnEncodedImage(encoded_image_2, &codec_info, nullptr) in TEST()
267 ->OnEncodedImage(encoded_image_1, &codec_info, nullptr) in TEST()
271 ->OnEncodedImage(encoded_image_2, &codec_info, nullptr) in TEST()
292 CodecSpecificInfo codec_info; in TEST() local
293 codec_info.codecType = kVideoCodecVP8; in TEST()
301 ->OnEncodedImage(encoded_image_1, &codec_info, nullptr) in TEST()
312 ->OnEncodedImage(encoded_image_1, &codec_info, nullptr) in TEST()
[all …]
/external/webrtc/sdk/android/src/jni/
Dvideo_encoder_factory_wrapper.cc42 ScopedJavaLocalRef<jobject> codec_info = in OnAvailableBitrate() local
45 if (codec_info.is_null()) { in OnAvailableBitrate()
48 return VideoCodecInfoToSdpVideoFormat(jni, codec_info); in OnAvailableBitrate()
53 ScopedJavaLocalRef<jobject> codec_info = in OnEncoderBroken() local
55 if (codec_info.is_null()) { in OnEncoderBroken()
58 return VideoCodecInfoToSdpVideoFormat(jni, codec_info); in OnEncoderBroken()
112 CodecInfo codec_info; in QueryVideoEncoder() local
114 codec_info.is_hardware_accelerated = IsHardwareVideoEncoder(jni, encoder); in QueryVideoEncoder()
115 codec_info.has_internal_source = false; in QueryVideoEncoder()
116 return codec_info; in QueryVideoEncoder()
/external/webrtc/api/test/video/
Dfunction_video_encoder_factory.h48 CodecInfo codec_info; in QueryVideoEncoder() local
49 codec_info.is_hardware_accelerated = false; in QueryVideoEncoder()
50 codec_info.has_internal_source = false; in QueryVideoEncoder()
51 return codec_info; in QueryVideoEncoder()
/external/webrtc/video/
Dsend_statistics_proxy.cc88 bool IsForcedFallbackPossible(const CodecSpecificInfo* codec_info, in IsForcedFallbackPossible() argument
90 return codec_info->codecType == kVideoCodecVP8 && simulcast_index == 0 && in IsForcedFallbackPossible()
91 (codec_info->codecSpecific.VP8.temporalIdx == 0 || in IsForcedFallbackPossible()
92 codec_info->codecSpecific.VP8.temporalIdx == kNoTemporalIdx); in IsForcedFallbackPossible()
842 const CodecSpecificInfo* codec_info, in UpdateEncoderFallbackStats() argument
845 UpdateFallbackDisabledStats(codec_info, pixels, simulcast_index); in UpdateEncoderFallbackStats()
851 if (!IsForcedFallbackPossible(codec_info, simulcast_index)) { in UpdateEncoderFallbackStats()
895 const CodecSpecificInfo* codec_info, in UpdateFallbackDisabledStats() argument
904 if (!IsForcedFallbackPossible(codec_info, simulcast_index) || in UpdateFallbackDisabledStats()
923 const CodecSpecificInfo* codec_info) { in OnSendEncodedImage() argument
[all …]
Dsend_statistics_proxy_unittest.cc45 CodecSpecificInfo codec_info; in __anon8492f95c0202() local
46 codec_info.codecType = kVideoCodecVP8; in __anon8492f95c0202()
47 return codec_info; in __anon8492f95c0202()
364 CodecSpecificInfo codec_info; in TEST_F() local
367 statistics_proxy_->OnSendEncodedImage(encoded_image, &codec_info); in TEST_F()
374 CodecSpecificInfo codec_info; in TEST_F() local
379 statistics_proxy_->OnSendEncodedImage(encoded_image, &codec_info); in TEST_F()
382 statistics_proxy_->OnSendEncodedImage(encoded_image, &codec_info); in TEST_F()
388 CodecSpecificInfo codec_info; in TEST_F() local
393 statistics_proxy_->OnSendEncodedImage(encoded_image, &codec_info); in TEST_F()
[all …]
Dsend_statistics_proxy.h61 const CodecSpecificInfo* codec_info) override;
267 void UpdateEncoderFallbackStats(const CodecSpecificInfo* codec_info,
271 void UpdateFallbackDisabledStats(const CodecSpecificInfo* codec_info,
/external/webrtc/sdk/android/native_unittests/org/webrtc/
DCodecsWrapperTestHelper.java23 VideoCodecInfo codec_info = new VideoCodecInfo("H264", params); in createTestVideoCodecInfo() local
24 return codec_info; in createTestVideoCodecInfo()
/external/python/cpython2/Python/
Dcodecs.c222 PyObject *codec_makeincrementalcodec(PyObject *codec_info, in codec_makeincrementalcodec() argument
228 inccodec = PyObject_GetAttrString(codec_info, attrname); in codec_makeincrementalcodec()
244 PyObject *codec_info, *ret; in codec_getincrementalcodec() local
246 codec_info = _PyCodec_Lookup(encoding); in codec_getincrementalcodec()
247 if (codec_info == NULL) in codec_getincrementalcodec()
249 ret = codec_makeincrementalcodec(codec_info, errors, attrname); in codec_getincrementalcodec()
250 Py_DECREF(codec_info); in codec_getincrementalcodec()
280 PyObject *_PyCodecInfo_GetIncrementalDecoder(PyObject *codec_info, in _PyCodecInfo_GetIncrementalDecoder() argument
283 return codec_makeincrementalcodec(codec_info, errors, in _PyCodecInfo_GetIncrementalDecoder()
287 PyObject *_PyCodecInfo_GetIncrementalEncoder(PyObject *codec_info, in _PyCodecInfo_GetIncrementalEncoder() argument
[all …]
/external/webrtc/sdk/android/native_api/codecs/
Dwrapper.cc23 SdpVideoFormat JavaToNativeVideoCodecInfo(JNIEnv* jni, jobject codec_info) { in JavaToNativeVideoCodecInfo() argument
25 JavaParamRef<jobject>(codec_info)); in JavaToNativeVideoCodecInfo()
Dwrapper.h26 SdpVideoFormat JavaToNativeVideoCodecInfo(JNIEnv* jni, jobject codec_info);
/external/python/cpython2/Include/
Dcodecs.h118 PyObject *codec_info,
123 PyObject *codec_info,
/external/python/cpython3/Include/
Dcodecs.h136 PyObject *codec_info,
141 PyObject *codec_info,
/external/python/cpython3/Python/
Dcodecs.c271 PyObject *codec_makeincrementalcodec(PyObject *codec_info, in codec_makeincrementalcodec() argument
277 inccodec = PyObject_GetAttrString(codec_info, attrname); in codec_makeincrementalcodec()
293 PyObject *codec_info, *ret; in codec_getincrementalcodec() local
295 codec_info = _PyCodec_Lookup(encoding); in codec_getincrementalcodec()
296 if (codec_info == NULL) in codec_getincrementalcodec()
298 ret = codec_makeincrementalcodec(codec_info, errors, attrname); in codec_getincrementalcodec()
299 Py_DECREF(codec_info); in codec_getincrementalcodec()
329 PyObject *_PyCodecInfo_GetIncrementalDecoder(PyObject *codec_info, in _PyCodecInfo_GetIncrementalDecoder() argument
332 return codec_makeincrementalcodec(codec_info, errors, in _PyCodecInfo_GetIncrementalDecoder()
336 PyObject *_PyCodecInfo_GetIncrementalEncoder(PyObject *codec_info, in _PyCodecInfo_GetIncrementalEncoder() argument
[all …]
Dpylifecycle.c2030 PyObject *codec_info = _PyCodec_Lookup(std_encoding); in init_sys_streams() local
2031 Py_XDECREF(codec_info); in init_sys_streams()
/external/webrtc/sdk/objc/native/src/
Dobjc_video_encoder_factory.mm184 CodecInfo codec_info;
185 codec_info.is_hardware_accelerated = ![wrappedSoftwareFormats containsObject:formatName];
186 codec_info.has_internal_source = false;
187 return codec_info;
/external/python/cpython3/Modules/_io/
Dtextio.c861 _textiowrapper_set_decoder(textio *self, PyObject *codec_info, in _textiowrapper_set_decoder() argument
880 self->decoder = _PyCodecInfo_GetIncrementalDecoder(codec_info, errors); in _textiowrapper_set_decoder()
916 _textiowrapper_set_encoder(textio *self, PyObject *codec_info, in _textiowrapper_set_encoder() argument
936 self->encoder = _PyCodecInfo_GetIncrementalEncoder(codec_info, errors); in _textiowrapper_set_encoder()
941 if (_PyObject_LookupAttrId(codec_info, &PyId_name, &res) < 0) { in _textiowrapper_set_encoder()
1079 PyObject *raw, *codec_info = NULL; in _io_TextIOWrapper___init___impl() local
1198 codec_info = _PyCodec_LookupTextEncoding(encoding, "codecs.open()"); in _io_TextIOWrapper___init___impl()
1199 if (codec_info == NULL) { in _io_TextIOWrapper___init___impl()
1221 if (_textiowrapper_set_decoder(self, codec_info, PyUnicode_AsUTF8(errors)) != 0) in _io_TextIOWrapper___init___impl()
1225 if (_textiowrapper_set_encoder(self, codec_info, PyUnicode_AsUTF8(errors)) != 0) in _io_TextIOWrapper___init___impl()
[all …]
/external/webrtc/modules/video_coding/codecs/multiplex/
Dmultiplex_encoder_adapter.cc325 CodecSpecificInfo codec_info = *codecSpecificInfo; in OnEncodedImage() local
326 codec_info.codecType = kVideoCodecMultiplex; in OnEncodedImage()
327 encoded_complete_callback_->OnEncodedImage(combined_image_, &codec_info, in OnEncodedImage()
/external/webrtc/api/video/
Dvideo_stream_encoder_observer.h72 const CodecSpecificInfo* codec_info) = 0;
/external/python/cpython2/Modules/_io/
Dtextio.c831 PyObject *buffer, *raw, *codec_info = NULL; in textiowrapper_init() local
916 codec_info = _PyCodec_LookupTextEncoding(encoding, "codecs.open()"); in textiowrapper_init()
917 if (codec_info == NULL) { in textiowrapper_init()
961 self->decoder = _PyCodecInfo_GetIncrementalDecoder(codec_info, in textiowrapper_init()
985 self->encoder = _PyCodecInfo_GetIncrementalEncoder(codec_info, in textiowrapper_init()
990 res = PyObject_GetAttrString(codec_info, "name"); in textiowrapper_init()
1011 Py_DECREF(codec_info); in textiowrapper_init()
1073 Py_XDECREF(codec_info); in textiowrapper_init()
/external/webrtc/modules/video_coding/codecs/vp9/test/
Dvp9_impl_unittest.cc1289 CodecSpecificInfo codec_info; in TEST_F() local
1290 ASSERT_TRUE(WaitForEncodedFrame(&encoded_frame, &codec_info)); in TEST_F()
1291 EXPECT_TRUE(codec_info.codecSpecific.VP9.ss_data_available); in TEST_F()
1292 EXPECT_FALSE(codec_info.codecSpecific.VP9.non_ref_for_inter_layer_pred); in TEST_F()
/external/python/cpython3/Lib/test/
Dtest_codecs.py2798 codec_info = codecs.CodecInfo(encode, decode,
2800 _TEST_CODECS[self.codec_name] = codec_info
/external/webrtc/media/engine/
Dwebrtc_video_engine_unittest.cc1131 webrtc::VideoEncoderFactory::CodecInfo codec_info; in TEST() local
1132 codec_info.is_hardware_accelerated = false; in TEST()
1133 codec_info.has_internal_source = false; in TEST()
1136 .WillRepeatedly(Return(codec_info)); in TEST()