Home
last modified time | relevance | path

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

/hardware/google/av/media/codecs/amr_nb_wb/
DC2SoftAmrNbEnc.cpp229 C2WriteView wView = outputBlock->map().get(); in process() local
230 if (wView.error()) { in process()
231 ALOGE("write view map failed %d", wView.error()); in process()
258 wView.data() + outPos, &frameType, in process()
268 wView.data()[outPos] = ((wView.data()[outPos] << 3) | 4) & 0x7c; in process()
DC2SoftAmrWbEnc.cpp312 C2WriteView wView = outputBlock->map().get(); in process() local
313 if (wView.error()) { in process()
314 ALOGE("write view map failed %d", wView.error()); in process()
315 work->result = wView.error(); in process()
338 int numEncBytes = encodeInput((wView.data() + outPos), outCapacity - outPos); in process()
DC2SoftAmrDec.cpp310 C2WriteView wView = block->map().get(); in process() local
311 if (wView.error()) { in process()
312 ALOGE("write view map failed %d", wView.error()); in process()
313 work->result = wView.error(); in process()
317 int16_t *output = reinterpret_cast<int16_t *>(wView.data()); in process()
/hardware/google/av/media/codecs/gsm/
DC2SoftGsmDec.cpp223 C2WriteView wView = block->map().get(); in process() local
224 if (wView.error()) { in process()
225 ALOGE("write view map failed %d", wView.error()); in process()
226 work->result = wView.error(); in process()
230 int16_t *output = reinterpret_cast<int16_t *>(wView.data()); in process()
/hardware/google/av/media/codecs/g711/
DC2SoftG711Dec.cpp192 C2WriteView wView = block->map().get(); in process() local
193 if (wView.error()) { in process()
194 ALOGE("write view map failed %d", wView.error()); in process()
198 int16_t *outputptr = reinterpret_cast<int16_t *>(wView.data()); in process()
/hardware/google/av/media/codecs/aac/
DC2SoftAacEnc.cpp362 std::unique_ptr<C2WriteView> wView; in process() local
441 wView.reset(new C2WriteView(block->map().get())); in process()
442 outPtr = wView->data(); in process()
443 outAvailable = wView->size(); in process()
507 wView.reset(new C2WriteView(block->map().get())); in process()
508 outPtr = wView->data(); in process()
509 outAvailable = wView->size(); in process()
DC2SoftAacDec.cpp491 C2WriteView wView = block->map().get(); in drainRingBuffer() local
493 INT_PCM *outBuffer = reinterpret_cast<INT_PCM *>(wView.data()); in drainRingBuffer()
/hardware/google/av/media/codecs/mp3/
DC2SoftMp3Dec.cpp393 C2WriteView wView = block->map().get(); in process() local
394 if (wView.error()) { in process()
395 ALOGE("write view map failed %d", wView.error()); in process()
396 work->result = wView.error(); in process()
416 mConfig->pOutputBuffer = reinterpret_cast<int16_t *> (wView.data() + outSize); in process()
483 if (!memset(reinterpret_cast<int16_t*>(wView.data() + outSize), 0, in process()
/hardware/google/av/media/codecs/flac/
DC2SoftFlacEnc.cpp241 C2WriteView wView = mOutputBlock->map().get(); in process() local
242 if (wView.error()) { in process()
243 ALOGE("write view map failed %d", wView.error()); in process()
320 C2WriteView wView = mOutputBlock->map().get(); in onEncodedFlacAvailable() local
321 uint8_t* outData = wView.data(); in onEncodedFlacAvailable()
DC2SoftFlacDec.cpp280 C2WriteView wView = block->map().get(); in process() local
281 if (wView.error()) { in process()
282 ALOGE("write view map failed %d", wView.error()); in process()
287 short *output = reinterpret_cast<short *>(wView.data()); in process()
/hardware/google/av/media/codecs/vorbis/
DC2SoftVorbisDec.cpp398 C2WriteView wView = block->map().get(); in process() local
399 if (wView.error()) { in process()
400 ALOGE("write view map failed %d", wView.error()); in process()
401 work->result = wView.error(); in process()
414 mState, reinterpret_cast<int16_t *> (wView.data()), in process()
/hardware/google/av/media/codecs/hevc/
DC2SoftHevcDec.cpp776 C2GraphicView wView = mOutBlock->map().get(); in process() local
777 if (wView.error()) { in process()
778 ALOGE("graphic view map failed %d", wView.error()); in process()
779 work->result = wView.error(); in process()
784 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView, in process()
901 C2GraphicView wView = mOutBlock->map().get(); in drainInternal() local
902 if (wView.error()) { in drainInternal()
903 ALOGE("graphic view map failed %d", wView.error()); in drainInternal()
908 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, nullptr, &wView, 0, 0, 0)) { in drainInternal()
/hardware/google/av/media/codecs/avc/
DC2SoftAvcDec.cpp780 C2GraphicView wView = mOutBlock->map().get(); in process() local
781 if (wView.error()) { in process()
782 ALOGE("graphic view map failed %d", wView.error()); in process()
783 work->result = wView.error(); in process()
786 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView, in process()
903 C2GraphicView wView = mOutBlock->map().get(); in drainInternal() local
904 if (wView.error()) { in drainInternal()
905 ALOGE("graphic view map failed %d", wView.error()); in drainInternal()
910 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, nullptr, &wView, 0, 0, 0)) { in drainInternal()
DC2SoftAvcEnc.cpp1415 C2WriteView wView = block->map().get(); in process() local
1416 if (wView.error() != C2_OK) { in process()
1417 ALOGE("write view map err = %d", wView.error()); in process()
1418 work->result = wView.error(); in process()
1423 &s_encode_ip, &s_encode_op, view.get(), wView.base(), wView.capacity(), timestamp); in process()
/hardware/google/av/media/codecs/opus/
DC2SoftOpusDec.cpp447 C2WriteView wView = block->map().get(); in process() local
448 if (wView.error()) { in process()
449 ALOGE("write view map failed %d", wView.error()); in process()
457 reinterpret_cast<int16_t *> (wView.data()), in process()
/hardware/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Enc.cpp428 C2WriteView wView = block->map().get(); in process() local
429 if (wView.error()) { in process()
430 ALOGE("write view map failed %d", wView.error()); in process()
431 work->result = wView.error(); in process()
435 uint8_t *outPtr = (uint8_t *)wView.data(); in process()
DC2SoftMpeg4Dec.cpp600 C2GraphicView wView = mOutBlock->map().get(); in process() local
601 if (wView.error()) { in process()
602 ALOGE("graphic view map failed %d", wView.error()); in process()
671 uint8_t *outputBufferY = wView.data()[C2PlanarLayout::PLANE_Y]; in process()
673 wView.width(), align(mWidth, 16), mWidth, mHeight); in process()
/hardware/google/av/media/codecs/mpeg2/
DC2SoftMpeg2Dec.cpp858 C2GraphicView wView = mOutBlock->map().get(); in process() local
859 if (wView.error()) { in process()
860 ALOGE("graphic view map failed %d", wView.error()); in process()
867 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView, in process()
994 C2GraphicView wView = mOutBlock->map().get(); in drainInternal() local
995 if (wView.error()) { in drainInternal()
996 ALOGE("graphic view map failed %d", wView.error()); in drainInternal()
1001 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, nullptr, &wView, 0, 0, 0)) { in drainInternal()
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxEnc.cpp616 C2WriteView wView = block->map().get(); in process() local
617 if (wView.error()) { in process()
618 ALOGE("write view map failed %d", wView.error()); in process()
623 memcpy(wView.data(), encoded_packet->data.frame.buf, encoded_packet->data.frame.sz); in process()
DC2SoftVpxDec.cpp599 C2GraphicView wView = block->map().get(); in outputBuffer() local
600 if (wView.error()) { in outputBuffer()
601 ALOGE("graphic view map failed %d", wView.error()); in outputBuffer()
609 uint8_t *dst = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer()
/hardware/google/av/media/codecs/xaac/
DC2SoftXaacDec.cpp368 C2WriteView wView = block->map().get(); in finishWork() local
369 int16_t* outBuffer = reinterpret_cast<int16_t*>(wView.data()); in finishWork()