/frameworks/av/media/codec2/components/amr_nb_wb/ |
D | C2SoftAmrDec.cpp | 304 C2WriteView wView = block->map().get(); in process() local 305 if (wView.error()) { in process() 306 ALOGE("write view map failed %d", wView.error()); in process() 307 work->result = wView.error(); in process() 311 int16_t *output = reinterpret_cast<int16_t *>(wView.data()); in process() 366 ALOGD_IF(calOutSize != ((intptr_t)output - (intptr_t)wView.data()), in process() 368 calOutSize, (long long)((intptr_t)output - (intptr_t)wView.data())); in process()
|
D | C2SoftAmrNbEnc.cpp | 222 C2WriteView wView = outputBlock->map().get(); in process() local 223 if (wView.error()) { in process() 224 ALOGE("write view map failed %d", wView.error()); in process() 251 wView.data() + outPos, &frameType, in process() 261 wView.data()[outPos] = ((wView.data()[outPos] << 3) | 4) & 0x7c; in process()
|
D | C2SoftAmrWbEnc.cpp | 304 C2WriteView wView = outputBlock->map().get(); in process() local 305 if (wView.error()) { in process() 306 ALOGE("write view map failed %d", wView.error()); in process() 307 work->result = wView.error(); in process() 330 int numEncBytes = encodeInput((wView.data() + outPos), outCapacity - outPos); in process()
|
/frameworks/av/media/codec2/components/gsm/ |
D | C2SoftGsmDec.cpp | 217 C2WriteView wView = block->map().get(); in process() local 218 if (wView.error()) { in process() 219 ALOGE("write view map failed %d", wView.error()); in process() 220 work->result = wView.error(); in process() 224 int16_t *output = reinterpret_cast<int16_t *>(wView.data()); in process()
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.cpp | 378 C2WriteView wView = mOutputBlock->map().get(); in process() local 379 if (wView.error()) { in process() 380 ALOGE("write view map failed %d", wView.error()); in process() 497 uint8_t* outPtr = wView.data() + mBytesEncoded; in process() 573 C2WriteView wView = mOutputBlock->map().get(); in drainInternal() local 574 if (wView.error()) { in drainInternal() 575 ALOGE("write view map failed %d", wView.error()); in drainInternal() 580 int encBytes = drainEncoder(wView.data()); in drainInternal()
|
D | C2SoftOpusDec.cpp | 387 C2WriteView wView = block->map().get(); in process() local 388 if (wView.error()) { in process() 389 ALOGE("write view map failed %d", wView.error()); in process() 397 reinterpret_cast<int16_t *> (wView.data()), in process()
|
/frameworks/av/media/codec2/components/g711/ |
D | C2SoftG711Dec.cpp | 186 C2WriteView wView = block->map().get(); in process() local 187 if (wView.error()) { in process() 188 ALOGE("write view map failed %d", wView.error()); in process() 192 int16_t *outputptr = reinterpret_cast<int16_t *>(wView.data()); in process()
|
/frameworks/av/media/codec2/components/mp3/ |
D | C2SoftMp3Dec.cpp | 394 C2WriteView wView = block->map().get(); in process() local 395 if (wView.error()) { in process() 396 ALOGE("write view map failed %d", wView.error()); in process() 397 work->result = wView.error(); in process() 417 mConfig->pOutputBuffer = reinterpret_cast<int16_t *> (wView.data() + outSize); in process() 484 if (!memset(reinterpret_cast<int16_t*>(wView.data() + outSize), 0, in process()
|
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacEnc.cpp | 414 std::unique_ptr<C2WriteView> wView; in process() local 516 wView.reset(new C2WriteView(block->map().get())); in process() 517 outPtr = wView->data(); in process() 518 outAvailable = wView->size(); in process() 581 wView.reset(new C2WriteView(block->map().get())); in process() 582 outPtr = wView->data(); in process() 583 outAvailable = wView->size(); in process()
|
D | C2SoftAacDec.cpp | 529 C2WriteView wView = block->map().get(); in drainRingBuffer() local 531 INT_PCM *outBuffer = reinterpret_cast<INT_PCM *>(wView.data()); in drainRingBuffer()
|
/frameworks/av/media/codec2/components/vorbis/ |
D | C2SoftVorbisDec.cpp | 396 C2WriteView wView = block->map().get(); in process() local 397 if (wView.error()) { in process() 398 ALOGE("write view map failed %d", wView.error()); in process() 399 work->result = wView.error(); in process() 409 mState, reinterpret_cast<int16_t *> (wView.data()), in process()
|
/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacDec.cpp | 292 C2WriteView wView = block->map().get(); in process() local 293 if (wView.error()) { in process() 294 ALOGE("write view map failed %d", wView.error()); in process() 300 input, inSize, wView.data(), &outSize, outputFloat); in process()
|
D | C2SoftFlacEnc.cpp | 350 C2WriteView wView = mOutputBlock->map().get(); in onEncodedFlacAvailable() local 351 uint8_t* outData = wView.data(); in onEncodedFlacAvailable()
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Dec.cpp | 527 C2GraphicView wView = mOutBlock->map().get(); in process() local 528 if (wView.error()) { in process() 529 ALOGE("graphic view map failed %d", wView.error()); in process() 598 uint8_t *outputBufferY = wView.data()[C2PlanarLayout::PLANE_Y]; in process() 599 uint8_t *outputBufferU = wView.data()[C2PlanarLayout::PLANE_U]; in process() 600 uint8_t *outputBufferV = wView.data()[C2PlanarLayout::PLANE_V]; in process() 602 C2PlanarLayout layout = wView.layout(); in process()
|
D | C2SoftMpeg4Enc.cpp | 418 C2WriteView wView = block->map().get(); in process() local 419 if (wView.error()) { in process() 420 ALOGE("write view map failed %d", wView.error()); in process() 421 work->result = wView.error(); in process() 425 uint8_t *outPtr = (uint8_t *)wView.data(); in process()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 561 C2GraphicView wView = block->map().get(); in outputBuffer() local 563 if (wView.error()) { in outputBuffer() 564 ALOGE("graphic view map failed %d", wView.error()); in outputBuffer() 573 uint8_t* dstY = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer() 574 uint8_t* dstU = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer() 575 uint8_t* dstV = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_V]); in outputBuffer() 579 C2PlanarLayout layout = wView.layout(); in outputBuffer()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcDec.cpp | 849 C2GraphicView wView = mOutBlock->map().get(); in process() local 850 if (wView.error()) { in process() 851 ALOGE("graphic view map failed %d", wView.error()); in process() 852 work->result = wView.error(); in process() 855 if (!setDecodeArgs(ps_decode_ip, ps_decode_op, &rView, &wView, in process() 991 C2GraphicView wView = mOutBlock->map().get(); in drainInternal() local 992 if (wView.error()) { in drainInternal() 993 ALOGE("graphic view map failed %d", wView.error()); in drainInternal() 1000 if (!setDecodeArgs(ps_decode_ip, ps_decode_op, nullptr, &wView, 0, 0, 0)) { in drainInternal()
|
D | C2SoftAvcEnc.cpp | 1797 C2WriteView wView = mOutBlock->map().get(); in process() local 1798 if (wView.error() != C2_OK) { in process() 1799 ALOGE("write view map err = %d", wView.error()); in process() 1800 work->result = wView.error(); in process() 1806 ps_encode_ip, ps_encode_op, view.get(), wView.base(), wView.capacity(), workIndex); in process() 1910 C2WriteView wView = mOutBlock->map().get(); in drainInternal() local 1911 if (wView.error()) { in drainInternal() 1912 ALOGE("graphic view map failed %d", wView.error()); in drainInternal() 1920 wView.base(), wView.capacity(), 0)) { in drainInternal()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcDec.cpp | 838 C2GraphicView wView = mOutBlock->map().get(); in process() local 839 if (wView.error()) { in process() 840 ALOGE("graphic view map failed %d", wView.error()); in process() 841 work->result = wView.error(); in process() 848 if (!setDecodeArgs(ps_decode_ip, ps_decode_op, &rView, &wView, in process() 990 C2GraphicView wView = mOutBlock->map().get(); in drainInternal() local 991 if (wView.error()) { in drainInternal() 992 ALOGE("graphic view map failed %d", wView.error()); in drainInternal() 999 if (!setDecodeArgs(ps_decode_ip, ps_decode_op, nullptr, &wView, 0, 0, 0)) { in drainInternal()
|
D | C2SoftHevcEnc.cpp | 1016 C2WriteView wView = block->map().get(); in finishWork() local 1017 if (C2_OK != wView.error()) { in finishWork() 1018 ALOGE("write view map failed with status 0x%x", wView.error()); in finishWork() 1020 work->result = wView.error(); in finishWork() 1024 memcpy(wView.data(), ps_encode_op->pu1_output_buf, in finishWork()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.cpp | 744 C2GraphicView wView = block->map().get(); in outputBuffer() local 745 if (wView.error()) { in outputBuffer() 746 ALOGE("graphic view map failed %d", wView.error()); in outputBuffer() 755 uint8_t *dstY = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer() 756 uint8_t *dstU = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer() 757 uint8_t *dstV = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_V]); in outputBuffer() 762 C2PlanarLayout layout = wView.layout(); in outputBuffer()
|
D | C2SoftVpxEnc.cpp | 876 C2WriteView wView = block->map().get(); in process() local 877 if (wView.error()) { in process() 878 ALOGE("write view map failed %d", wView.error()); in process() 883 memcpy(wView.data(), encoded_packet->data.frame.buf, encoded_packet->data.frame.sz); in process()
|
/frameworks/av/media/codec2/components/gav1/ |
D | C2SoftGav1Dec.cpp | 702 C2GraphicView wView = block->map().get(); in outputBuffer() local 704 if (wView.error()) { in outputBuffer() 705 ALOGE("graphic view map failed %d", wView.error()); in outputBuffer() 713 uint8_t *dstY = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer() 714 uint8_t *dstU = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer() 715 uint8_t *dstV = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_V]); in outputBuffer() 720 C2PlanarLayout layout = wView.layout(); in outputBuffer()
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 913 C2GraphicView wView = mOutBlock->map().get(); in process() local 914 if (wView.error()) { in process() 915 ALOGE("graphic view map failed %d", wView.error()); in process() 922 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView, in process() 1047 C2GraphicView wView = mOutBlock->map().get(); in drainInternal() local 1048 if (wView.error()) { in drainInternal() 1049 ALOGE("graphic view map failed %d", wView.error()); in drainInternal() 1054 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, nullptr, &wView, 0, 0, 0)) { in drainInternal()
|
/frameworks/av/media/codec2/components/xaac/ |
D | C2SoftXaacDec.cpp | 361 C2WriteView wView = block->map().get(); in finishWork() local 362 int16_t* outBuffer = reinterpret_cast<int16_t*>(wView.data()); in finishWork()
|