Home
last modified time | relevance | path

Searched refs:ccBuf (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2CCDecoder.cpp58 static void dumpBytePair(const sp<ABuffer> &ccBuf) __attribute__ ((unused));
59 static void dumpBytePair(const sp<ABuffer> &ccBuf) { in dumpBytePair() argument
63 while (offset < ccBuf->size()) { in dumpBytePair()
66 CCData *cc = (CCData *) (ccBuf->data() + offset); in dumpBytePair()
540 sp<ABuffer> ccBuf; in display() local
543 ccBuf = mCCMap.valueAt(index); in display()
551 ccBuf = new ABuffer(size); in display()
552 ccBuf->setRange(0, 0); in display()
554 if (ccBuf->capacity() > 0) { in display()
557 memcpy(ccBuf->data() + ccBuf->size(), buf->data(), buf->size()); in display()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerCCDecoder.cpp57 static void dumpBytePair(const sp<ABuffer> &ccBuf) __attribute__ ((unused));
58 static void dumpBytePair(const sp<ABuffer> &ccBuf) { in dumpBytePair() argument
62 while (offset < ccBuf->size()) { in dumpBytePair()
65 CCData *cc = (CCData *) (ccBuf->data() + offset); in dumpBytePair()
551 sp<ABuffer> ccBuf; in display() local
554 ccBuf = mCCMap.valueAt(index); in display()
562 ccBuf = new ABuffer(size); in display()
563 ccBuf->setRange(0, 0); in display()
567 memcpy(ccBuf->data() + ccBuf->size(), buf->data(), buf->size()); in display()
568 ccBuf->setRange(0, ccBuf->size() + buf->size()); in display()
[all …]