Lines Matching refs:mDTVCCPacket
123 mDTVCCPacket(new ABuffer(kMaxBandwithSizeBytes)) { in CCDecoder()
124 mDTVCCPacket->setRange(0, 0); in CCDecoder()
394 if (mDTVCCPacket->size() > 0) { in parseMPEGCCData()
396 timeUs, mDTVCCPacket->data(), mDTVCCPacket->size()); in parseMPEGCCData()
397 mDTVCCPacket->setRange(0, 0); in parseMPEGCCData()
399 memcpy(mDTVCCPacket->data() + mDTVCCPacket->size(), br.data(), 2); in parseMPEGCCData()
400 mDTVCCPacket->setRange(0, mDTVCCPacket->size() + 2); in parseMPEGCCData()
402 } else if (mDTVCCPacket->size() > 0 && cc_type == 2) { in parseMPEGCCData()
403 if (mDTVCCPacket->capacity() - mDTVCCPacket->size() >= 2) { in parseMPEGCCData()
404 memcpy(mDTVCCPacket->data() + mDTVCCPacket->size(), br.data(), 2); in parseMPEGCCData()
405 mDTVCCPacket->setRange(0, mDTVCCPacket->size() + 2); in parseMPEGCCData()
408 mDTVCCPacket->capacity(), mDTVCCPacket->size()); in parseMPEGCCData()
443 if ((cc_type == 3 || cc_type == 2) && mDTVCCPacket->size() > 0) { in parseMPEGCCData()
444 trackAdded |= parseDTVCCPacket(timeUs, mDTVCCPacket->data(), mDTVCCPacket->size()); in parseMPEGCCData()
445 mDTVCCPacket->setRange(0, 0); in parseMPEGCCData()
593 mDTVCCPacket->setRange(0, 0); in flush()