Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 247) sorted by relevance

12345678910

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/
Dviddec_mp4_videoobjectplane.c6 uint32_t code; in mp4_Parse_GroupOfVideoObjectPlane() local
16 getbits = viddec_pm_get_bits(parent, &code, 20); in mp4_Parse_GroupOfVideoObjectPlane()
20 data->broken_link = ((code & 0x1) > 0); in mp4_Parse_GroupOfVideoObjectPlane()
21 data->closed_gov = ((code & 0x2) > 0); in mp4_Parse_GroupOfVideoObjectPlane()
22 time_code = code = code >> 2; in mp4_Parse_GroupOfVideoObjectPlane()
23 data->time_code_seconds = code & 0x3F; in mp4_Parse_GroupOfVideoObjectPlane()
24 code = code >> 6; in mp4_Parse_GroupOfVideoObjectPlane()
25 if((code & 1) == 0) in mp4_Parse_GroupOfVideoObjectPlane()
29 code = code >>1; in mp4_Parse_GroupOfVideoObjectPlane()
30 data->time_code_minutes = code & 0x3F; in mp4_Parse_GroupOfVideoObjectPlane()
[all …]
Dviddec_mp4_videoobjectlayer.c51 uint32_t i,code=0; in mp4_Parse_QuantMatrix() local
58 getbits = viddec_pm_get_bits(parent, &code, 8); in mp4_Parse_QuantMatrix()
60 if (code == 0) break; in mp4_Parse_QuantMatrix()
61 pQM[mp4_ClassicalZigzag[i]] = (uint8_t)(code & 0xFF); in mp4_Parse_QuantMatrix()
103 uint32_t code=0; in mp4_pvt_VOL_volcontrolparameters() local
107 getbits = viddec_pm_get_bits(parent, &(code), 4); in mp4_pvt_VOL_volcontrolparameters()
109 cxt->chroma_format = (code >> 2) & 0x3; in mp4_pvt_VOL_volcontrolparameters()
110 cxt->low_delay = ((code & 0x2) > 0); in mp4_pvt_VOL_volcontrolparameters()
111 cxt->vbv_parameters = code & 0x1; in mp4_pvt_VOL_volcontrolparameters()
123 getbits = viddec_pm_get_bits(parent, &(code), 32); in mp4_pvt_VOL_volcontrolparameters()
[all …]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/
Dh264parse_sps.c53 uint32_t code; in h264_Parse_HRD_Parameters() local
65 viddec_pm_get_bits(parent, &code, 8); in h264_Parse_HRD_Parameters()
66 pVUI_Seq_Not_Used->nal_hrd_bit_rate_scale = (uint8_t)(code>>4); in h264_Parse_HRD_Parameters()
67 pVUI_Seq_Not_Used->nal_hrd_cpb_size_scale = (uint8_t)(code & 0xf); in h264_Parse_HRD_Parameters()
74 viddec_pm_get_bits(parent, &code, 1); in h264_Parse_HRD_Parameters()
75 pVUI_Seq_Not_Used->nal_hrd_parameters.cbr_flag[i] = (uint8_t)code; in h264_Parse_HRD_Parameters()
78 if( viddec_pm_get_bits(parent, &code, 20) == -1) in h264_Parse_HRD_Parameters()
81 …sp.vui_seq_parameters.nal_hrd_initial_cpb_removal_delay_length_minus1 = (uint8_t)((code>>15)&0x1f); in h264_Parse_HRD_Parameters()
82 …SPS->sps_disp.vui_seq_parameters.nal_hrd_cpb_removal_delay_length_minus1 = (uint8_t)((code>>10)&0x… in h264_Parse_HRD_Parameters()
83 …SPS->sps_disp.vui_seq_parameters.nal_hrd_dpb_output_delay_length_minus1 = (uint8_t)((code>>5)&0x1f… in h264_Parse_HRD_Parameters()
[all …]
Dh264parse_pps.c14 uint32_t code=0, i = 0; in h264_Parse_PicParameterSet() local
18 code = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_PicParameterSet()
19 if(code > MAX_PIC_PARAMS) { in h264_Parse_PicParameterSet()
22 PictureParameterSet->pic_parameter_set_id = (uint8_t)code; in h264_Parse_PicParameterSet()
25 code = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_PicParameterSet()
26 if(code > MAX_NUM_SPS-1) { in h264_Parse_PicParameterSet()
29 PictureParameterSet->seq_parameter_set_id = (uint8_t)code; in h264_Parse_PicParameterSet()
32 viddec_pm_get_bits(parent, &code, 1); in h264_Parse_PicParameterSet()
33 PictureParameterSet->entropy_coding_mode_flag = (uint8_t)code; in h264_Parse_PicParameterSet()
35 viddec_pm_get_bits(parent, &code, 1); in h264_Parse_PicParameterSet()
[all …]
Dh264parse_sei.c98 uint32_t code; in h264_sei_pic_timing() local
138 viddec_pm_get_bits(parent, &code , 4); in h264_sei_pic_timing()
139 sei_msg_ptr->pic_struct = (uint8_t)code; in h264_sei_pic_timing()
170 viddec_pm_get_bits(parent, &code , 1); in h264_sei_pic_timing()
171 clock_timestamp_flag = code; in h264_sei_pic_timing()
176 viddec_pm_get_bits(parent, &code , 2); in h264_sei_pic_timing()
179 viddec_pm_get_bits(parent, &code , 1); in h264_sei_pic_timing()
182 viddec_pm_get_bits(parent, &code , 5); in h264_sei_pic_timing()
185 viddec_pm_get_bits(parent, &code , 1); in h264_sei_pic_timing()
187 full_timestamp_flag = code; in h264_sei_pic_timing()
[all …]
Dh264parse_sh.c62 uint32_t code; in h264_Parse_Slice_Header_2() local
69 viddec_pm_get_bits(parent, &code, pInfo->active_SPS.log2_max_frame_num_minus4+4); in h264_Parse_Slice_Header_2()
70 SliceHeader->frame_num = (int32_t)code; in h264_Parse_Slice_Header_2()
80 viddec_pm_get_bits(parent, &code, 1); in h264_Parse_Slice_Header_2()
81 SliceHeader->field_pic_flag = (uint8_t)code; in h264_Parse_Slice_Header_2()
85 viddec_pm_get_bits(parent, &code, 1); in h264_Parse_Slice_Header_2()
86 SliceHeader->bottom_field_flag = (uint8_t)code; in h264_Parse_Slice_Header_2()
116 viddec_pm_get_bits(parent, &code , pInfo->active_SPS.log2_max_pic_order_cnt_lsb_minus4+4); in h264_Parse_Slice_Header_2()
117 SliceHeader->pic_order_cnt_lsb = (uint32_t)code; in h264_Parse_Slice_Header_2()
171 uint32_t code; in h264_Parse_Slice_Header_3() local
[all …]
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_sta_network_hidl_test.cpp96 ASSERT_EQ(SupplicantStatusCode::SUCCESS, status.code); in removeNetwork()
100 ASSERT_EQ(SupplicantStatusCode::SUCCESS, status.code); in removeNetwork()
141 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
152 status_and_interface_name.first.code); in TEST_F()
162 status_and_interface_type.first.code); in TEST_F()
172 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
176 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
188 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
192 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
204 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
[all …]
Dsupplicant_p2p_iface_hidl_test.cpp192 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
202 status_and_interface_name.first.code); in TEST_F()
212 status_and_interface_type.first.code); in TEST_F()
223 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
234 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
243 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
252 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
256 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
265 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
278 EXPECT_EQ(SupplicantStatusCode::FAILURE_UNKNOWN, status.code); in TEST_F()
[all …]
Dsupplicant_sta_iface_hidl_test.cpp174 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
184 status_and_interface_name.first.code); in TEST_F()
194 status_and_interface_type.first.code); in TEST_F()
204 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
213 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
223 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
233 status.code); in TEST_F()
242 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
251 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
254 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
[all …]
Dsupplicant_hidl_test.cpp67 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
89 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
97 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
115 status.code); in TEST_F()
132 status.code); in TEST_F()
150 status.code); in TEST_F()
168 status.code); in TEST_F()
179 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
183 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_sta_iface_hidl_test.cpp56 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in isCapabilitySupported()
78 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_F()
88 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_type.first.code); in TEST_F()
104 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_F()
120 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_F()
130 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_freqs.first.code); in TEST_F()
149 .code); in TEST_F()
152 HIDL_INVOKE(wifi_sta_iface_, getLinkLayerStats).first.code); in TEST_F()
156 HIDL_INVOKE(wifi_sta_iface_, disableLinkLayerStatsCollection).code); in TEST_F()
180 .code); in TEST_F()
[all …]
Dwifi_chip_hidl_test.cpp88 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in configureChipForStaIfaceAndGetCapabilities()
94 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_name.first.code); in getIfaceName()
101 return status_and_iface.first.code; in createApIface()
105 return HIDL_INVOKE(wifi_chip_, removeApIface, name).code; in removeApIface()
111 return status_and_iface.first.code; in createNanIface()
115 return HIDL_INVOKE(wifi_chip_, removeNanIface, name).code; in removeNanIface()
121 return status_and_iface.first.code; in createP2pIface()
125 return HIDL_INVOKE(wifi_chip_, removeP2pIface, name).code; in removeP2pIface()
131 return status_and_iface.first.code; in createStaIface()
135 return HIDL_INVOKE(wifi_chip_, removeStaIface, name).code; in removeStaIface()
[all …]
Dwifi_hidl_test_utils.cpp67 if (status_and_modes.first.code != WifiStatusCode::SUCCESS) { in configureChipToSupportIfaceTypeInternal()
74 if (HIDL_INVOKE(wifi_chip, configureChip, *configured_mode_id).code != in configureChipToSupportIfaceTypeInternal()
101 status.code == WifiStatusCode::ERROR_NOT_AVAILABLE) { in getWifiChip()
106 if (status.code != WifiStatusCode::SUCCESS) { in getWifiChip()
111 if (status_and_chip_ids.first.code != WifiStatusCode::SUCCESS || in getWifiChip()
116 if (status_and_chip.first.code != WifiStatusCode::SUCCESS) { in getWifiChip()
131 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiApIface()
146 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiNanIface()
161 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiP2pIface()
176 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiStaIface()
[all …]
/hardware/interfaces/gatekeeper/1.0/default/
DGatekeeper.cpp74 rsp.code = GatekeeperStatusCode::STATUS_OK; in enroll()
77 rsp.code = GatekeeperStatusCode::ERROR_RETRY_TIMEOUT; in enroll()
79 rsp.code = GatekeeperStatusCode::ERROR_GENERAL_FAILURE; in enroll()
104 rsp.code = GatekeeperStatusCode::STATUS_REENROLL; in verify()
106 rsp.code = GatekeeperStatusCode::STATUS_OK; in verify()
110 rsp.code = GatekeeperStatusCode::ERROR_RETRY_TIMEOUT; in verify()
112 rsp.code = GatekeeperStatusCode::ERROR_GENERAL_FAILURE; in verify()
124 rsp.code = GatekeeperStatusCode::STATUS_OK; in deleteUser()
127 rsp.code = GatekeeperStatusCode::ERROR_RETRY_TIMEOUT; in deleteUser()
129 rsp.code = GatekeeperStatusCode::ERROR_GENERAL_FAILURE; in deleteUser()
[all …]
/hardware/libhardware/modules/input/evdev/
DMouseInputMapper.cpp92 event.type, event.code, event.value); in process()
95 processButton(event.code, event.value); in process()
98 processMotion(event.code, event.value); in process()
101 if (event.code == SYN_REPORT) { in process()
110 void MouseInputMapper::processMotion(int32_t code, int32_t value) { in processMotion() argument
111 switch (code) { in processMotion()
132 uint32_t buttonToBit(int32_t code) { in buttonToBit() argument
133 return static_cast<uint32_t>(code - BTN_MOUSE); in buttonToBit()
136 void MouseInputMapper::processButton(int32_t code, int32_t value) { in processButton() argument
140 if (code >= BTN_MOUSE && code < BTN_JOYSTICK) { in processButton()
[all …]
/hardware/interfaces/gatekeeper/1.0/vts/functional/
DVtsHalGatekeeperV1_0TargetTest.cpp91 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doEnroll()
103 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doVerify()
114 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doDeleteUser()
125 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doDeleteAllUsers()
138 EXPECT_EQ(GatekeeperStatusCode::STATUS_OK, rsp.code); in checkEnroll()
142 EXPECT_EQ(GatekeeperStatusCode::ERROR_GENERAL_FAILURE, rsp.code); in checkEnroll()
150 EXPECT_GE(rsp.code, GatekeeperStatusCode::STATUS_OK); in checkVerify()
151 EXPECT_LE(rsp.code, GatekeeperStatusCode::STATUS_REENROLL); in checkVerify()
157 EXPECT_EQ(GatekeeperStatusCode::ERROR_GENERAL_FAILURE, rsp.code); in checkVerify()
321 EXPECT_EQ(GatekeeperStatusCode::ERROR_GENERAL_FAILURE, verifyRsp.code); in TEST_F()
[all …]
/hardware/qcom/display/msm8996/libqservice/
DIQService.cpp83 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
85 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); in onTransact()
97 if (code == CONNECT_HWC_CLIENT) { in onTransact()
108 } else if(code == CONNECT_HDMI_CLIENT) { in onTransact()
119 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { in onTransact()
122 code, callerPid, callerUid); in onTransact()
126 dispatch(code, &data, reply); in onTransact()
129 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/hardware/qcom/display/msm8998/libqservice/
DIQService.cpp83 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
85 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); in onTransact()
99 if (code == CONNECT_HWC_CLIENT) { in onTransact()
110 } else if(code == CONNECT_HDMI_CLIENT) { in onTransact()
121 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { in onTransact()
124 code, callerPid, callerUid); in onTransact()
128 dispatch(code, &data, reply); in onTransact()
131 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/hardware/qcom/display/msm8994/libqservice/
DIQService.cpp76 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
78 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); in onTransact()
93 if (code == CONNECT) { in onTransact()
105 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { in onTransact()
108 pid=%d uid=%d process=%s", code, callerPid, in onTransact()
113 dispatch(code, &data, reply); in onTransact()
116 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/hardware/qcom/display/msm8909/libqservice/
DIQService.cpp76 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
78 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); in onTransact()
93 if (code == CONNECT) { in onTransact()
105 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { in onTransact()
108 pid=%d uid=%d process=%s", code, callerPid, in onTransact()
113 dispatch(code, &data, reply); in onTransact()
116 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/hardware/qcom/display/msm8226/libqservice/
DIQService.cpp76 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
78 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); in onTransact()
93 if (code == CONNECT) { in onTransact()
105 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { in onTransact()
108 pid=%d uid=%d process=%s", code, callerPid, in onTransact()
113 dispatch(code, &data, reply); in onTransact()
116 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/hardware/qcom/display/msm8084/libqservice/
DIQService.cpp85 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
87 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); in onTransact()
102 if (code == CONNECT_HWC_CLIENT) { in onTransact()
114 } else if(code == CONNECT_HDMI_CLIENT) { in onTransact()
126 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { in onTransact()
129 pid=%d uid=%d process=%s", code, callerPid, in onTransact()
134 dispatch(code, &data, reply); in onTransact()
137 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dvbp_mp42_parser.c602 uint32 code = 0; in vbp_video_packet_header_mp42() local
623 getbits = viddec_pm_get_bits(parent, &code, length); in vbp_video_packet_header_mp42()
626 length = code; in vbp_video_packet_header_mp42()
631 getbits = viddec_pm_get_bits(parent, &code, in vbp_video_packet_header_mp42()
634 _quant_scale = code; in vbp_video_packet_header_mp42()
639 getbits = viddec_pm_get_bits(parent, &code, 1); in vbp_video_packet_header_mp42()
641 header_extension_codes = code; in vbp_video_packet_header_mp42()
646 getbits = viddec_pm_get_bits(parent, &code, 1); in vbp_video_packet_header_mp42()
648 } while (code); in vbp_video_packet_header_mp42()
651 getbits = viddec_pm_get_bits(parent, &code, 1); in vbp_video_packet_header_mp42()
[all …]
/hardware/intel/common/libmix/mix_audio/
DChangeLog11 * Updated the parameter conversion code for AAC to detect codec value from parameters.
20 * Fixed code review issues: declare const for char*
21 * Fixed code review issues: array size calculation.
35 * Added return code that inform caller to interpret errno for error.
42 * Cleaned up code. Added pointer checks, state checks.
56 * Fixed a mem leak in the stub code.
69 * Added code to assign op_align to sst structure in deterministic case.
70 * Added stub code to write input bytes to file during dnr request.
91 * Defined new range for error code that encapsulate errno when system calls to SST API shall fail.
92 * Added internal states to track PAUSED_DRAINING, and added code to deal with this state.
/hardware/interfaces/wifi/1.0/default/
Dwifi_status_util.cpp52 WifiStatus createWifiStatus(WifiStatusCode code, in createWifiStatus() argument
54 return {code, description}; in createWifiStatus()
57 WifiStatus createWifiStatus(WifiStatusCode code) { in createWifiStatus() argument
58 return createWifiStatus(code, ""); in createWifiStatus()

12345678910