Home
last modified time | relevance | path

Searched refs:rView (Results 1 – 20 of 20) sorted by relevance

/frameworks/av/media/codec2/components/gsm/
DC2SoftGsmDec.cpp182 C2ReadView rView = mDummyReadView; in process() local
186 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
187 inSize = rView.capacity(); in process()
188 if (inSize && rView.error()) { in process()
189 ALOGE("read view map failed %d", rView.error()); in process()
190 work->result = rView.error(); in process()
225 uint8_t *input = const_cast<uint8_t *>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/g711/
DC2SoftG711Dec.cpp147 C2ReadView rView = mDummyReadView; in process() local
151 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
152 inSize = rView.capacity(); in process()
153 if (inSize && rView.error()) { in process()
154 ALOGE("read view map failed %d", rView.error()); in process()
176 uint8_t *inputptr = const_cast<uint8_t *>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrDec.cpp252 C2ReadView rView = mDummyReadView; in process() local
256 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
257 inSize = rView.capacity(); in process()
258 if (inSize && rView.error()) { in process()
259 ALOGE("read view map failed %d", rView.error()); in process()
260 work->result = rView.error(); in process()
281 if (OK != calculateNumFrames(rView.data() + inOffset, inSize, &frameSizeList, in process()
313 const uint8_t *inPtr = rView.data() + inOffset; in process()
DC2SoftAmrWbEnc.cpp278 C2ReadView rView = mDummyReadView; in process() local
280 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
281 inSize = rView.capacity(); in process()
282 if (inSize && rView.error()) { in process()
283 ALOGE("read view map failed %d", rView.error()); in process()
284 work->result = rView.error(); in process()
315 const uint8_t *inPtr = rView.data() + inOffset; in process()
DC2SoftAmrNbEnc.cpp197 C2ReadView rView = mDummyReadView; in process() local
199 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
200 inSize = rView.capacity(); in process()
201 if (inSize && rView.error()) { in process()
202 ALOGE("read view map failed %d", rView.error()); in process()
233 const uint8_t *inPtr = rView.data() + inOffset; in process()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp432 std::shared_ptr<const C2GraphicView> rView; in process() local
436 rView = std::make_shared<const C2GraphicView>( in process()
438 if (rView->error() != C2_OK) { in process()
439 ALOGE("graphic view map err = %d", rView->error()); in process()
469 const C2PlanarLayout &layout = rView->layout(); in process()
483 mConversionBuffer.size(), *rView.get()); in process()
489 if (!IsYUV420(*rView)) { in process()
500 mStrideAlign, (uint8_t*)rView->data()[0]); in process()
501 raw_frame.planes[1] = (uint8_t*)rView->data()[1]; in process()
502 raw_frame.planes[2] = (uint8_t*)rView->data()[2]; in process()
[all …]
DC2SoftVpxDec.cpp563 C2ReadView rView = mDummyReadView; in process() local
565 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
566 inSize = rView.capacity(); in process()
567 if (inSize && rView.error()) { in process()
568 ALOGE("read view map failed %d", rView.error()); in process()
597 uint8_t *bitstream = const_cast<uint8_t *>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp451 std::shared_ptr<const C2GraphicView> rView; in process() local
456 rView = std::make_shared<const C2GraphicView>( in process()
458 if (rView->error() != C2_OK) { in process()
459 ALOGE("graphic view map err = %d", rView->error()); in process()
460 work->result = rView->error(); in process()
483 const C2PlanarLayout &layout = rView->layout(); in process()
484 uint8_t *yPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_Y]); in process()
485 uint8_t *uPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_U]); in process()
486 uint8_t *vPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_V]); in process()
507 ConvertRGBToPlanarYUV(yPlane, yStride, height, conversionBuffer.size(), *rView.get()); in process()
[all …]
DC2SoftMpeg4Dec.cpp518 C2ReadView rView = mDummyReadView; in process() local
520 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
521 inSize = rView.capacity(); in process()
522 if (inSize && rView.error()) { in process()
523 ALOGE("read view map failed %d", rView.error()); in process()
541 uint8_t *bitstream = const_cast<uint8_t *>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp345 C2ReadView rView = mDummyReadView; in process() local
347 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
348 inSize = rView.capacity(); in process()
349 if (inSize && rView.error()) { in process()
350 ALOGE("read view map failed %d", rView.error()); in process()
351 work->result = rView.error(); in process()
368 if (inSize && OK != calculateOutSize(const_cast<uint8 *>(rView.data()), in process()
404 mConfig->pInputBuffer = const_cast<uint8 *>(rView.data() + inPos); in process()
/frameworks/av/media/codec2/components/vorbis/
DC2SoftVorbisDec.cpp241 C2ReadView rView = mDummyReadView; in process() local
243 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
244 inSize = rView.capacity(); in process()
245 if (inSize && rView.error()) { in process()
246 ALOGE("read view map failed %d", rView.error()); in process()
247 work->result = rView.error(); in process()
263 const uint8_t *data = rView.data() + inOffset; in process()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp190 C2ReadView rView = mDummyReadView; in process() local
194 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
195 inSize = rView.capacity(); in process()
196 if (inSize && rView.error()) { in process()
197 ALOGE("read view map failed %d", rView.error()); in process()
222 uint8_t *input = const_cast<uint8_t *>(rView.data() + inOffset); in process()
DC2SoftFlacEnc.cpp211 C2ReadView rView = mDummyReadView; in process() local
215 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
216 inSize = rView.capacity(); in process()
217 if (inSize && rView.error()) { in process()
218 ALOGE("read view map failed %d", rView.error()); in process()
276 const uint8_t *inPtr = rView.data() + inOffset; in process()
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.cpp225 C2ReadView rView = mDummyReadView; in process() local
227 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
228 inSize = rView.capacity(); in process()
229 if (inSize && rView.error()) { in process()
230 ALOGE("read view map failed %d", rView.error()); in process()
246 const uint8_t *data = rView.data() + inOffset; in process()
DC2SoftOpusEnc.cpp312 C2ReadView rView = mDummyReadView; in process() local
317 rView = in process()
319 inSize = rView.capacity(); in process()
320 if (inSize && rView.error()) { in process()
321 ALOGE("read view map failed %d", rView.error()); in process()
366 const uint8_t* inPtr = rView.data() + inOffset; in process()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp402 C2ReadView rView = mDummyReadView; in process() local
404 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
405 inSize = rView.capacity(); in process()
406 if (inSize && rView.error()) { in process()
407 ALOGE("read view map failed %d", rView.error()); in process()
428 uint8_t *bitstream = const_cast<uint8_t *>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp436 C2ReadView rView = mDummyReadView; in process() local
438 rView = in process()
440 inSize = rView.capacity(); in process()
441 if (inSize && rView.error()) { in process()
442 ALOGE("read view map failed %d", rView.error()); in process()
463 uint8_t* bitstream = const_cast<uint8_t*>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp808 C2ReadView rView = mDummyReadView; in process() local
810 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
811 inSize = rView.capacity(); in process()
812 if (inSize && rView.error()) { in process()
813 ALOGE("read view map failed %d", rView.error()); in process()
814 work->result = rView.error(); in process()
840 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView, in process()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp810 C2ReadView rView = mDummyReadView; in process() local
812 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
813 inSize = rView.capacity(); in process()
814 if (inSize && rView.error()) { in process()
815 ALOGE("read view map failed %d", rView.error()); in process()
816 work->result = rView.error(); in process()
844 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView, in process()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp882 C2ReadView rView = mDummyReadView; in process() local
884 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
885 inSize = rView.capacity(); in process()
886 if (inSize && rView.error()) { in process()
887 ALOGE("read view map failed %d", rView.error()); in process()
915 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView, in process()