Home
last modified time | relevance | path

Searched refs:layer_id (Results 1 – 25 of 26) 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/contrib/kfac/examples/
Dconvnet.py57 def conv_layer(layer_id, inputs, kernel_size, out_channels): argument
81 name="conv_%d" % layer_id)
89 def max_pool_layer(layer_id, inputs, kernel_size, stride): argument
105 with tf.variable_scope("pool_%d" % layer_id):
112 def linear_layer(layer_id, inputs, output_size): argument
127 pre, _, params = mlp.fc_layer(layer_id, inputs, output_size)
150 layer_id=0, inputs=examples, kernel_size=5, out_channels=16)
151 act1 = max_pool_layer(layer_id=1, inputs=act0, kernel_size=3, stride=2)
153 layer_id=2, inputs=act1, kernel_size=5, out_channels=16)
154 act3 = max_pool_layer(layer_id=3, inputs=act2, kernel_size=3, stride=2)
[all …]
Dmlp.py39 def fc_layer(layer_id, inputs, output_size): argument
59 name="fc_%d" % layer_id)
84 pre0, act0, params0 = fc_layer(layer_id=0, inputs=examples, output_size=128)
85 pre1, act1, params1 = fc_layer(layer_id=1, inputs=act0, output_size=64)
86 pre2, act2, params2 = fc_layer(layer_id=2, inputs=act1, output_size=32)
87 logits, _, params3 = fc_layer(layer_id=3, inputs=act2, output_size=num_labels)
/external/tensorflow/tensorflow/python/keras/_impl/keras/utils/
Dvis_utils.py85 layer_id = str(id(layer))
115 node = pydot.Node(layer_id, label=label)
120 layer_id = str(id(layer))
126 layer_id = str(id(layer))
127 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()
Ddatarate_test.cc587 int layer_id = 0; in SetLayerId() local
590 layer_id = 0; in SetLayerId()
592 layer_id = 1; in SetLayerId()
596 layer_id = 0; in SetLayerId()
598 layer_id = 1; in SetLayerId()
600 layer_id = 2; in SetLayerId()
603 return layer_id; in SetLayerId()
628 vpx_svc_layer_id_t layer_id; in PreEncodeFrameHook() local
629 layer_id.spatial_layer_id = 0; in PreEncodeFrameHook()
631 layer_id.temporal_layer_id = in PreEncodeFrameHook()
[all …]
/external/libvpx/libvpx/examples/
Dvp9_spatial_svc_encoder.c627 vpx_svc_layer_id_t layer_id; in main() local
731 layer_id.spatial_layer_id = 0; in main()
734 layer_id.temporal_layer_id = 0; in main()
736 layer_id.temporal_layer_id = 1; in main()
740 vpx_codec_control(&codec, VP9E_SET_SVC_LAYER_ID, &layer_id); in main()
741 set_frame_flags_bypass_mode(sl, layer_id.temporal_layer_id, in main()
750 layer_id.temporal_layer_id]; in main()
782 vpx_codec_control(&codec, VP9E_GET_SVC_LAYER_ID, &layer_id); in main()
795 layer_id.temporal_layer_id]; in main()
798 for (tl = layer_id.temporal_layer_id; in main()
[all …]
Dvpx_temporal_svc_encoder.c569 vpx_svc_layer_id_t layer_id = { 0, 0 }; in main() local
822 layer_id.spatial_layer_id = 0; in main()
823 layer_id.temporal_layer_id = in main()
826 vpx_codec_control(&codec, VP9E_SET_SVC_LAYER_ID, &layer_id); in main()
829 layer_id.temporal_layer_id); in main()
834 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/tensorflow/tensorflow/contrib/kfac/examples/tests/
Dconvnet_test.py33 layer_id=1,
49 layer_id=1, inputs=tf.zeros([5, 6, 6, 2]), kernel_size=5, stride=3)
56 layer_id=1, inputs=tf.zeros([5, 20]), output_size=5)
Dmlp_test.py32 layer_id=1, inputs=tf.zeros([5, 3]), output_size=10)
/external/tensorflow/tensorflow/python/estimator/canned/
Ddnn.py93 for layer_id, num_hidden_units in enumerate(hidden_units):
95 'hiddenlayer_%d' % layer_id, values=(net,)) as hidden_layer_scope:
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dcomposable_model.py361 for layer_id, num_hidden_units in enumerate(self._hidden_units):
363 self._scope + "/hiddenlayer_%d" % layer_id,
Ddnn.py163 for layer_id, num_hidden_units in enumerate(hidden_units):
165 "hiddenlayer_%d" % layer_id,
Ddnn_linear_combined.py249 for layer_id, num_hidden_units in enumerate(dnn_hidden_units):
251 "hiddenlayer_%d" % layer_id,
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Ddnn_tree_combined_estimator.py144 for layer_id, num_hidden_units in enumerate(dnn_hidden_units):
146 "hiddenlayer_%d" % layer_id,
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c302 const int layer_id = (int)stats[i].spatial_layer_id; in validate_config() local
303 if (layer_id >= 0 && layer_id < (int)cfg->ss_number_layers) { in validate_config()
304 ++n_packets_per_layer[layer_id]; in validate_config()
309 unsigned int layer_id; in validate_config() local
318 layer_id = (int)stats->spatial_layer_id; in validate_config()
320 if (layer_id >= cfg->ss_number_layers || in validate_config()
322 n_packets_per_layer[layer_id] - 1) in validate_config()
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c354 memcpy(oxcf->layer_id, cfg.ts_layer_id, sizeof(cfg.ts_layer_id)); in set_vp8e_config()
1083 int layer_id = va_arg(args, int); in vp8e_set_temporal_layer_id() local
1084 if (layer_id < 0 || layer_id >= (int)ctx->cfg.ts_number_layers) { in vp8e_set_temporal_layer_id()
1087 ctx->cpi->temporal_layer_id = layer_id; in vp8e_set_temporal_layer_id()
/external/libvpx/libvpx/vp8/common/
Donyx.h227 unsigned int layer_id[VPX_TS_MAX_PERIODICITY]; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c2168 const int layer_id = (int)last_packet_for_layer->spatial_layer_id; in vp9_create_compressor() local
2170 if (layer_id >= 0 && layer_id < oxcf->ss_number_layers) { in vp9_create_compressor()
2171 LAYER_CONTEXT *const lc = &cpi->svc.layer_context[layer_id]; in vp9_create_compressor()
2182 stats_copy[layer_id] = lc->rc_twopass_stats_in.buf; in vp9_create_compressor()
2187 const int layer_id = (int)stats[i].spatial_layer_id; in vp9_create_compressor() local
2188 if (layer_id >= 0 && layer_id < oxcf->ss_number_layers && in vp9_create_compressor()
2189 stats_copy[layer_id] != NULL) { in vp9_create_compressor()
2190 *stats_copy[layer_id] = stats[i]; in vp9_create_compressor()
2191 ++stats_copy[layer_id]; in vp9_create_compressor()
/external/mesa3d/src/compiler/nir/
Dnir_intrinsics.h331 SYSTEM_VALUE(layer_id, 1, 0, xx, xx, xx)
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureViewTests.cpp5700 const unsigned int layer_id = n_face * 6 /* faces */ + n_layer; in initParentTextureContents() local
5702 gl.uniform1i(m_per_sample_filler_po_layer_id_location, layer_id); in initParentTextureContents()

12