Home
last modified time | relevance | path

Searched refs:layer_id (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dscreenshare_layers.cc32 uint8_t layer_id) { in ConfigureBitrate() argument
37 RTC_DCHECK_LT(layer_id, num_layers_ - 1); in ConfigureBitrate()
38 threshold_kbps_[layer_id] = threshold_kbps; in ConfigureBitrate()
42 uint8_t layer_id) { in LayerFrameEncoded() argument
43 RTC_DCHECK_LT(layer_id, num_layers_); in LayerFrameEncoded()
44 bits_used_[layer_id] += size_bytes * 8; in LayerFrameEncoded()
62 for (int layer_id = 0; layer_id < num_layers_ - 1; ++layer_id) { in GetSuperFrameSettings() local
63 bits_used_[layer_id] = std::max( in GetSuperFrameSettings()
64 0.f, bits_used_[layer_id] - time_diff * threshold_kbps_[layer_id]); in GetSuperFrameSettings()
65 total_bits_used += bits_used_[layer_id]; in GetSuperFrameSettings()
[all …]
Dscreenshare_layers_unittest.cc35 void ConfigureBitrateForLayer(int kbps, uint8_t layer_id) { in ConfigureBitrateForLayer() argument
36 layers_->ConfigureBitrate(kbps, layer_id); in ConfigureBitrateForLayer()
43 void AddKilobitsToLayer(int kilobits, uint8_t layer_id) { in AddKilobitsToLayer() argument
44 layers_->LayerFrameEncoded(kilobits * 1000 / 8, layer_id); in AddKilobitsToLayer()
47 void EqualRefsForLayer(const Settings& actual, uint8_t layer_id) { in EqualRefsForLayer() argument
48 EXPECT_EQ(expected_.layer[layer_id].upd_buf, in EqualRefsForLayer()
49 actual.layer[layer_id].upd_buf); in EqualRefsForLayer()
50 EXPECT_EQ(expected_.layer[layer_id].ref_buf1, in EqualRefsForLayer()
51 actual.layer[layer_id].ref_buf1); in EqualRefsForLayer()
52 EXPECT_EQ(expected_.layer[layer_id].ref_buf2, in EqualRefsForLayer()
[all …]
Dvp9_impl.cc523 vpx_svc_layer_id layer_id; in Encode() local
533 layer_id.temporal_layer_id = 0; in Encode()
534 layer_id.spatial_layer_id = settings.start_layer; in Encode()
535 vpx_codec_control(encoder_, VP9E_SET_SVC_LAYER_ID, &layer_id); in Encode()
565 vpx_svc_layer_id_t layer_id = {0}; in PopulateCodecSpecific() local
566 vpx_codec_control(encoder_, VP9E_GET_SVC_LAYER_ID, &layer_id); in PopulateCodecSpecific()
571 assert(layer_id.temporal_layer_id == 0); in PopulateCodecSpecific()
574 vp9_info->temporal_idx = layer_id.temporal_layer_id; in PopulateCodecSpecific()
577 assert(layer_id.spatial_layer_id == 0); in PopulateCodecSpecific()
580 vp9_info->spatial_idx = layer_id.spatial_layer_id; in PopulateCodecSpecific()
[all …]
Dscreenshare_layers.h22 void ConfigureBitrate(int threshold_kbps, uint8_t layer_id);
28 void LayerFrameEncoded(unsigned int size_bytes, uint8_t layer_id);
/external/libvpx/libvpx/test/
Derror_resilience_test.cc465 int layer_id = 0; in SetLayerId() local
468 layer_id = 0; in SetLayerId()
470 layer_id = 1; in SetLayerId()
474 layer_id = 0; in SetLayerId()
476 layer_id = 1; in SetLayerId()
478 layer_id = 2; in SetLayerId()
481 return layer_id; in SetLayerId()
487 int layer_id = SetLayerId(video->frame(), cfg_.ts_number_layers); in PreEncodeFrameHook() local
490 encoder->Control(VP8E_SET_TEMPORAL_LAYER_ID, layer_id); in PreEncodeFrameHook()
Ddatarate_test.cc335 int layer_id = 0; in SetLayerId() local
338 layer_id = 0; in SetLayerId()
340 layer_id = 1; in SetLayerId()
344 layer_id = 0; in SetLayerId()
346 layer_id = 1; in SetLayerId()
348 layer_id = 2; in SetLayerId()
351 return layer_id; in SetLayerId()
374 vpx_svc_layer_id_t layer_id; in PreEncodeFrameHook() local
375 layer_id.spatial_layer_id = 0; in PreEncodeFrameHook()
377 layer_id.temporal_layer_id = SetLayerId(video->frame(), in PreEncodeFrameHook()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/opsworks/
Dlayer1.py189 layer_id): argument
219 'LayerId': layer_id,
1217 def delete_layer(self, layer_id): argument
1233 params = {'LayerId': layer_id, }
1542 def describe_instances(self, stack_id=None, layer_id=None, argument
1577 if layer_id is not None:
1578 params['LayerId'] = layer_id
1935 layer_id): argument
1957 'LayerId': layer_id,
1982 def get_hostname_suggestion(self, layer_id): argument
[all …]
/external/libvpx/libvpx/examples/
Dvp9_spatial_svc_encoder.c619 vpx_svc_layer_id_t layer_id; in main() local
719 layer_id.temporal_layer_id = 0; in main()
721 layer_id.temporal_layer_id = 1; in main()
725 vpx_codec_control(&codec, VP9E_SET_SVC_LAYER_ID, &layer_id); in main()
726 set_frame_flags_bypass_mode(sl, layer_id.temporal_layer_id, in main()
761 vpx_codec_control(&codec, VP9E_GET_SVC_LAYER_ID, &layer_id); in main()
766 layer_id.temporal_layer_id]; in main()
768 for (tl = layer_id.temporal_layer_id; in main()
777 for (tl = layer_id.temporal_layer_id; in main()
784 if (tl == layer_id.temporal_layer_id && in main()
[all …]
Dvpx_temporal_svc_encoder.c486 vpx_svc_layer_id_t layer_id = {0, 0}; in main() local
488 vpx_svc_layer_id_t layer_id = {0}; in main() local
727 layer_id.spatial_layer_id = 0; in main()
729 layer_id.temporal_layer_id = in main()
732 vpx_codec_control(&codec, VP9E_SET_SVC_LAYER_ID, &layer_id); in main()
735 layer_id.temporal_layer_id); in main()
742 ++rc.layer_input_frames[layer_id.temporal_layer_id]; in main()
Dvp8_multi_resolution_encoder.c338 int layer_id = 0; in main() local
626 layer_id = cfg[i].ts_layer_id[frame_cnt % cfg[i].ts_periodicity]; in main()
643 vpx_codec_control(&codec[i], VP8E_SET_TEMPORAL_LAYER_ID, layer_id); in main()
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c278 const int layer_id = (int)stats[i].spatial_layer_id; in validate_config() local
279 if (layer_id >= 0 && layer_id < (int)cfg->ss_number_layers) { in validate_config()
280 ++n_packets_per_layer[layer_id]; in validate_config()
285 unsigned int layer_id; in validate_config() local
293 layer_id = (int)stats->spatial_layer_id; in validate_config()
295 if (layer_id >= cfg->ss_number_layers in validate_config()
297 n_packets_per_layer[layer_id] - 1) in validate_config()
/external/libvpx/libvpx/vp8/common/
Donyx.h238 unsigned int layer_id[VPX_TS_MAX_PERIODICITY]; member
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c374 memcpy (oxcf->layer_id, cfg.ts_layer_id, sizeof(cfg.ts_layer_id)); in set_vp8e_config()
1201 int layer_id = va_arg(args, int); in vp8e_set_temporal_layer_id() local
1202 if (layer_id < 0 || layer_id >= (int)ctx->cfg.ts_number_layers) { in vp8e_set_temporal_layer_id()
1205 ctx->cpi->temporal_layer_id = layer_id; in vp8e_set_temporal_layer_id()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c1786 const int layer_id = (int)last_packet_for_layer->spatial_layer_id; in vp9_create_compressor() local
1788 if (layer_id >= 0 && layer_id < oxcf->ss_number_layers) { in vp9_create_compressor()
1789 LAYER_CONTEXT *const lc = &cpi->svc.layer_context[layer_id]; in vp9_create_compressor()
1800 stats_copy[layer_id] = lc->rc_twopass_stats_in.buf; in vp9_create_compressor()
1805 const int layer_id = (int)stats[i].spatial_layer_id; in vp9_create_compressor() local
1806 if (layer_id >= 0 && layer_id < oxcf->ss_number_layers in vp9_create_compressor()
1807 && stats_copy[layer_id] != NULL) { in vp9_create_compressor()
1808 *stats_copy[layer_id] = stats[i]; in vp9_create_compressor()
1809 ++stats_copy[layer_id]; in vp9_create_compressor()
/external/libnfc-nci/src/include/
Dbt_trace.h179 EXPORT_API extern void BTTRC_StackTrace0(tBTTRC_LAYER_ID layer_id,
182 EXPORT_API extern void BTTRC_StackTrace1(tBTTRC_LAYER_ID layer_id,
186 EXPORT_API extern void BTTRC_StackTrace2(tBTTRC_LAYER_ID layer_id,
191 EXPORT_API extern void BTTRC_StackTrace3(tBTTRC_LAYER_ID layer_id,
197 EXPORT_API extern void BTTRC_StackTrace4(tBTTRC_LAYER_ID layer_id,
204 EXPORT_API extern void BTTRC_StackTrace5(tBTTRC_LAYER_ID layer_id,
212 EXPORT_API extern void BTTRC_StackTrace6(tBTTRC_LAYER_ID layer_id,
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c5466 layer = cpi->oxcf.layer_id[ in vp8_get_compressed_data()