Searched refs:mediaBuf (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPWriter.cpp | 268 MediaBufferBase *mediaBuf; in onRead() local 269 status_t err = mSource->read(&mediaBuf); in onRead() 279 if (mediaBuf->range_length() > 0) { in onRead() 280 ALOGV("read buffer of size %zu", mediaBuf->range_length()); in onRead() 283 StripStartcode(mediaBuf); in onRead() 284 sendAVCData(mediaBuf); in onRead() 286 sendH263Data(mediaBuf); in onRead() 288 sendAMRData(mediaBuf); in onRead() 292 mediaBuf->release(); in onRead() 293 mediaBuf = NULL; in onRead() [all …]
|
D | ARTPWriter.h | 117 void sendAVCData(MediaBufferBase *mediaBuf); 118 void sendH263Data(MediaBufferBase *mediaBuf); 119 void sendAMRData(MediaBufferBase *mediaBuf);
|
D | MyTransmitter.h | 631 MediaBuffer *mediaBuf = NULL; in onMessageReceived() local 633 CHECK_EQ(mEncoder->read(&mediaBuf), (status_t)OK); in onMessageReceived() 634 if (mediaBuf->range_length() > 0) { in onMessageReceived() 637 mediaBuf->release(); in onMessageReceived() 638 mediaBuf = NULL; in onMessageReceived() 642 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); in onMessageReceived() 647 (const uint8_t *)mediaBuf->data() + mediaBuf->range_offset(); in onMessageReceived() 651 CHECK_LE(mediaBuf->range_length() - 4 + 12, buffer->size()); in onMessageReceived() 654 mediaData + 4, mediaBuf->range_length() - 4); in onMessageReceived() 656 buffer->setRange(0, mediaBuf->range_length() - 4 + 12); in onMessageReceived() [all …]
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2Decoder.cpp | 1074 MediaBufferBase *mediaBuf = NULL; in onInputBufferFetched() local 1092 mediaBuf = (holder != nullptr) ? in onInputBufferFetched() 1095 if (mediaBuf != NULL) { in onInputBufferFetched() 1096 if (mediaBuf->size() > codecBuffer->capacity()) { in onInputBufferFetched() 1102 codecBuffer->setRange(0, mediaBuf->size()); in onInputBufferFetched() 1103 memcpy(codecBuffer->data(), mediaBuf->data(), mediaBuf->size()); in onInputBufferFetched() 1105 MetaDataBase &meta_data = mediaBuf->meta_data(); in onInputBufferFetched()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoder.cpp | 1056 MediaBufferBase *mediaBuf = NULL; in onInputBufferFetched() local 1074 mediaBuf = (holder != nullptr) ? in onInputBufferFetched() 1077 if (mediaBuf != NULL) { in onInputBufferFetched() 1078 if (mediaBuf->size() > codecBuffer->capacity()) { in onInputBufferFetched() 1084 codecBuffer->setRange(0, mediaBuf->size()); in onInputBufferFetched() 1085 memcpy(codecBuffer->data(), mediaBuf->data(), mediaBuf->size()); in onInputBufferFetched() 1087 MetaDataBase &meta_data = mediaBuf->meta_data(); in onInputBufferFetched()
|