Home
last modified time | relevance | path

Searched refs:svc (Results 1 – 25 of 123) sorted by relevance

12345

/external/libvpx/libvpx/vp9/encoder/
Dvp9_svc_layercontext.c23 SVC *const svc = &cpi->svc; in vp9_init_layer_context() local
28 int alt_ref_idx = svc->number_spatial_layers; in vp9_init_layer_context()
30 svc->spatial_layer_id = 0; in vp9_init_layer_context()
31 svc->temporal_layer_id = 0; in vp9_init_layer_context()
32 svc->first_spatial_layer_to_encode = 0; in vp9_init_layer_context()
33 svc->rc_drop_superframe = 0; in vp9_init_layer_context()
34 svc->force_zero_mode_spatial_ref = 0; in vp9_init_layer_context()
35 svc->use_base_mv = 0; in vp9_init_layer_context()
36 svc->scaled_temp_is_alloc = 0; in vp9_init_layer_context()
37 svc->scaled_one_half = 0; in vp9_init_layer_context()
[all …]
Dvp9_ratectrl.c252 static void update_layer_buffer_level(SVC *svc, int encoded_frame_size) { in update_layer_buffer_level() argument
254 int current_temporal_layer = svc->temporal_layer_id; in update_layer_buffer_level()
255 for (i = current_temporal_layer + 1; i < svc->number_temporal_layers; ++i) { in update_layer_buffer_level()
257 LAYER_IDS_TO_IDX(svc->spatial_layer_id, i, svc->number_temporal_layers); in update_layer_buffer_level()
258 LAYER_CONTEXT *lc = &svc->layer_context[layer]; in update_layer_buffer_level()
295 update_layer_buffer_level(&cpi->svc, encoded_frame_size); in update_buffer_level()
398 cpi->svc.spatial_layer_id > cpi->svc.first_spatial_layer_to_encode)) { in vp9_rc_drop_frame()
676 unsigned int num_frames_weight_key = 5 * cpi->svc.number_temporal_layers; in calc_active_worst_quality_one_pass_cbr()
690 if (cpi->use_svc && cpi->svc.spatial_layer_id > 0) { in calc_active_worst_quality_one_pass_cbr()
691 int layer = LAYER_IDS_TO_IDX(0, cpi->svc.temporal_layer_id, in calc_active_worst_quality_one_pass_cbr()
[all …]
Dvp9_encoder.c794 vpx_free(cpi->svc.prev_partition_svc); in dealloc_compressor_data()
795 cpi->svc.prev_partition_svc = NULL; in dealloc_compressor_data()
848 for (i = 0; i < cpi->svc.number_spatial_layers; ++i) { in dealloc_compressor_data()
849 LAYER_CONTEXT *const lc = &cpi->svc.layer_context[i]; in dealloc_compressor_data()
861 vpx_free_frame_buffer(&cpi->svc.scaled_frames[i]); in dealloc_compressor_data()
863 memset(&cpi->svc.scaled_frames[0], 0, in dealloc_compressor_data()
864 MAX_LAG_BUFFERS * sizeof(cpi->svc.scaled_frames[0])); in dealloc_compressor_data()
866 vpx_free_frame_buffer(&cpi->svc.scaled_temp); in dealloc_compressor_data()
867 memset(&cpi->svc.scaled_temp, 0, sizeof(cpi->svc.scaled_temp)); in dealloc_compressor_data()
869 vpx_free_frame_buffer(&cpi->svc.empty_frame.img); in dealloc_compressor_data()
[all …]
Dvp9_denoiser.c337 cpi->svc.number_spatial_layers - cpi->svc.spatial_layer_id == 2 in vp9_denoiser_denoise()
342 cpi->svc.number_spatial_layers - cpi->svc.spatial_layer_id - 1; in vp9_denoiser_denoise()
399 cpi->svc.number_spatial_layers, cpi->Source->y_width, cpi->lst_fb_idx, in vp9_denoiser_denoise()
400 cpi->gld_fb_idx, cpi->use_svc, cpi->svc.spatial_layer_id); in vp9_denoiser_denoise()
566 int vp9_denoiser_alloc(VP9_COMMON *cm, struct SVC *svc, VP9_DENOISER *denoiser, in vp9_denoiser_alloc() argument
579 LAYER_CONTEXT *lc = &svc->layer_context[svc->spatial_layer_id * in vp9_denoiser_alloc()
580 svc->number_temporal_layers + in vp9_denoiser_alloc()
581 svc->temporal_layer_id]; in vp9_denoiser_alloc()
587 svc->first_layer_denoise = VPXMAX(svc->number_spatial_layers - 2, 0); in vp9_denoiser_alloc()
590 svc->first_layer_denoise = VPXMAX(svc->number_spatial_layers - 1, 0); in vp9_denoiser_alloc()
[all …]
Dvp9_speed_features.c410 sf->reference_masking = (cpi->svc.number_spatial_layers == 1); in set_rt_speed_feature_framesize_independent()
556 cpi->svc.spatial_layer_id == cpi->svc.number_spatial_layers - 1)) { in set_rt_speed_feature_framesize_independent()
565 if (cpi->svc.temporal_layer_id > 0) { in set_rt_speed_feature_framesize_independent()
579 if (cpi->svc.number_temporal_layers > 2 && in set_rt_speed_feature_framesize_independent()
580 cpi->svc.temporal_layer_id == 0 && in set_rt_speed_feature_framesize_independent()
581 (cpi->svc.spatial_layer_id == 0 || in set_rt_speed_feature_framesize_independent()
586 if (cpi->svc.temporal_layer_id > 0 || cpi->svc.spatial_layer_id > 1) { in set_rt_speed_feature_framesize_independent()
588 if (cpi->svc.non_reference_frame) in set_rt_speed_feature_framesize_independent()
599 cpi->svc.spatial_layer_id == cpi->svc.number_spatial_layers - 1)) { in set_rt_speed_feature_framesize_independent()
604 if (cpi->svc.number_temporal_layers > 1 && in set_rt_speed_feature_framesize_independent()
[all …]
Dvp9_noise_estimate.c29 cpi->svc.spatial_layer_id == cpi->svc.number_spatial_layers - 1)); in noise_est_svc()
136 if (cpi->svc.number_spatial_layers > 1) in vp9_update_noise_estimate()
137 frame_counter = cpi->svc.current_superframe; in vp9_update_noise_estimate()
140 (cpi->svc.number_spatial_layers == 1 && in vp9_update_noise_estimate()
159 cpi->svc.current_superframe > 1) { in vp9_update_noise_estimate()
Dvp9_firstpass.c321 for (i = 0; i < cpi->svc.number_spatial_layers; ++i) { in vp9_end_first_pass()
322 output_stats(&cpi->svc.layer_context[i].twopass.total_stats, in vp9_end_first_pass()
745 fps->spatial_layer_id = cpi->svc.spatial_layer_id; in first_pass_stat_calc()
854 is_two_pass_svc(cpi) ? &cpi->svc.layer_context[cpi->svc.spatial_layer_id] in vp9_first_pass_encode_tile_mb_row()
1376 is_two_pass_svc(cpi) ? &cpi->svc.layer_context[cpi->svc.spatial_layer_id] in vp9_first_pass()
1403 cpi->lst_fb_idx = cpi->svc.spatial_layer_id; in vp9_first_pass()
1406 if (cpi->svc.number_spatial_layers + cpi->svc.spatial_layer_id < in vp9_first_pass()
1409 cpi->svc.number_spatial_layers + cpi->svc.spatial_layer_id; in vp9_first_pass()
1693 SVC *const svc = &cpi->svc; in vp9_init_second_pass() local
1696 (svc->number_spatial_layers > 1) || (svc->number_temporal_layers > 1); in vp9_init_second_pass()
[all …]
/external/perfetto/src/ipc/protoc_plugin/
Dipc_generator.cc125 void ForEachMethod(const ServiceDescriptor& svc, in ForEachMethod() argument
129 for (int i = 0; i < svc.method_count(); i++) { in ForEachMethod()
130 const MethodDescriptor& method = *svc.method(i); in ForEachMethod()
140 const ServiceDescriptor& svc, in GenerateServiceHeader() argument
148 printer->Print(kHeaderSvcClass, "c", svc.name()); in GenerateServiceHeader()
150 ForEachMethod(svc, [&types_seen, printer](const MethodDescriptor& method, in GenerateServiceHeader()
164 printer->Print(kHeaderProxyClass, "c", svc.name()); in GenerateServiceHeader()
166 ForEachMethod(svc, [&types_seen, printer](const MethodDescriptor& method, in GenerateServiceHeader()
186 const ServiceDescriptor& svc, in GenerateServiceCpp() argument
195 "c", svc.name()); in GenerateServiceCpp()
[all …]
/external/perfetto/src/tracing/core/
Dservice_impl_unittest.cc66 svc.reset(static_cast<ServiceImpl*>( in ServiceImplTest()
81 ProducerID* last_producer_id() { return &svc->last_producer_id_; } in last_producer_id()
84 return svc->GetProducer(producer_id)->uid_; in GetProducerUid()
89 svc->GetTracingSession(svc->last_tracing_session_id_); in GetNumPendingFlushes()
95 std::unique_ptr<ServiceImpl> svc; member in perfetto::ServiceImplTest
102 mock_producer_1->Connect(svc.get(), "mock_producer_1", 123u /* uid */); in TEST_F()
103 mock_producer_2->Connect(svc.get(), "mock_producer_2", 456u /* uid */); in TEST_F()
105 ASSERT_EQ(2u, svc->num_producers()); in TEST_F()
106 ASSERT_EQ(mock_producer_1->endpoint(), svc->GetProducer(1)); in TEST_F()
107 ASSERT_EQ(mock_producer_2->endpoint(), svc->GetProducer(2)); in TEST_F()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dmain_winsvc.c256 SC_HANDLE svc, scm; in register_service() local
267 svc = CreateService(scm, WPASVC_NAME, WPASVC_DISPLAY_NAME, in register_service()
272 if (!svc) { in register_service()
280 if (!ChangeServiceConfig2(svc, SERVICE_CONFIG_DESCRIPTION, &sd)) { in register_service()
286 CloseServiceHandle(svc); in register_service()
297 SC_HANDLE svc, scm; in unregister_service() local
308 svc = OpenService(scm, WPASVC_NAME, SERVICE_ALL_ACCESS | DELETE); in unregister_service()
309 if (!svc) { in unregister_service()
315 if (QueryServiceStatus(svc, &status)) { in unregister_service()
319 if (!ControlService(svc, SERVICE_CONTROL_STOP, in unregister_service()
[all …]
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c1071 cpi->svc in get_frame_pkt_flags()
1072 .layer_context[cpi->svc.spatial_layer_id * in get_frame_pkt_flags()
1073 cpi->svc.number_temporal_layers + in get_frame_pkt_flags()
1074 cpi->svc.temporal_layer_id] in get_frame_pkt_flags()
1100 SVC *const svc = &cpi->svc; in encoder_encode() local
1102 (svc->number_spatial_layers > 1) || (svc->number_temporal_layers > 1); in encoder_encode()
1111 svc->layer_context[svc->spatial_layer_id].target_bandwidth / in encoder_encode()
1221 cpi->svc in encoder_encode()
1222 .layer_context[cpi->svc.spatial_layer_id * in encoder_encode()
1223 cpi->svc.number_temporal_layers] in encoder_encode()
[all …]
/external/perfetto/src/traced/service/
Dservice.cc27 std::unique_ptr<ServiceIPCHost> svc; in ServiceMain() local
28 svc = ServiceIPCHost::CreateInstance(&task_runner); in ServiceMain()
39 svc->Start(std::move(producer_fd), std::move(consumer_fd)); in ServiceMain()
43 svc->Start(GetProducerSocket(), GetConsumerSocket()); in ServiceMain()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/
Drpc_clntraw_create_complex.c43 SVCXPRT *svc = NULL; in main() local
65 svc = svcraw_create(); in main()
67 if (svc == NULL) { in main()
72 if (!svc_register(svc, progNum, VERSNUM, (void *)serverDisp, 0)) { in main()
86 printf("SVC %p\n", svc); in main()
/external/autotest/site_utils/lxc/container_pool/
Dservice_unittest.py107 with self.run_service() as svc, self.create_client() as client:
108 self.assertTrue(svc.is_running())
111 self.assertFalse(svc.is_running())
117 with self.run_service(pool) as svc, self.create_client() as client:
216 svc = service.Service(self.host_dir, pool)
217 thread = threading.Thread(name='service', target=svc.start)
220 yield svc
222 svc.stop()
/external/freetype/include/freetype/internal/
Dftserv.h930 FT_Pointer svc; \
934 svc = FT_FACE( face )->internal->services. service_ ## id; \
935 if ( svc == FT_SERVICE_UNAVAILABLE ) \
936 svc = NULL; \
937 else if ( svc == NULL ) \
939 FT_FACE_FIND_SERVICE( face, svc, id ); \
942 (FT_Pointer)( svc != NULL ? svc \
945 *Pptr = svc; \
952 FT_Pointer svc; \
955 svc = FT_FACE( face )->internal->services. service_ ## id; \
[all …]
/external/deqp/android/package/src/com/drawelements/deqp/execserver/
DServiceStarter.java46 Intent svc = new Intent(this, ExecService.class); in onStart() local
47 svc.putExtra("port", port); in onStart()
48 startService(svc); in onStart()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_syscall_linux_aarch64.inc19 asm volatile("svc 0"
31 asm volatile("svc 0"
44 asm volatile("svc 0"
58 asm volatile("svc 0"
74 asm volatile("svc 0"
91 asm volatile("svc 0"
110 asm volatile("svc 0"
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp255 #define OCName(svc,ub,testn,suffix,n) testn ## svc ## ub ## suffix ## n argument
256 #define OCStr(svc,ub,suffix,n) "Test_" # svc # ub # suffix # n argument
257 #define OCRun(svc,ub,suffix) svc ## ub ## suffix argument
259svc,suffix,c,a,d) class OCName(svc,_,Test_,suffix,n) : public HowExpensiveTest { public: OCName(sv… argument
/external/perfetto/src/ipc/test/
Dipc_integrationtest.cc77 MockGreeterService* svc = new MockGreeterService(); in TEST_F() local
78 ASSERT_TRUE(host->ExposeService(std::unique_ptr<Service>(svc))); in TEST_F()
100 EXPECT_CALL(*svc, OnSayHello(_, _)) in TEST_F()
123 EXPECT_CALL(*svc, OnWaveGoodbye(_, _)) in TEST_F()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DULocaleCollationTest.java195 void checkService(String requestedLocale, ServiceFacade svc) { in checkService() argument
196 checkService(requestedLocale, svc, null, null); in checkService()
212 void checkService(String requestedLocale, ServiceFacade svc, in checkService() argument
215 Object obj = svc.create(req); in checkService()
224 Object objReg = svc.create(req); in checkService()
236 Object objUnreg = svc.create(req); in checkService()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleCollationTest.java198 void checkService(String requestedLocale, ServiceFacade svc) { in checkService() argument
199 checkService(requestedLocale, svc, null, null); in checkService()
215 void checkService(String requestedLocale, ServiceFacade svc, in checkService() argument
218 Object obj = svc.create(req); in checkService()
227 Object objReg = svc.create(req); in checkService()
239 Object objUnreg = svc.create(req); in checkService()
/external/valgrind/coregrind/m_syswrap/
Dsyscall-arm-linux.S90 svc 0x00000000
103 2: svc 0x00000000
114 svc 0x00000000
Dsyscall-s390x-linux.S103 svc __NR_rt_sigprocmask
117 2: svc 0
128 svc __NR_rt_sigprocmask
/external/ppp/pppd/plugins/rp-pppoe/
Ddiscovery.c267 PPPoETag *svc = (PPPoETag *) (&packet.payload); in sendPADI() local
292 svc->type = TAG_SERVICE_NAME; in sendPADI()
293 svc->length = htons(namelen); in sendPADI()
296 memcpy(svc->payload, conn->serviceName, strlen(conn->serviceName)); in sendPADI()
453 PPPoETag *svc = (PPPoETag *) packet.payload; in sendPADR() local
473 svc->type = TAG_SERVICE_NAME; in sendPADR()
474 svc->length = htons(namelen); in sendPADR()
476 memcpy(svc->payload, conn->serviceName, namelen); in sendPADR()
/external/perfetto/src/ipc/
Dclient_impl_unittest.cc115 FakeService* svc = it_and_inserted.first->second.get(); in AddFakeService() local
116 svc->id = ++last_service_id; in AddFakeService()
117 return svc; in AddFakeService()
145 const FakeService& svc = *svc_it->second; in OnFrameReceived() local
149 reply.mutable_msg_bind_service_reply()->set_service_id(svc.id); in OnFrameReceived()
150 for (const auto& method_it : svc.methods) { in OnFrameReceived()
162 for (const auto& svc : services) { in OnFrameReceived() local
163 if (svc.second->id != req.msg_invoke_method().service_id()) in OnFrameReceived()
165 for (const auto& method : svc.second->methods) { in OnFrameReceived()

12345