Searched refs:packet_size (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/mtp/ |
D | MtpFfsCompatHandle.cpp | 165 int packet_size = getPacketSize(mBulkOut); in receiveFile() local 238 if (ret % packet_size == 0 || zero_packet) { in receiveFile() 239 if (TEMP_FAILURE_RETRY(::read(mBulkOut, data, packet_size)) != 0) { in receiveFile() 251 int packet_size = getPacketSize(mBulkIn); in sendFile() local 256 static_cast<uint64_t>(packet_size - sizeof(mtp_data_header)), file_length); in sendFile() 330 if (ret % packet_size == 0) { in sendFile()
|
D | MtpFfsHandle.cpp | 151 int packet_size = getPacketSize(read ? mBulkOut : mBulkIn); in doAsync() local 152 if (len % packet_size == 0 && zero_packet) { in doAsync() 456 int packet_size = getPacketSize(mBulkOut); in receiveFile() local 547 if ((ret % packet_size == 0 && !short_packet) || zero_packet) { in receiveFile() 550 if (read(mIobuf[0].bufs.data(), packet_size) != 0) { in receiveFile() 562 int packet_size = getPacketSize(mBulkIn); in sendFile() local 567 static_cast<uint64_t>(packet_size - sizeof(mtp_data_header)), file_length); in sendFile() 650 if (ret % packet_size == 0) { in sendFile()
|
/frameworks/av/media/libstagefright/ |
D | OggWriter.cpp | 120 size_t packet_size = 0; in addSource() local 122 if (!source->getFormat()->findData(kKeyOpusHeader, &type, &header_data, &packet_size)) { in addSource() 124 } else if (header_data && packet_size) { in addSource() 125 writeOggHeaderPackets((unsigned char *)header_data, packet_size); in addSource()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | datapart_encode.cpp | 50 Int num_bits, packet_size = encParams->ResyncPacketsize; in EncodeFrameDataPartMode() local 149 if (num_bits > packet_size) in EncodeFrameDataPartMode() 229 … Int packet_size = encParams->ResyncPacketsize - 1 - (currVop->predictionType == I_VOP ? 19 : 17); in EncodeSliceDataPartMode() local 377 if (num_bits > packet_size && mbnum != firstMB) /* encoding at least one more MB*/ in EncodeSliceDataPartMode()
|
D | combined_encode.cpp | 51 Int num_bits, packet_size = encParams->ResyncPacketsize; in EncodeFrameCombinedMode() local 178 if (num_bits > packet_size) in EncodeFrameCombinedMode() 282 Int packet_size = encParams->ResyncPacketsize - 1; in EncodeSliceCombinedMode() local 466 if (num_bits > packet_size && mbnum != firstMB) in EncodeSliceCombinedMode()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerCCDecoder.cpp | 465 size_t packet_size = br.getBits(6); in parseDTVCCPacket() local 466 if (packet_size == 0) packet_size = 64; in parseDTVCCPacket() 467 packet_size *= 2; in parseDTVCCPacket() 469 if (size != packet_size) { in parseDTVCCPacket()
|