Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/components/gsm/
DC2SoftGsmDec.cpp187 C2ReadView rView = mDummyReadView; in process() local
191 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
192 inSize = rView.capacity(); in process()
193 if (inSize && rView.error()) { in process()
194 ALOGE("read view map failed %d", rView.error()); in process()
195 work->result = rView.error(); in process()
230 uint8_t *input = const_cast<uint8_t *>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/g711/
DC2SoftG711Dec.cpp154 C2ReadView rView = mDummyReadView; in process() local
158 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
159 inSize = rView.capacity(); in process()
160 if (inSize && rView.error()) { in process()
161 ALOGE("read view map failed %d", rView.error()); in process()
183 uint8_t *inputptr = const_cast<uint8_t *>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrDec.cpp258 C2ReadView rView = mDummyReadView; in process() local
262 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
263 inSize = rView.capacity(); in process()
264 if (inSize && rView.error()) { in process()
265 ALOGE("read view map failed %d", rView.error()); in process()
266 work->result = rView.error(); in process()
287 if (OK != calculateNumFrames(rView.data() + inOffset, inSize, &frameSizeList, in process()
319 const uint8_t *inPtr = rView.data() + inOffset; in process()
DC2SoftAmrNbEnc.cpp202 C2ReadView rView = mDummyReadView; in process() local
204 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
205 inSize = rView.capacity(); in process()
206 if (inSize && rView.error()) { in process()
207 ALOGE("read view map failed %d", rView.error()); in process()
238 const uint8_t *inPtr = rView.data() + inOffset; in process()
DC2SoftAmrWbEnc.cpp283 C2ReadView rView = mDummyReadView; in process() local
285 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
286 inSize = rView.capacity(); in process()
287 if (inSize && rView.error()) { in process()
288 ALOGE("read view map failed %d", rView.error()); in process()
289 work->result = rView.error(); in process()
320 const uint8_t *inPtr = rView.data() + inOffset; in process()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp555 std::shared_ptr<C2GraphicView> rView; in process() local
560 rView = std::make_shared<C2GraphicView>( in process()
562 if (rView->error() != C2_OK) { in process()
563 ALOGE("graphic view map err = %d", rView->error()); in process()
564 work->result = rView->error(); in process()
569 rView->setCrop_be(C2Rect(mSize->width, mSize->height)); in process()
590 const C2PlanarLayout &layout = rView->layout(); in process()
591 uint8_t *yPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_Y]); in process()
592 uint8_t *uPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_U]); in process()
593 uint8_t *vPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_V]); in process()
[all …]
DC2SoftMpeg4Dec.cpp448 C2ReadView rView = mDummyReadView; in process() local
450 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
451 inSize = rView.capacity(); in process()
452 if (inSize && rView.error()) { in process()
453 ALOGE("read view map failed %d", rView.error()); in process()
471 uint8_t *bitstream = const_cast<uint8_t *>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp360 C2ReadView rView = mDummyReadView; in process() local
362 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
363 inSize = rView.capacity(); in process()
364 if (inSize && rView.error()) { in process()
365 ALOGE("read view map failed %d", rView.error()); in process()
366 work->result = rView.error(); in process()
383 if (inSize && OK != calculateOutSize(const_cast<uint8 *>(rView.data()), in process()
419 mConfig->pInputBuffer = const_cast<uint8 *>(rView.data() + inPos); in process()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp197 C2ReadView rView = mDummyReadView; in process() local
201 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
202 inSize = rView.capacity(); in process()
203 if (inSize && rView.error()) { in process()
204 ALOGE("read view map failed %d", rView.error()); in process()
229 uint8_t *input = const_cast<uint8_t *>(rView.data() + inOffset); in process()
DC2SoftFlacEnc.cpp229 C2ReadView rView = mDummyReadView; in process() local
233 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
234 inSize = rView.capacity(); in process()
235 if (inSize && rView.error()) { in process()
236 ALOGE("read view map failed %d", rView.error()); in process()
320 const uint8_t *inPtr = rView.data() + inOffset; in process()
/frameworks/av/media/codec2/components/vorbis/
DC2SoftVorbisDec.cpp248 C2ReadView rView = mDummyReadView; in process() local
250 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
251 inSize = rView.capacity(); in process()
252 if (inSize && rView.error()) { in process()
253 ALOGE("read view map failed %d", rView.error()); in process()
254 work->result = rView.error(); in process()
270 const uint8_t *data = rView.data() + inOffset; in process()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomEnc.cpp809 std::shared_ptr<C2GraphicView> rView; in process() local
813 rView = std::make_shared<C2GraphicView>( in process()
815 if (rView->error() != C2_OK) { in process()
816 ALOGE("graphic view map err = %d", rView->error()); in process()
835 const C2PlanarLayout& layout = rView->layout(); in process()
853 rView->setCrop_be(C2Rect(mSize->width, mSize->height)); in process()
925 mConversionBuffer.size(), *rView.get(), colorAspects->matrix, in process()
932 const bool isYUV420_10bit = IsYUV420_10bit(*rView); in process()
933 if (!IsYUV420(*rView) && !isYUV420_10bit) { in process()
939 if (IsI420(*rView)) { in process()
[all …]
DC2SoftAomDec.cpp442 C2ReadView rView = mDummyReadView; in process() local
444 rView = in process()
446 inSize = rView.capacity(); in process()
447 if (inSize && rView.error()) { in process()
448 ALOGE("read view map failed %d", rView.error()); in process()
469 uint8_t* bitstream = const_cast<uint8_t*>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.cpp230 C2ReadView rView = mDummyReadView; in process() local
232 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
233 inSize = rView.capacity(); in process()
234 if (inSize && rView.error()) { in process()
235 ALOGE("read view map failed %d", rView.error()); in process()
251 const uint8_t *data = rView.data() + inOffset; in process()
DC2SoftOpusEnc.cpp342 C2ReadView rView = mDummyReadView; in process() local
347 rView = in process()
349 inSize = rView.capacity(); in process()
350 if (inSize && rView.error()) { in process()
351 ALOGE("read view map failed %d", rView.error()); in process()
398 const uint8_t* inPtr = rView.data() + inOffset; in process()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DHelper.java100 @UserIdInt int userId, @NonNull RemoteViews rView) { in checkRemoteViewUriPermissions() argument
103 rView.visitUris( in checkRemoteViewUriPermissions()
143 public static @Nullable RemoteViews sanitizeRemoteView(RemoteViews rView) { in sanitizeRemoteView() argument
144 if (rView == null) return null; in sanitizeRemoteView()
148 boolean ok = checkRemoteViewUriPermissions(userId, rView); in sanitizeRemoteView()
154 return (ok ? rView : null); in sanitizeRemoteView()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp852 std::shared_ptr<C2GraphicView> rView; in process() local
856 rView = std::make_shared<C2GraphicView>( in process()
858 if (rView->error() != C2_OK) { in process()
859 ALOGE("graphic view map err = %d", rView->error()); in process()
865 rView->setCrop_be(C2Rect(mSize->width, mSize->height)); in process()
913 const C2PlanarLayout &layout = rView->layout(); in process()
932 mConversionBuffer.size(), *rView.get(), in process()
939 if (!IsYUV420(*rView)) { in process()
950 mStrideAlign, (uint8_t*)rView->data()[0]); in process()
951 raw_frame.planes[1] = (uint8_t*)rView->data()[1]; in process()
[all …]
DC2SoftVpxDec.cpp639 C2ReadView rView = mDummyReadView; in process() local
641 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
642 inSize = rView.capacity(); in process()
643 if (inSize && rView.error()) { in process()
644 ALOGE("read view map failed %d", rView.error()); in process()
673 uint8_t *bitstream = const_cast<uint8_t *>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp828 C2ReadView rView = mDummyReadView; in process() local
830 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
831 inSize = rView.capacity(); in process()
832 if (inSize && rView.error()) { in process()
833 ALOGE("read view map failed %d", rView.error()); in process()
834 work->result = rView.error(); in process()
862 if (!setDecodeArgs(ps_decode_ip, ps_decode_op, &rView, &wView, in process()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp832 C2ReadView rView = mDummyReadView; in process() local
834 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
835 inSize = rView.capacity(); in process()
836 if (inSize && rView.error()) { in process()
837 ALOGE("read view map failed %d", rView.error()); in process()
838 work->result = rView.error(); in process()
868 if (!setDecodeArgs(ps_decode_ip, ps_decode_op, &rView, &wView, in process()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp916 C2ReadView rView = mDummyReadView; in process() local
918 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
919 inSize = rView.capacity(); in process()
920 if (inSize && rView.error()) { in process()
921 ALOGE("read view map failed %d", rView.error()); in process()
949 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView, in process()
/frameworks/av/media/codec2/components/dav1d/
DC2SoftDav1dDec.cpp639 C2ReadView rView = mDummyReadView; in process() local
641 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
642 inSize = rView.capacity(); in process()
643 if (inSize && rView.error()) { in process()
644 ALOGE("read view map failed %d", rView.error()); in process()
662 uint8_t* bitstream = const_cast<uint8_t*>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp589 C2ReadView rView = mDummyReadView; in process() local
591 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
592 inSize = rView.capacity(); in process()
593 if (inSize && rView.error()) { in process()
594 ALOGE("read view map failed %d", rView.error()); in process()
615 uint8_t *bitstream = const_cast<uint8_t *>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/hal/common/
DMultiAccessUnitHelper.cpp691 C2ReadView rView = blocks.front().map().get(); in processWorklets() local
692 if (rView.error()) { in processWorklets()
694 frame.mLargeWork->result = rView.error(); in processWorklets()
713 memcpy(frame.mWview->data(), rView.data() + inputOffset, toCopy); in processWorklets()
/frameworks/av/media/codec2/components/apv/
DC2SoftApvDec.cpp926 C2ReadView rView = mDummyReadView; in process() local
928 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
929 inSize = rView.capacity(); in process()
930 if (inSize && rView.error()) { in process()
931 ALOGE("read view map failed %d", rView.error()); in process()
950 uint8_t* bitstream = const_cast<uint8_t*>(rView.data() + inOffset); in process()