Home
last modified time | relevance | path

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

12

/external/libaom/examples/
Dsvc_encoder_rtc.c601 int layering_mode, int superframe_cnt, aom_svc_layer_id_t *layer_id, in set_layer_pattern() argument
612 layer_id->spatial_layer_id = spatial_layer_id; in set_layer_pattern()
634 layer_id->temporal_layer_id = 0; in set_layer_pattern()
635 layer_id->spatial_layer_id = 0; in set_layer_pattern()
650 layer_id->temporal_layer_id = 0; in set_layer_pattern()
651 layer_id->spatial_layer_id = 0; in set_layer_pattern()
696 layer_id->temporal_layer_id = 0; in set_layer_pattern()
701 layer_id->temporal_layer_id = 1; in set_layer_pattern()
713 layer_id->temporal_layer_id = 0; in set_layer_pattern()
718 layer_id->temporal_layer_id = 2; in set_layer_pattern()
[all …]
/external/webrtc/test/scenario/
Dvideo_frame_matcher.cc35 void VideoFrameMatcher::RegisterLayer(int layer_id) { in RegisterLayer() argument
36 task_queue_.PostTask([this, layer_id] { layers_[layer_id] = VideoLayer(); }); in RegisterLayer()
62 int layer_id, in OnDecodedFrame() argument
72 task_queue_.PostTask([this, decoded, layer_id] { in OnDecodedFrame()
73 auto& layer = layers_[layer_id]; in OnDecodedFrame()
94 HandleMatch(std::move(layer.captured_frames.front()), layer_id); in OnDecodedFrame()
105 int layer_id) { in HandleMatch() argument
107 frame_pair.layer_id = layer_id; in HandleMatch()
176 int layer_id) in DecodedFrameTap() argument
177 : clock_(clock), matcher_(matcher), layer_id_(layer_id) { in DecodedFrameTap()
Dvideo_frame_matcher.h38 void RegisterLayer(int layer_id);
41 int layer_id,
66 int layer_id; member
71 void HandleMatch(CapturedFrame captured, int layer_id);
123 DecodedFrameTap(Clock* clock, VideoFrameMatcher* matcher, int layer_id);
/external/webrtc/modules/video_coding/codecs/vp9/
Dlibvpx_vp9_encoder.cc1018 vpx_svc_layer_id_t layer_id = {0}; in Encode() local
1021 layer_id.temporal_layer_id = gof_.temporal_idx[gof_idx]; in Encode()
1042 framerate_controller_[layer_id.spatial_layer_id].GetTargetRate(); in Encode()
1047 layer_id.spatial_layer_id = num_active_spatial_layers_; in Encode()
1054 ++layer_id.spatial_layer_id; in Encode()
1061 layer_id.spatial_layer_id < num_active_spatial_layers_) { in Encode()
1067 layer_id.spatial_layer_id = first_active_layer_; in Encode()
1071 RTC_DCHECK_LE(layer_id.spatial_layer_id, num_active_spatial_layers_); in Encode()
1072 if (layer_id.spatial_layer_id >= num_active_spatial_layers_) { in Encode()
1082 layer_id.temporal_layer_id_per_spatial[sl_idx] = layer_id.temporal_layer_id; in Encode()
[all …]
/external/armnn/python/pyarmnn/test/
Dtest_deserializer.py35 layer_id = 0
38 input_binding_info = parser.GetNetworkInputBindingInfo(layer_id, input_name)
50 layer_id = 0
53 output_binding_info1 = parser.GetNetworkOutputBindingInfo(layer_id, output_name)
82 layer_id = 0
86 input_binding_info = parser.GetNetworkInputBindingInfo(layer_id, input_name)
104 out_bind_info = parser.GetNetworkOutputBindingInfo(layer_id, output_name)
/external/tensorflow/tensorflow/python/keras/utils/
Dvis_utils.py144 layer_id = str(id(layer))
226 node = pydot.Node(layer_id, label=label)
231 layer_id = str(id(layer))
239 assert dot.get_node(layer_id)
240 add_edge(dot, inbound_layer_id, layer_id)
250 assert dot.get_node(layer_id)
251 add_edge(dot, inbound_layer_id, layer_id)
258 add_edge(dot, inbound_layer_id, layer_id)
260 add_edge(dot, layer_id, name)
268 add_edge(dot, name, layer_id)
[all …]
/external/libvpx/test/
Dvp8_ratectrl_rtc_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()
117 const int layer_id = SetLayerId(video->frame(), cfg_.ts_number_layers); in PreEncodeFrameHook() local
120 frame_params_.temporal_layer_id = layer_id; in PreEncodeFrameHook()
122 encoder->Control(VP8E_SET_TEMPORAL_LAYER_ID, layer_id); in PreEncodeFrameHook()
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.cc97 int layer_id = 0; in SetLayerId() local
100 layer_id = 0; in SetLayerId()
102 layer_id = 1; in SetLayerId()
106 layer_id = 0; in SetLayerId()
108 layer_id = 1; in SetLayerId()
110 layer_id = 2; in SetLayerId()
113 return layer_id; in SetLayerId()
152 vpx_svc_layer_id_t layer_id; in PreEncodeFrameHook() local
154 layer_id.spatial_layer_id = 0; in PreEncodeFrameHook()
155 layer_id.temporal_layer_id = in PreEncodeFrameHook()
[all …]
Dsvc_test.cc77 vpx_svc_layer_id_t layer_id; in PostEncodeFrameHook() local
78 encoder->Control(VP9E_GET_SVC_LAYER_ID, &layer_id); in PostEncodeFrameHook()
79 temporal_layer_id_ = layer_id.temporal_layer_id; in PostEncodeFrameHook()
Dsvc_end_to_end_test.cc248 vpx_svc_layer_id_t layer_id; in PreEncodeFrameHook() local
249 layer_id.spatial_layer_id = 0; in PreEncodeFrameHook()
250 layer_id.temporal_layer_id = (video->frame() % 2 != 0); in PreEncodeFrameHook()
251 temporal_layer_id_ = layer_id.temporal_layer_id; in PreEncodeFrameHook()
253 layer_id.temporal_layer_id_per_spatial[i] = temporal_layer_id_; in PreEncodeFrameHook()
256 encoder->Control(VP9E_SET_SVC_LAYER_ID, &layer_id); in PreEncodeFrameHook()
257 set_frame_flags_bypass_mode(layer_id.temporal_layer_id, in PreEncodeFrameHook()
Dsvc_datarate_test.cc253 vpx_svc_layer_id_t layer_id; in PreEncodeFrameHook() local
254 layer_id.spatial_layer_id = 0; in PreEncodeFrameHook()
255 layer_id.temporal_layer_id = (video->frame() % 2 != 0); in PreEncodeFrameHook()
256 temporal_layer_id_ = layer_id.temporal_layer_id; in PreEncodeFrameHook()
258 layer_id.temporal_layer_id_per_spatial[i] = temporal_layer_id_; in PreEncodeFrameHook()
261 encoder->Control(VP9E_SET_SVC_LAYER_ID, &layer_id); in PreEncodeFrameHook()
262 set_frame_flags_bypass_mode(layer_id.temporal_layer_id, in PreEncodeFrameHook()
269 vpx_svc_layer_id_t layer_id; in PreEncodeFrameHook() local
275 layer_id.spatial_layer_id = 0; in PreEncodeFrameHook()
276 layer_id.temporal_layer_id = (video->frame() % 2 != 0); in PreEncodeFrameHook()
[all …]
/external/libavc/encoder/svc/
Disvce_fmt_conv.c97 WORD32 layer_id = ps_pic->u1_num_spatial_layers - 1; in isvce_fmt_conv() local
104 pu1_luma = ps_pic->ps_layer_yuv_buf_props[layer_id].as_component_bufs[0].pv_data; in isvce_fmt_conv()
105 pu1_chroma = ps_pic->ps_layer_yuv_buf_props[layer_id].as_component_bufs[1].pv_data; in isvce_fmt_conv()
107 src_y_strd = ps_pic->ps_layer_yuv_buf_props[layer_id].as_component_bufs[0].i4_data_stride; in isvce_fmt_conv()
108 src_uv_strd = ps_pic->ps_layer_yuv_buf_props[layer_id].as_component_bufs[1].i4_data_stride; in isvce_fmt_conv()
/external/mesa3d/src/compiler/nir/
Dnir_lower_input_attachments.c65 nir_variable *layer_id = in load_layer_id() local
68 if (layer_id == NULL) { in load_layer_id()
69 layer_id = nir_variable_create(b->shader, nir_var_shader_in, in load_layer_id()
71 layer_id->data.location = slot; in load_layer_id()
72 layer_id->data.interpolation = INTERP_MODE_FLAT; in load_layer_id()
73 layer_id->data.driver_location = b->shader->num_inputs++; in load_layer_id()
76 return nir_load_var(b, layer_id); in load_layer_id()
/external/libaom/test/
Dsvc_datarate_test.cc310 int frame_cnt, aom_svc_layer_id_t *layer_id, in set_layer_pattern() argument
317 layer_id->spatial_layer_id = spatial_layer; in set_layer_pattern()
355 layer_id->temporal_layer_id = 0; in set_layer_pattern()
366 layer_id->temporal_layer_id = 2; in set_layer_pattern()
369 layer_id->temporal_layer_id = 1; in set_layer_pattern()
373 layer_id->temporal_layer_id = 2; in set_layer_pattern()
386 layer_id->temporal_layer_id = 0; in set_layer_pattern()
387 if (layer_id->spatial_layer_id == 0) { in set_layer_pattern()
392 } else if (layer_id->spatial_layer_id == 1) { in set_layer_pattern()
400 if (layer_id->spatial_layer_id > 0) ref_frame_config->reference[3] = 1; in set_layer_pattern()
[all …]
Dresize_test.cc944 aom_svc_layer_id_t layer_id; in TEST_P() local
955 layer_id.spatial_layer_id = 0; in TEST_P()
956 layer_id.temporal_layer_id = 0; in TEST_P()
958 aom_codec_control(&enc, AV1E_SET_SVC_LAYER_ID, &layer_id)); in TEST_P()
963 layer_id.temporal_layer_id = 1; in TEST_P()
965 aom_codec_control(&enc, AV1E_SET_SVC_LAYER_ID, &layer_id)); in TEST_P()
971 layer_id.temporal_layer_id = 0; in TEST_P()
973 aom_codec_control(&enc, AV1E_SET_SVC_LAYER_ID, &layer_id)); in TEST_P()
/external/libvpx/examples/
Dvp9_spatial_svc_encoder.c769 vpx_svc_layer_id_t *layer_id, const vpx_codec_cx_pkt_t *cx_pkt, in svc_output_rc_stats() argument
781 vpx_codec_control(codec, VP9E_GET_SVC_LAYER_ID, layer_id); in svc_output_rc_stats()
816 for (tl = layer_id->temporal_layer_id; tl < enc_cfg->ts_number_layers; in svc_output_rc_stats()
823 if (tl == (unsigned int)layer_id->temporal_layer_id && in svc_output_rc_stats()
887 vpx_svc_layer_id_t layer_id; in main() local
904 memset(&layer_id, 0, sizeof(vpx_svc_layer_id_t)); in main()
1040 layer_id.spatial_layer_id = 0; in main()
1043 layer_id.temporal_layer_id = 0; in main()
1045 layer_id.temporal_layer_id_per_spatial[i] = 0; in main()
1047 layer_id.temporal_layer_id = 1; in main()
[all …]
Dvpx_temporal_svc_encoder.c649 vpx_svc_layer_id_t layer_id; in main() local
674 memset(&layer_id, 0, sizeof(vpx_svc_layer_id_t)); in main()
951 layer_id.spatial_layer_id = 0; in main()
952 layer_id.temporal_layer_id = in main()
954 layer_id.temporal_layer_id_per_spatial[0] = layer_id.temporal_layer_id; in main()
956 vpx_codec_control(&codec, VP9E_SET_SVC_LAYER_ID, &layer_id); in main()
959 layer_id.temporal_layer_id); in main()
977 if (frame_avail) ++rc.layer_input_frames[layer_id.temporal_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,
/external/perfetto/src/trace_processor/metrics/sql/android/jank/
Dframes.sql69 boundary.layer_id IS NULL
72 AND boundary.layer_id
/external/webrtc/test/fuzzers/
Dvp9_encoder_references_fuzzer.cc292 layer_id.spatial_layer_id = -1; in LibvpxState()
300 vpx_svc_layer_id_t layer_id = {}; member
384 state_->layer_id = *param; in codec_control()
387 *param = state_->layer_id; in codec_control()
595 state.layer_id.spatial_layer_id = sid; in FuzzOneInput()

12