Home
last modified time | relevance | path

Searched refs:packet_size (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/bluetooth/1.0/default/
Dvendor_interface.cc55 size_t packet_size = data.size() + sizeof(HC_BT_HDR); in WrapPacketAndCopy() local
56 HC_BT_HDR* packet = reinterpret_cast<HC_BT_HDR*>(new uint8_t[packet_size]); in WrapPacketAndCopy()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp668 OMX_U32 packet_size = 0; in handle_input_extradata() local
689 packet_size = sizeof(struct msm_vidc_extradata_header) - sizeof(unsigned int) in handle_input_extradata()
692 if (filled_len + packet_size <= input_extradata_info.buffer_size) { in handle_input_extradata()
694 data->nSize = ALIGN(packet_size, 4); in handle_input_extradata()
705 packet_size, input_extradata_info.buffer_size, filled_len); in handle_input_extradata()
812 packet_size = (sizeof(OMX_OTHER_EXTRADATATYPE) + payload_size + 3)&(~3); in handle_input_extradata()
814 …if (m_hdr10meta_enabled && (filled_len + packet_size <= input_extradata_info.buffer_size) && color… in handle_input_extradata()
817 data->nSize = packet_size; in handle_input_extradata()
834 packet_size, (input_extradata_info.buffer_size - filled_len)); in handle_input_extradata()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp672 OMX_U32 packet_size = 0; in handle_input_extradata() local
880 packet_size = (sizeof(OMX_OTHER_EXTRADATATYPE) + payload_size + 3)&(~3); in handle_input_extradata()
882 …if (m_hdr10meta_enabled && (filled_len + packet_size <= input_extradata_info.buffer_size) && color… in handle_input_extradata()
885 data->nSize = packet_size; in handle_input_extradata()
902 packet_size, (input_extradata_info.buffer_size - filled_len)); in handle_input_extradata()