/aosp12/frameworks/av/media/codec2/components/amr_nb_wb/ |
H A 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()
|
H A 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()
|
H A 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()
|
/aosp12/frameworks/av/media/codec2/components/gsm/ |
H A 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()
|
/aosp12/frameworks/av/media/codec2/components/opus/ |
H A 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()
|
H A 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()
|
/aosp12/frameworks/av/media/codec2/components/g711/ |
H A 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()
|
/aosp12/frameworks/av/media/codec2/components/mp3/ |
H A D | C2SoftMp3Dec.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() 390 work->result = wView.error(); in process() 410 mConfig->pOutputBuffer = reinterpret_cast<int16_t *> (wView.data() + outSize); in process() 477 if (!memset(reinterpret_cast<int16_t*>(wView.data() + outSize), 0, in process()
|
/aosp12/frameworks/av/media/codec2/components/aac/ |
H A 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()
|
H A D | C2SoftAacDec.cpp | 522 C2WriteView wView = block->map().get(); in drainRingBuffer() local 524 INT_PCM *outBuffer = reinterpret_cast<INT_PCM *>(wView.data()); in drainRingBuffer()
|
/aosp12/frameworks/av/media/codec2/components/vorbis/ |
H A 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()
|
/aosp12/frameworks/av/media/codec2/components/mpeg4_h263/ |
H A D | C2SoftMpeg4Dec.cpp | 586 C2GraphicView wView = mOutBlock->map().get(); in process() local 587 if (wView.error()) { in process() 588 ALOGE("graphic view map failed %d", wView.error()); in process() 657 uint8_t *outputBufferY = wView.data()[C2PlanarLayout::PLANE_Y]; in process() 658 uint8_t *outputBufferU = wView.data()[C2PlanarLayout::PLANE_U]; in process() 659 uint8_t *outputBufferV = wView.data()[C2PlanarLayout::PLANE_V]; in process() 661 C2PlanarLayout layout = wView.layout(); in process()
|
H A 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()
|
/aosp12/frameworks/av/media/codec2/components/flac/ |
H A 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()
|
H A D | C2SoftFlacEnc.cpp | 350 C2WriteView wView = mOutputBlock->map().get(); in onEncodedFlacAvailable() local 351 uint8_t* outData = wView.data(); in onEncodedFlacAvailable()
|
/aosp12/frameworks/av/media/codec2/components/avc/ |
H A D | C2SoftAvcDec.cpp | 850 C2GraphicView wView = mOutBlock->map().get(); in process() local 851 if (wView.error()) { in process() 852 ALOGE("graphic view map failed %d", wView.error()); in process() 853 work->result = wView.error(); in process() 856 if (!setDecodeArgs(ps_decode_ip, ps_decode_op, &rView, &wView, in process() 993 C2GraphicView wView = mOutBlock->map().get(); in drainInternal() local 994 if (wView.error()) { in drainInternal() 995 ALOGE("graphic view map failed %d", wView.error()); in drainInternal() 1002 if (!setDecodeArgs(ps_decode_ip, ps_decode_op, nullptr, &wView, 0, 0, 0)) { in drainInternal()
|
H A D | C2SoftAvcEnc.cpp | 1798 C2WriteView wView = mOutBlock->map().get(); in process() local 1799 if (wView.error() != C2_OK) { in process() 1800 ALOGE("write view map err = %d", wView.error()); in process() 1801 work->result = wView.error(); in process() 1807 ps_encode_ip, ps_encode_op, view.get(), wView.base(), wView.capacity(), workIndex); in process() 1911 C2WriteView wView = mOutBlock->map().get(); in drainInternal() local 1912 if (wView.error()) { in drainInternal() 1913 ALOGE("graphic view map failed %d", wView.error()); in drainInternal() 1921 wView.base(), wView.capacity(), 0)) { in drainInternal()
|
/aosp12/frameworks/av/media/codec2/components/hevc/ |
H A D | C2SoftHevcDec.cpp | 837 C2GraphicView wView = mOutBlock->map().get(); in process() local 838 if (wView.error()) { in process() 839 ALOGE("graphic view map failed %d", wView.error()); in process() 840 work->result = wView.error(); in process() 847 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()
|
H A D | C2SoftHevcEnc.cpp | 912 C2WriteView wView = block->map().get(); in finishWork() local 913 if (C2_OK != wView.error()) { in finishWork() 914 ALOGE("write view map failed with status 0x%x", wView.error()); in finishWork() 916 work->result = wView.error(); in finishWork() 920 memcpy(wView.data(), ps_encode_op->pu1_output_buf, in finishWork()
|
/aosp12/frameworks/av/media/codec2/components/aom/ |
H A D | C2SoftAomDec.cpp | 681 C2GraphicView wView = block->map().get(); in outputBuffer() local 683 if (wView.error()) { in outputBuffer() 684 ALOGE("graphic view map failed %d", wView.error()); in outputBuffer() 693 uint8_t* dstY = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer() 694 uint8_t* dstU = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer() 695 uint8_t* dstV = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_V]); in outputBuffer() 699 C2PlanarLayout layout = wView.layout(); in outputBuffer()
|
/aosp12/frameworks/av/media/codec2/components/gav1/ |
H A D | C2SoftGav1Dec.cpp | 696 C2GraphicView wView = block->map().get(); in outputBuffer() local 698 if (wView.error()) { in outputBuffer() 699 ALOGE("graphic view map failed %d", wView.error()); in outputBuffer() 707 uint8_t *dstY = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer() 708 uint8_t *dstU = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer() 709 uint8_t *dstV = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_V]); in outputBuffer() 714 C2PlanarLayout layout = wView.layout(); in outputBuffer()
|
/aosp12/frameworks/av/media/codec2/components/vpx/ |
H A D | C2SoftVpxDec.cpp | 810 C2GraphicView wView = block->map().get(); in outputBuffer() local 811 if (wView.error()) { in outputBuffer() 812 ALOGE("graphic view map failed %d", wView.error()); in outputBuffer() 821 uint8_t *dstY = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer() 822 uint8_t *dstU = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer() 823 uint8_t *dstV = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_V]); in outputBuffer() 828 C2PlanarLayout layout = wView.layout(); in outputBuffer()
|
H A D | C2SoftVpxEnc.cpp | 621 C2WriteView wView = block->map().get(); in process() local 622 if (wView.error()) { in process() 623 ALOGE("write view map failed %d", wView.error()); in process() 628 memcpy(wView.data(), encoded_packet->data.frame.buf, encoded_packet->data.frame.sz); in process()
|
/aosp12/frameworks/av/media/codec2/components/mpeg2/ |
H A D | C2SoftMpeg2Dec.cpp | 914 C2GraphicView wView = mOutBlock->map().get(); in process() local 915 if (wView.error()) { in process() 916 ALOGE("graphic view map failed %d", wView.error()); in process() 923 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView, in process() 1050 C2GraphicView wView = mOutBlock->map().get(); in drainInternal() local 1051 if (wView.error()) { in drainInternal() 1052 ALOGE("graphic view map failed %d", wView.error()); in drainInternal() 1057 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, nullptr, &wView, 0, 0, 0)) { in drainInternal()
|
/aosp12/frameworks/av/media/codec2/components/xaac/ |
H A D | C2SoftXaacDec.cpp | 361 C2WriteView wView = block->map().get(); in finishWork() local 362 int16_t* outBuffer = reinterpret_cast<int16_t*>(wView.data()); in finishWork()
|