Lines Matching refs:ccBuf
57 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()
515 sp<ABuffer> ccBuf; in display() local
518 ccBuf = mCCMap.valueAt(index); in display()
526 ccBuf = new ABuffer(size); in display()
527 ccBuf->setRange(0, 0); in display()
531 memcpy(ccBuf->data() + ccBuf->size(), buf->data(), buf->size()); in display()
532 ccBuf->setRange(0, ccBuf->size() + buf->size()); in display()
536 if (ccBuf->size() > 0) { in display()
538 dumpBytePair(ccBuf); in display()
541 ccBuf->meta()->setInt32("trackIndex", mSelectedTrack); in display()
542 ccBuf->meta()->setInt64("timeUs", timeUs); in display()
543 ccBuf->meta()->setInt64("durationUs", 0ll); in display()
547 msg->setBuffer("buffer", ccBuf); in display()