Home
last modified time | relevance | path

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

12

/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/tensorflow/tensorflow/python/keras/utils/
Dvis_utils.py101 layer_id = str(id(layer))
131 node = pydot.Node(layer_id, label=label)
136 layer_id = str(id(layer))
142 layer_id = str(id(layer))
143 dot.add_edge(pydot.Edge(inbound_layer_id, layer_id))
/external/libvpx/libvpx/test/
Derror_resilience_test.cc444 int layer_id = 0; in SetLayerId() local
447 layer_id = 0; in SetLayerId()
449 layer_id = 1; in SetLayerId()
453 layer_id = 0; in SetLayerId()
455 layer_id = 1; in SetLayerId()
457 layer_id = 2; in SetLayerId()
460 return layer_id; in SetLayerId()
466 int layer_id = SetLayerId(video->frame(), cfg_.ts_number_layers); in PreEncodeFrameHook() local
469 encoder->Control(VP8E_SET_TEMPORAL_LAYER_ID, layer_id); in PreEncodeFrameHook()
Dvp9_datarate_test.cc95 int layer_id = 0; in SetLayerId() local
98 layer_id = 0; in SetLayerId()
100 layer_id = 1; in SetLayerId()
104 layer_id = 0; in SetLayerId()
106 layer_id = 1; in SetLayerId()
108 layer_id = 2; in SetLayerId()
111 return layer_id; in SetLayerId()
145 vpx_svc_layer_id_t layer_id; in PreEncodeFrameHook() local
146 layer_id.spatial_layer_id = 0; in PreEncodeFrameHook()
148 layer_id.temporal_layer_id = in PreEncodeFrameHook()
[all …]
Dsvc_test.cc76 vpx_svc_layer_id_t layer_id; in PostEncodeFrameHook() local
77 encoder->Control(VP9E_GET_SVC_LAYER_ID, &layer_id); in PostEncodeFrameHook()
78 temporal_layer_id_ = layer_id.temporal_layer_id; in PostEncodeFrameHook()
Dsvc_datarate_test.cc228 vpx_svc_layer_id_t layer_id; in PreEncodeFrameHook() local
234 layer_id.spatial_layer_id = 0; in PreEncodeFrameHook()
235 layer_id.temporal_layer_id = (video->frame() % 2 != 0); in PreEncodeFrameHook()
236 temporal_layer_id_ = layer_id.temporal_layer_id; in PreEncodeFrameHook()
238 layer_id.temporal_layer_id_per_spatial[i] = temporal_layer_id_; in PreEncodeFrameHook()
239 encoder->Control(VP9E_SET_SVC_LAYER_ID, &layer_id); in PreEncodeFrameHook()
240 set_frame_flags_bypass_mode(layer_id.temporal_layer_id, in PreEncodeFrameHook()
/external/libvpx/libvpx/examples/
Dvp9_spatial_svc_encoder.c761 vpx_svc_layer_id_t layer_id; in main() local
773 memset(&layer_id, 0, sizeof(vpx_svc_layer_id_t)); in main()
891 layer_id.spatial_layer_id = 0; in main()
894 layer_id.temporal_layer_id = 0; in main()
896 layer_id.temporal_layer_id_per_spatial[i] = 0; in main()
898 layer_id.temporal_layer_id = 1; in main()
900 layer_id.temporal_layer_id_per_spatial[i] = 1; in main()
908 layer_id.temporal_layer_id_per_spatial[0] = 0; in main()
909 layer_id.temporal_layer_id_per_spatial[1] = 0; in main()
910 layer_id.spatial_layer_id = 0; in main()
[all …]
Dvpx_temporal_svc_encoder.c595 vpx_svc_layer_id_t layer_id; in main() local
613 memset(&layer_id, 0, sizeof(vpx_svc_layer_id_t)); in main()
856 layer_id.spatial_layer_id = 0; in main()
857 layer_id.temporal_layer_id = in main()
859 layer_id.temporal_layer_id_per_spatial[0] = layer_id.temporal_layer_id; in main()
861 vpx_codec_control(&codec, VP9E_SET_SVC_LAYER_ID, &layer_id); in main()
864 layer_id.temporal_layer_id); in main()
869 if (frame_avail) ++rc.layer_input_frames[layer_id.temporal_layer_id]; in main()
Dvp8_multi_resolution_encoder.c303 int layer_id = 0; in main() local
571 layer_id = cfg[i].ts_layer_id[frame_cnt % cfg[i].ts_periodicity]; in main()
585 vpx_codec_control(&codec[i], VP8E_SET_TEMPORAL_LAYER_ID, layer_id); in main()
/external/libhevc/encoder/
Dihevce_coarse_me_pass.c1045 S32 layer_id; in ihevce_coarse_me_frame_init() local
1047 layer_id = ps_thrd0_ctxt->num_layers - 1; in ihevce_coarse_me_frame_init()
1048 i2_max = ps_thrd0_ctxt->ps_curr_descr->aps_layers[layer_id]->i2_max_mv_x; in ihevce_coarse_me_frame_init()
1049 i2_max = MAX(i2_max, ps_thrd0_ctxt->ps_curr_descr->aps_layers[layer_id]->i2_max_mv_y); in ihevce_coarse_me_frame_init()
1050 s_coarse_prms.i4_layer_id = layer_id; in ihevce_coarse_me_frame_init()
1072 layer_id--; in ihevce_coarse_me_frame_init()
1077 while(layer_id > 0) in ihevce_coarse_me_frame_init()
1082 ps_coarse_layer = ps_thrd0_ctxt->ps_curr_descr->aps_layers[layer_id + 1]; in ihevce_coarse_me_frame_init()
1084 ps_curr_layer = ps_thrd0_ctxt->ps_curr_descr->aps_layers[layer_id]; in ihevce_coarse_me_frame_init()
1088 ps_thrd0_ctxt->u1_encode[layer_id], in ihevce_coarse_me_frame_init()
[all …]
Dhme_interface.c1096 S32 hme_get_mv_blk_size(S32 enable_4x4, S32 layer_id, S32 num_layers, S32 is_enc) in hme_get_mv_blk_size() argument
1100 if((layer_id <= 1) && (num_layers >= 4)) in hme_get_mv_blk_size()
1102 if(layer_id == num_layers - 1) in hme_get_mv_blk_size()
3515 S32 layer_id, in hme_set_refine_prms() argument
3527 ps_refine_prms->i4_layer_id = layer_id; in hme_set_refine_prms()
3542 ps_refine_prms->pd_intra_costs = ppd_intra_costs[layer_id]; in hme_set_refine_prms()
3546 if((layer_id == 0) || (num_layers - layer_id > num_layers_explicit_search)) in hme_set_refine_prms()
3720 hme_get_mv_blk_size(use_4x4, layer_id, num_layers, u1_encode); in hme_set_refine_prms()
3725 layer_id, num_layers, ps_me_coding_tools->e_me_quality_presets); in hme_set_refine_prms()
3730 layer_id, in hme_set_refine_prms()
[all …]
Dhme_interface.h998 S32 hme_get_blk_size(S32 use_4x4, S32 layer_id, S32 n_layers, S32 encode);
1017 S32 hme_get_mv_blk_size(S32 enable_4x4, S32 layer_id, S32 num_layers, S32 is_enc);
1023 S32 layer_id,
Dihevce_stasino_helpers.c505 WORD32 layer_id, in ihevce_psy_rd_cost_croma() argument
545 (void)layer_id; in ihevce_psy_rd_cost_croma()
682 WORD32 layer_id, in ihevce_psy_rd_cost() argument
724 (void)layer_id; in ihevce_psy_rd_cost()
Dihevce_stasino_helpers.h163 WORD32 layer_id,
179 WORD32 layer_id,
Dihevce_me_pass.c1397 S32 layer_id; in ihevce_me_frame_init() local
1399 layer_id = 0; in ihevce_me_frame_init()
1400 i2_max = ps_ctxt->ps_curr_descr->aps_layers[layer_id]->i2_max_mv_x; in ihevce_me_frame_init()
1401 i2_max = MAX(i2_max, ps_ctxt->ps_curr_descr->aps_layers[layer_id]->i2_max_mv_y); in ihevce_me_frame_init()
1403 ps_curr_layer = ps_ctxt->ps_curr_descr->aps_layers[layer_id]; in ihevce_me_frame_init()
1408 ps_ctxt->u1_encode[layer_id], in ihevce_me_frame_init()
1410 layer_id, in ihevce_me_frame_init()
/external/tensorflow/tensorflow/python/grappler/
Dgraph_placer_test.py48 for layer_id in range(num_layers):
49 with variable_scope.variable_scope('layer_{}'.format(layer_id)):
50 a = input_size if layer_id == 0 else hidden_size
51 b = hidden_size if layer_id < num_layers - 1 else num_classes
/external/skqp/src/compute/skc/
Dcommon.h111 skc_uint layer_id; member
Dstyling.c179 skc_layer_id layer_id, in skc_styling_group_layer() argument
185 styling->layers.extent[layer_id] = (union skc_layer_node) in skc_styling_group_layer()
/external/skia/src/compute/skc/
Dcommon.h111 skc_uint layer_id; member
Dstyling.c179 skc_layer_id layer_id, in skc_styling_group_layer() argument
185 styling->layers.extent[layer_id] = (union skc_layer_node) in skc_styling_group_layer()
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dcomposable_model.py376 for layer_id, num_hidden_units in enumerate(self._hidden_units):
378 self._scope + "/hiddenlayer_%d" % layer_id,
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c288 const int layer_id = (int)stats[i].spatial_layer_id; in validate_config() local
289 if (layer_id >= 0 && layer_id < (int)cfg->ss_number_layers) { in validate_config()
290 ++n_packets_per_layer[layer_id]; in validate_config()
295 unsigned int layer_id; in validate_config() local
304 layer_id = (int)stats->spatial_layer_id; in validate_config()
306 if (layer_id >= cfg->ss_number_layers || in validate_config()
308 n_packets_per_layer[layer_id] - 1) in validate_config()

12