Searched refs:mDTVCCPacket (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2CCDecoder.cpp | 124 mDTVCCPacket(new ABuffer(kMaxBandwithSizeBytes)) { in CCDecoder() 125 mDTVCCPacket->setRange(0, 0); in CCDecoder() 382 if (mDTVCCPacket->size() > 0) { in parseMPEGCCData() 384 timeUs, mDTVCCPacket->data(), mDTVCCPacket->size()); in parseMPEGCCData() 385 mDTVCCPacket->setRange(0, 0); in parseMPEGCCData() 387 if (mDTVCCPacket->size() + 2 > mDTVCCPacket->capacity()) { in parseMPEGCCData() 390 memcpy(mDTVCCPacket->data() + mDTVCCPacket->size(), br.data(), 2); in parseMPEGCCData() 391 mDTVCCPacket->setRange(0, mDTVCCPacket->size() + 2); in parseMPEGCCData() 393 } else if (mDTVCCPacket->size() > 0 && cc_type == 2) { in parseMPEGCCData() 394 if (mDTVCCPacket->size() + 2 > mDTVCCPacket->capacity()) { in parseMPEGCCData() [all …]
|
D | NuPlayer2CCDecoder.h | 76 sp<ABuffer> mDTVCCPacket; member
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerCCDecoder.cpp | 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() [all …]
|
D | NuPlayerCCDecoder.h | 76 sp<ABuffer> mDTVCCPacket; member
|