Home
last modified time | relevance | path

Searched refs:wView (Results 1 – 25 of 25) sorted by relevance

/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrDec.cpp304 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()
DC2SoftAmrNbEnc.cpp222 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()
DC2SoftAmrWbEnc.cpp304 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/
DC2SoftGsmDec.cpp217 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/
DC2SoftOpusEnc.cpp378 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()
DC2SoftOpusDec.cpp387 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/
DC2SoftG711Dec.cpp186 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/
DC2SoftMp3Dec.cpp394 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/
DC2SoftAacEnc.cpp414 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()
DC2SoftAacDec.cpp529 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/
DC2SoftVorbisDec.cpp396 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/
DC2SoftFlacDec.cpp292 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()
DC2SoftFlacEnc.cpp350 C2WriteView wView = mOutputBlock->map().get(); in onEncodedFlacAvailable() local
351 uint8_t* outData = wView.data(); in onEncodedFlacAvailable()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp527 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()
DC2SoftMpeg4Enc.cpp418 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/
DC2SoftAomDec.cpp561 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/
DC2SoftAvcDec.cpp849 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()
DC2SoftAvcEnc.cpp1797 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/
DC2SoftHevcDec.cpp838 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()
DC2SoftHevcEnc.cpp1016 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/
DC2SoftVpxDec.cpp744 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()
DC2SoftVpxEnc.cpp876 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/
DC2SoftGav1Dec.cpp702 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/
DC2SoftMpeg2Dec.cpp913 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/
DC2SoftXaacDec.cpp361 C2WriteView wView = block->map().get(); in finishWork() local
362 int16_t* outBuffer = reinterpret_cast<int16_t*>(wView.data()); in finishWork()