/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/ |
D | rtw_tdls.c | 152 int check_ap_tdls_prohibited(u8 *pframe, u8 pkt_len) in check_ap_tdls_prohibited() argument 159 pframe += 4; in check_ap_tdls_prohibited() 160 if ((*pframe) & tdls_prohibited_bit) in check_ap_tdls_prohibited() 166 int check_ap_tdls_ch_switching_prohibited(u8 *pframe, u8 pkt_len) in check_ap_tdls_ch_switching_prohibited() argument 173 pframe += 4; in check_ap_tdls_ch_switching_prohibited() 174 if ((*pframe) & tdls_ch_swithcing_prohibited_bit) in check_ap_tdls_ch_switching_prohibited() 286 unsigned char *pframe; in _issue_nulldata_to_TDLS_peer_STA() local 309 pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in _issue_nulldata_to_TDLS_peer_STA() 310 pwlanhdr = (struct rtw_ieee80211_hdr *)pframe; in _issue_nulldata_to_TDLS_peer_STA() 318 qc = (unsigned short *)(pframe + pattrib->hdrlen - 2); in _issue_nulldata_to_TDLS_peer_STA() [all …]
|
D | rtw_wnm.c | 152 static u32 rtw_wnm_btm_candidates_offset_get(u8* pframe) in rtw_wnm_btm_candidates_offset_get() argument 156 if (!pframe) in rtw_wnm_btm_candidates_offset_get() 162 if (wnm_btm_bss_term_inc(pframe)) in rtw_wnm_btm_candidates_offset_get() 166 if (wnm_btm_ess_disassoc_im(pframe)) { in rtw_wnm_btm_candidates_offset_get() 168 offset = 1 + *(pframe + offset); in rtw_wnm_btm_candidates_offset_get() 175 static void rtw_wnm_btm_req_hdr_parsing(u8* pframe, struct btm_req_hdr *phdr) in rtw_wnm_btm_req_hdr_parsing() argument 180 if (!pframe || !phdr) in rtw_wnm_btm_req_hdr_parsing() 184 phdr->dialog_token = wnm_btm_dialog_token(pframe); in rtw_wnm_btm_req_hdr_parsing() 185 phdr->req_mode = wnm_btm_req_mode(pframe); in rtw_wnm_btm_req_hdr_parsing() 186 phdr->disassoc_timer = wnm_btm_disassoc_timer(pframe); in rtw_wnm_btm_req_hdr_parsing() [all …]
|
D | rtw_mbo.c | 163 u8 **pframe, struct pkt_attrib *pattrib, u8 payload_len) in rtw_mbo_build_mbo_ie_hdr() argument 168 *pframe = rtw_mbo_set_1byte_ie(*pframe, &eid, &(pattrib->pktlen)); in rtw_mbo_build_mbo_ie_hdr() 169 *pframe = rtw_mbo_set_1byte_ie(*pframe, &len, &(pattrib->pktlen)); in rtw_mbo_build_mbo_ie_hdr() 170 *pframe = rtw_mbo_set_4byte_ie(*pframe, wfa_mbo_oui, &(pattrib->pktlen)); in rtw_mbo_build_mbo_ie_hdr() 174 _adapter *padapter, u8 **pframe, struct pkt_attrib *pattrib) in rtw_mbo_build_cell_data_cap_attr() argument 189 *pframe = rtw_mbo_set_1byte_ie(*pframe, &attr_id, &(pattrib->pktlen)); in rtw_mbo_build_cell_data_cap_attr() 190 *pframe = rtw_mbo_set_1byte_ie(*pframe, &attr_len, &(pattrib->pktlen)); in rtw_mbo_build_cell_data_cap_attr() 191 *pframe = rtw_mbo_set_1byte_ie(*pframe, &cell_data_con, &(pattrib->pktlen)); in rtw_mbo_build_cell_data_cap_attr() 267 _adapter *padapter, u8 **pframe, struct pkt_attrib *pattrib) in rtw_mbo_build_supp_op_class_elem() argument 289 *pframe = rtw_set_ie(*pframe, EID_SupRegulatory, len , in rtw_mbo_build_supp_op_class_elem() [all …]
|
D | rtw_rm.c | 252 u8 *pframe; in build_wlan_hdr() local 266 pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in build_wlan_hdr() 267 pwlanhdr = (struct rtw_ieee80211_hdr *)pframe; in build_wlan_hdr() 281 SetFragNum(pframe, 0); in build_wlan_hdr() 283 set_frame_sub_type(pframe, WIFI_ACTION); in build_wlan_hdr() 285 pframe += sizeof(struct rtw_ieee80211_hdr_3addr); in build_wlan_hdr() 288 return pframe; in build_wlan_hdr() 306 u8 *pframe, m_mode; in issue_null_reply() local 346 pframe = build_wlan_hdr(padapter, pmgntframe, prm->psta, WIFI_ACTION); in issue_null_reply() 347 pframe = rtw_set_fixed_ie(pframe, 3, &prm->p.category, &pattr->pktlen); in issue_null_reply() [all …]
|
D | rtw_ft.c | 249 u8 *pframe = precv_frame->u.hdr.rx_data; in rtw_ft_update_bcn() local 265 if (rtw_get_bcn_keys(padapter, pframe, len, &recv_beacon) == _TRUE) { in rtw_ft_update_bcn() 286 check_assoc_AP(pframe+sizeof(struct rtw_ieee80211_hdr_3addr), in rtw_ft_update_bcn() 292 update_TSF(pmlmeext, pframe, len); in rtw_ft_update_bcn() 326 struct pkt_attrib *pattrib, u8 **pframe) in rtw_ft_update_rsnie() argument 339 *pframe = rtw_set_ie(((u8 *)*pframe), EID_WPA2, len, in rtw_ft_update_rsnie() 348 _adapter *padapter, struct pkt_attrib *pattrib, u8 **pframe) in rtw_ft_update_mdie() argument 366 *pframe = rtw_set_ie(((u8 *)*pframe), _MDIE_, len , pie, &(pattrib->pktlen)); in rtw_ft_update_mdie() 371 _adapter *padapter, struct pkt_attrib *pattrib, u8 **pframe) in rtw_ft_update_ftie() argument 379 *pframe = rtw_set_ie(*pframe, _FTIE_, len , in rtw_ft_update_ftie() [all …]
|
D | rtw_mlme_ext.c | 1873 static u8 cmp_pkt_chnl_diff(_adapter *padapter, u8 *pframe, uint packet_len) in cmp_pkt_chnl_diff() argument 1880 …p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _BEACON_IE_OFFSET_, _DSSET_IE_, &len, packet_len - _BEAC… in cmp_pkt_chnl_diff() 1895 u8 *pframe = precv_frame->u.hdr.rx_data; in _mgt_dispatcher() local 1899 if (!_rtw_memcmp(GetAddr1Ptr(pframe), adapter_mac_addr(padapter), ETH_ALEN) && in _mgt_dispatcher() 1900 !_rtw_memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) in _mgt_dispatcher() 1914 if (!_rtw_memcmp(GetAddr1Ptr(pframe), adapter_pno_mac_addr(padapter), ETH_ALEN)) in _mgt_dispatcher() 1931 u8 *pframe = precv_frame->u.hdr.rx_data; in mgt_dispatcher() local 1932 struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, get_addr2_ptr(pframe)); in mgt_dispatcher() 1939 pbuf = GetAddr1Ptr(pframe); in mgt_dispatcher() 1941 pbuf = get_addr2_ptr(pframe); in mgt_dispatcher() [all …]
|
D | rtw_security.c | 288 u8 *pframe, *payload, *iv; /* ,*wepkey */ in rtw_wep_encrypt() local 311 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; in rtw_wep_encrypt() 318 iv = pframe + pattrib->hdrlen; in rtw_wep_encrypt() 321 payload = pframe + pattrib->iv_len + pattrib->hdrlen; in rtw_wep_encrypt() 341 pframe += pxmitpriv->frag_len; in rtw_wep_encrypt() 342 pframe = (u8 *)RND4((SIZE_PTR)(pframe)); in rtw_wep_encrypt() 361 u8 *pframe, *payload, *iv, wepkey[16]; in rtw_wep_decrypt() local 367 pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; in rtw_wep_decrypt() 371 iv = pframe + prxattrib->hdrlen; in rtw_wep_decrypt() 380 payload = pframe + prxattrib->iv_len + prxattrib->hdrlen; in rtw_wep_decrypt() [all …]
|
D | rtw_beamforming.c | 250 u8 *pframe; in _send_ht_ndpa_packet() local 286 pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in _send_ht_ndpa_packet() 287 pwlanhdr = (struct rtw_ieee80211_hdr *)pframe; in _send_ht_ndpa_packet() 291 set_frame_sub_type(pframe, attrib->subtype); in _send_ht_ndpa_packet() 292 set_order_bit(pframe); in _send_ht_ndpa_packet() 304 set_duration(pframe, duration); in _send_ht_ndpa_packet() 314 SET_HT_CTRL_CSI_STEERING(pframe + 24, 3); in _send_ht_ndpa_packet() 315 SET_HT_CTRL_NDP_ANNOUNCEMENT(pframe + 24, 1); in _send_ht_ndpa_packet() 322 _rtw_memcpy(pframe + 28, ActionHdr, 4); in _send_ht_ndpa_packet() 345 u8 *pframe; in _send_vht_ndpa_packet() local [all …]
|
D | rtw_xmit.c | 1933 u8 *pframe, *payload, mic[8]; in xmitframe_addmic() local 1984 pframe = pxmitframe->buf_addr + hw_hdr_offset; in xmitframe_addmic() 2004 if (pframe[1] & 1) { /* ToDS==1 */ in xmitframe_addmic() 2005 rtw_secmicappend(&micdata, &pframe[16], 6); /* DA */ in xmitframe_addmic() 2006 if (pframe[1] & 2) /* From Ds==1 */ in xmitframe_addmic() 2007 rtw_secmicappend(&micdata, &pframe[24], 6); in xmitframe_addmic() 2009 rtw_secmicappend(&micdata, &pframe[10], 6); in xmitframe_addmic() 2011 rtw_secmicappend(&micdata, &pframe[4], 6); /* DA */ in xmitframe_addmic() 2012 if (pframe[1] & 2) /* From Ds==1 */ in xmitframe_addmic() 2013 rtw_secmicappend(&micdata, &pframe[16], 6); in xmitframe_addmic() [all …]
|
D | rtw_p2p.c | 145 unsigned char *pframe; in issue_group_disc_req() local 168 pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in issue_group_disc_req() 169 pwlanhdr = (struct rtw_ieee80211_hdr *)pframe; in issue_group_disc_req() 180 set_frame_sub_type(pframe, WIFI_ACTION); in issue_group_disc_req() 182 pframe += sizeof(struct rtw_ieee80211_hdr_3addr); in issue_group_disc_req() 186 pframe = rtw_set_fixed_ie(pframe, 1, &(category), &(pattrib->pktlen)); in issue_group_disc_req() 187 pframe = rtw_set_fixed_ie(pframe, 4, (unsigned char *) &(p2poui), &(pattrib->pktlen)); in issue_group_disc_req() 188 pframe = rtw_set_fixed_ie(pframe, 1, &(oui_subtype), &(pattrib->pktlen)); in issue_group_disc_req() 189 pframe = rtw_set_fixed_ie(pframe, 1, &(dialogToken), &(pattrib->pktlen)); in issue_group_disc_req() 203 unsigned char *pframe; in issue_p2p_devdisc_resp() local [all …]
|
D | rtw_wapi.c | 551 void rtw_build_probe_resp_wapi_ie(_adapter *padapter, unsigned char *pframe, struct pkt_attrib *pat… in rtw_build_probe_resp_wapi_ie() argument 565 pframe[0] = _WAPI_IE_; in rtw_build_probe_resp_wapi_ie() 566 pframe[1] = WapiIELength; in rtw_build_probe_resp_wapi_ie() 567 _rtw_memcpy(pframe + 2, pWapiInfo->wapiIE, WapiIELength); in rtw_build_probe_resp_wapi_ie() 568 pframe += WapiIELength + 2; in rtw_build_probe_resp_wapi_ie() 574 void rtw_build_beacon_wapi_ie(_adapter *padapter, unsigned char *pframe, struct pkt_attrib *pattrib) in rtw_build_beacon_wapi_ie() argument 587 pframe[0] = _WAPI_IE_; in rtw_build_beacon_wapi_ie() 588 pframe[1] = WapiIELength; in rtw_build_beacon_wapi_ie() 589 _rtw_memcpy(pframe + 2, pWapiInfo->wapiIE, WapiIELength); in rtw_build_beacon_wapi_ie() 590 pframe += WapiIELength + 2; in rtw_build_beacon_wapi_ie() [all …]
|
/device/soc/rockchip/rk3568/hardware/omx_il/component/video/dec/ |
D | Rkvpu_OMX_Vdec.c | 592 VPU_FRAME *pframe = (VPU_FRAME *)Rockchip_OSAL_Malloc(sizeof(VPU_FRAME)); in Rkvpu_Post_OutputFrame() local 595 Rockchip_OSAL_Memset(pframe, 0, sizeof(VPU_FRAME)); in Rkvpu_Post_OutputFrame() 596 pOutput.data = (unsigned char *)pframe; in Rkvpu_Post_OutputFrame() 607 if (dec_ret == VPU_API_EOS_STREAM_REACHED && !pframe->ErrorInfo) { in Rkvpu_Post_OutputFrame() 630 … if (pframe->DisplayWidth > 8192 || pframe->DisplayHeight > 4096) { // 8192:width, 4096:height in Rkvpu_Post_OutputFrame() 634 if (pframe->vpumem.phy_addr > 0) { in Rkvpu_Post_OutputFrame() 635 VPUMemLink(&pframe->vpumem); in Rkvpu_Post_OutputFrame() 636 VPUFreeLinear(&pframe->vpumem); in Rkvpu_Post_OutputFrame() 644 fullRange = pframe->ColorRange; in Rkvpu_Post_OutputFrame() 645 primaries = pframe->ColorPrimaries; in Rkvpu_Post_OutputFrame() [all …]
|
D | Rkvpu_OMX_VdecControl.c | 781 OMX_BUFFERHEADERTYPE *pOutputBuffer, VPU_FRAME *pframe) in Rkvpu_Frame2Outbuf() argument 814 VPUMemLink(&pframe->vpumem); in Rkvpu_Frame2Outbuf() 815 VPUMemInvalidate(&pframe->vpumem); in Rkvpu_Frame2Outbuf() 821 src.fd = pframe->vpumem.phy_addr; in Rkvpu_Frame2Outbuf() 822 src.wstride = pframe->FrameWidth; in Rkvpu_Frame2Outbuf() 823 src.hstride = pframe->FrameHeight; in Rkvpu_Frame2Outbuf() 824 src.width = pframe->DisplayWidth; in Rkvpu_Frame2Outbuf() 825 src.height = pframe->DisplayHeight; in Rkvpu_Frame2Outbuf() 846 VPUFreeLinear(&pframe->vpumem); in Rkvpu_Frame2Outbuf() 879 VPUMemLink(&pframe->vpumem); in Rkvpu_Frame2Outbuf() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/ |
D | wifi.h | 307 #define get_tofr_ds(pframe) ((GetFrDs(pframe) << 1) | GetToDs(pframe)) argument 466 __inline static unsigned char *get_ra(unsigned char *pframe) in get_ra() argument 469 ra = GetAddr1Ptr(pframe); in get_ra() 472 __inline static unsigned char *get_ta(unsigned char *pframe) in get_ta() argument 475 ta = get_addr2_ptr(pframe); in get_ta() 480 __inline static unsigned char *get_da(unsigned char *pframe) in get_da() argument 483 unsigned int to_fr_ds = (GetFrDs(pframe) << 1) | GetToDs(pframe); in get_da() 487 da = GetAddr1Ptr(pframe); in get_da() 490 da = GetAddr3Ptr(pframe); in get_da() 493 da = GetAddr1Ptr(pframe); in get_da() [all …]
|
D | rtw_mbo.h | 68 _adapter *padapter, u8 **pframe, struct pkt_attrib *pattrib); 74 _adapter *padapter, u8 **pframe, struct pkt_attrib *pattrib); 77 _adapter *padapter, u8 **pframe, struct pkt_attrib *pattrib); 80 _adapter *padapter, u8 **pframe, struct pkt_attrib *pattrib, u8 *pres); 85 _adapter *padapter, u8 **pframe, struct pkt_attrib *pattrib); 105 _adapter *padapter, u8 **pframe, struct pkt_attrib *pattrib); 108 _adapter *padapter, u8 **pframe, struct pkt_attrib *pattrib); 111 _adapter *padapter, u8 **pframe, struct pkt_attrib *pattrib);
|
D | rtw_tdls.h | 108 int check_ap_tdls_prohibited(u8 *pframe, u8 pkt_len); 109 int check_ap_tdls_ch_switching_prohibited(u8 *pframe, u8 pkt_len); 166 void rtw_build_tdls_ch_switch_req_ies(_adapter *padapter, struct xmit_frame *pxmitframe, u8 *pframe… 167 void rtw_build_tdls_ch_switch_rsp_ies(_adapter *padapter, struct xmit_frame *pxmitframe, u8 *pframe… 169 void rtw_build_tdls_setup_req_ies(_adapter *padapter, struct xmit_frame *pxmitframe, u8 *pframe, st… 170 void rtw_build_tdls_setup_rsp_ies(_adapter *padapter, struct xmit_frame *pxmitframe, u8 *pframe, st… 171 void rtw_build_tdls_setup_cfm_ies(_adapter *padapter, struct xmit_frame *pxmitframe, u8 *pframe, st… 172 void rtw_build_tdls_teardown_ies(_adapter *padapter, struct xmit_frame *pxmitframe, u8 *pframe, str… 173 void rtw_build_tdls_dis_req_ies(_adapter *padapter, struct xmit_frame *pxmitframe, u8 *pframe, stru… 174 void rtw_build_tdls_dis_rsp_ies(_adapter *padapter, struct xmit_frame *pxmitframe, u8 *pframe, stru… [all …]
|
D | rtw_p2p.h | 52 u32 process_probe_req_p2p_ie(struct wifidirect_info *pwdinfo, u8 *pframe, uint len); 53 u32 process_assoc_req_p2p_ie(struct wifidirect_info *pwdinfo, u8 *pframe, uint len, struct sta_info… 54 u32 process_p2p_devdisc_req(struct wifidirect_info *pwdinfo, u8 *pframe, uint len); 55 u32 process_p2p_devdisc_resp(struct wifidirect_info *pwdinfo, u8 *pframe, uint len); 56 u8 process_p2p_provdisc_req(struct wifidirect_info *pwdinfo, u8 *pframe, uint len); 57 u8 process_p2p_provdisc_resp(struct wifidirect_info *pwdinfo, u8 *pframe); 58 u8 process_p2p_group_negotation_req(struct wifidirect_info *pwdinfo, u8 *pframe, uint len); 59 u8 process_p2p_group_negotation_resp(struct wifidirect_info *pwdinfo, u8 *pframe, uint len); 60 u8 process_p2p_group_negotation_confirm(struct wifidirect_info *pwdinfo, u8 *pframe, uint len); 61 u8 process_p2p_presence_req(struct wifidirect_info *pwdinfo, u8 *pframe, uint len);
|
D | rtw_ft.h | 159 struct pkt_attrib *pattrib, u8 **pframe); 162 struct pkt_attrib *pattrib, u8 **pframe); 165 u8 is_reassoc, struct pkt_attrib *pattrib, u8 **pframe); 167 u8 rtw_ft_update_auth_rsp_ies(_adapter *padapter, u8 *pframe, u32 len);
|
D | rtw_wnm.h | 179 void rtw_wnm_process_btm_req(_adapter *padapter, u8* pframe, u32 frame_len); 186 _adapter *padapter, u8* pframe, u32 frame_len); 189 u8* pframe, u32 frame_len, struct btm_rsp_hdr *prsp); 207 u8* pframe, u32 elem_len, u8 is_preference);
|
D | rtw_rson.h | 53 u32 rtw_rson_append_ie(_adapter *padapter, unsigned char *pframe, u32 *len); 58 u8 rtw_rson_ap_check_sta(_adapter *padapter, u8 *pframe, uint pkt_len, unsigned short ie_offset);
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/rtl8822c/sdio/ |
D | rtl8822cs_xmit.c | 268 struct xmit_frame *pframe; in xmit_xmitframes() local 270 pframe = (struct xmit_frame *)pxmitbuf->priv_data; in xmit_xmitframes() 271 pframe->agg_num = k; in xmit_xmitframes() 273 rtl8822c_update_txdesc(pframe, pframe->buf_addr); in xmit_xmitframes() 274 rtw_free_xmitframe(pxmitpriv, pframe); in xmit_xmitframes() 357 struct xmit_frame *pframe; in xmit_xmitframes() 361 pframe = (struct xmit_frame *)pxmitbuf->priv_data; in xmit_xmitframes() 362 pframe->agg_num = k; in xmit_xmitframes() 364 rtl8822c_update_txdesc(pframe, pframe->buf_addr); in xmit_xmitframes() 365 rtw_free_xmitframe(pxmitpriv, pframe); in xmit_xmitframes() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/ |
D | hal_com.c | 6553 static void rtw_hal_construct_P2PBeacon(_adapter *padapter, u8 *pframe, u32 *pLength) in rtw_hal_construct_P2PBeacon() argument 6577 u8 *dbgbuf = pframe; in rtw_hal_construct_P2PBeacon() 6585 pwlanhdr = (struct rtw_ieee80211_hdr *)pframe; in rtw_hal_construct_P2PBeacon() 6597 set_frame_sub_type(pframe, WIFI_BEACON); in rtw_hal_construct_P2PBeacon() 6599 pframe += sizeof(struct rtw_ieee80211_hdr_3addr); in rtw_hal_construct_P2PBeacon() 6623 _rtw_memcpy(pframe, cur_network->IEs, wps_offset); in rtw_hal_construct_P2PBeacon() 6624 pframe += wps_offset; in rtw_hal_construct_P2PBeacon() 6627 _rtw_memcpy(pframe, pmlmepriv->wps_beacon_ie, pmlmepriv->wps_beacon_ie_len); in rtw_hal_construct_P2PBeacon() 6628 pframe += pmlmepriv->wps_beacon_ie_len; in rtw_hal_construct_P2PBeacon() 6632 _rtw_memcpy(pframe, premainder_ie, remainder_ielen); in rtw_hal_construct_P2PBeacon() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/txbf/ |
D | haltxbfinterface.c | 986 u8 *pframe = precv_frame->u.hdr.rx_data; local 992 TA = get_addr2_ptr(pframe); 1019 u8 *pframe; local 1049 pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; 1051 pwlanhdr = (struct rtw_ieee80211_hdr *)pframe; 1056 set_order_bit(pframe); 1057 set_frame_sub_type(pframe, WIFI_ACTION_NOACK); 1075 set_duration(pframe, duration); 1078 SET_HT_CTRL_CSI_STEERING(pframe + 24, 3); 1079 SET_HT_CTRL_NDP_ANNOUNCEMENT(pframe + 24, 1); [all …]
|
/device/soc/rockchip/rk3568/hardware/omx_il/osal/ |
D | Rockchip_OSAL_OHOS.cpp | 508 VPU_FRAME *pframe = (VPU_FRAME *)pVpuframe; in Get_Video_HorAlign() local 509 VPUMemLink(&pframe->vpumem); in Get_Video_HorAlign() 510 VPUFreeLinear(&pframe->vpumem); in Get_Video_HorAlign() 511 Rockchip_OSAL_Free(pframe); in Get_Video_HorAlign() 637 VPU_FRAME *pframe = (VPU_FRAME *)pVpuframe; in Get_Video_HorAlign() local 639 …if ((pVideoDec->codecId == (OMX_VIDEO_CODINGTYPE)CODEC_OMX_VIDEO_CodingHEVC && (pframe->OutputWidt… in Get_Video_HorAlign() 640 || (pframe->ColorType & VPU_OUTPUT_FORMAT_BIT_MASK) == VPU_OUTPUT_FORMAT_BIT_10) { // 10bit in Get_Video_HorAlign() 644 if ((pframe->ColorType & 0xf) == VPU_OUTPUT_FORMAT_YUV422) { in Get_Video_HorAlign() 658 if ((pframe->ColorType & OMX_COLORSPACE_MASK) != 0) { in Get_Video_HorAlign() 660 … (OMX_RK_EXT_COLORSPACE)((pframe->ColorType & OMX_COLORSPACE_MASK) >> 20); // 20:byte alignment in Get_Video_HorAlign() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/ |
D | xmit_linux.c | 495 unsigned char *pframe; in rtw_alibaba_mesh_xmit_entry() local 510 pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in rtw_alibaba_mesh_xmit_entry() 511 pwlanhdr = (struct rtw_ieee80211_hdr *)pframe; in rtw_alibaba_mesh_xmit_entry() 514 _rtw_pktfile_read(&pktfile, pframe, len); in rtw_alibaba_mesh_xmit_entry() 516 pattrib->type = pframe[0] & 0x0C; in rtw_alibaba_mesh_xmit_entry() 517 pattrib->subtype = pframe[0] & 0xF0; in rtw_alibaba_mesh_xmit_entry()
|