Home
last modified time | relevance | path

Searched refs:rView (Results 1 – 24 of 24) 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/mpeg4_h263/
DC2SoftMpeg4Enc.cpp550 std::shared_ptr<C2GraphicView> rView; in process() local
555 rView = std::make_shared<C2GraphicView>( in process()
557 if (rView->error() != C2_OK) { in process()
558 ALOGE("graphic view map err = %d", rView->error()); in process()
559 work->result = rView->error(); in process()
564 rView->setCrop_be(C2Rect(mSize->width, mSize->height)); in process()
585 const C2PlanarLayout &layout = rView->layout(); in process()
586 uint8_t *yPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_Y]); in process()
587 uint8_t *uPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_U]); in process()
588 uint8_t *vPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_V]); in process()
[all …]
DC2SoftMpeg4Dec.cpp441 C2ReadView rView = mDummyReadView; in process() local
443 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
444 inSize = rView.capacity(); in process()
445 if (inSize && rView.error()) { in process()
446 ALOGE("read view map failed %d", rView.error()); in process()
464 uint8_t *bitstream = const_cast<uint8_t *>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp353 C2ReadView rView = mDummyReadView; in process() local
355 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
356 inSize = rView.capacity(); in process()
357 if (inSize && rView.error()) { in process()
358 ALOGE("read view map failed %d", rView.error()); in process()
359 work->result = rView.error(); in process()
376 if (inSize && OK != calculateOutSize(const_cast<uint8 *>(rView.data()), in process()
412 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.cpp222 C2ReadView rView = mDummyReadView; in process() local
226 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
227 inSize = rView.capacity(); in process()
228 if (inSize && rView.error()) { in process()
229 ALOGE("read view map failed %d", rView.error()); in process()
313 const uint8_t *inPtr = rView.data() + inOffset; in process()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DHelper.java92 @UserIdInt int userId, @NonNull RemoteViews rView) { in checkRemoteViewUriPermissions() argument
95 rView.visitUris(uri -> { in checkRemoteViewUriPermissions()
114 public static @Nullable RemoteViews sanitizeRemoteView(RemoteViews rView) { in sanitizeRemoteView() argument
115 if (rView == null) return null; in sanitizeRemoteView()
119 boolean ok = checkRemoteViewUriPermissions(userId, rView); in sanitizeRemoteView()
125 return (ok ? rView : null); in sanitizeRemoteView()
/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.cpp337 C2ReadView rView = mDummyReadView; in process() local
342 rView = in process()
344 inSize = rView.capacity(); in process()
345 if (inSize && rView.error()) { in process()
346 ALOGE("read view map failed %d", rView.error()); in process()
393 const uint8_t* inPtr = rView.data() + inOffset; in process()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomEnc.cpp799 std::shared_ptr<C2GraphicView> rView; in process() local
803 rView = std::make_shared<C2GraphicView>( in process()
805 if (rView->error() != C2_OK) { in process()
806 ALOGE("graphic view map err = %d", rView->error()); in process()
825 const C2PlanarLayout& layout = rView->layout(); in process()
843 rView->setCrop_be(C2Rect(mSize->width, mSize->height)); in process()
915 mConversionBuffer.size(), *rView.get(), colorAspects->matrix, in process()
922 const bool isYUV420_10bit = IsYUV420_10bit(*rView); in process()
923 if (!IsYUV420(*rView) && !isYUV420_10bit) { in process()
929 if (IsI420(*rView)) { in process()
[all …]
DC2SoftAomDec.cpp437 C2ReadView rView = mDummyReadView; in process() local
439 rView = in process()
441 inSize = rView.capacity(); in process()
442 if (inSize && rView.error()) { in process()
443 ALOGE("read view map failed %d", rView.error()); in process()
464 uint8_t* bitstream = const_cast<uint8_t*>(rView.data() + inOffset); in process()
/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.cpp632 C2ReadView rView = mDummyReadView; in process() local
634 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
635 inSize = rView.capacity(); in process()
636 if (inSize && rView.error()) { in process()
637 ALOGE("read view map failed %d", rView.error()); in process()
666 uint8_t *bitstream = const_cast<uint8_t *>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp821 C2ReadView rView = mDummyReadView; in process() local
823 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
824 inSize = rView.capacity(); in process()
825 if (inSize && rView.error()) { in process()
826 ALOGE("read view map failed %d", rView.error()); in process()
827 work->result = rView.error(); in process()
855 if (!setDecodeArgs(ps_decode_ip, ps_decode_op, &rView, &wView, in process()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp826 C2ReadView rView = mDummyReadView; in process() local
828 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
829 inSize = rView.capacity(); in process()
830 if (inSize && rView.error()) { in process()
831 ALOGE("read view map failed %d", rView.error()); in process()
832 work->result = rView.error(); in process()
862 if (!setDecodeArgs(ps_decode_ip, ps_decode_op, &rView, &wView, in process()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp897 C2ReadView rView = mDummyReadView; in process() local
899 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
900 inSize = rView.capacity(); in process()
901 if (inSize && rView.error()) { in process()
902 ALOGE("read view map failed %d", rView.error()); in process()
930 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView, in process()
/frameworks/av/media/codec2/components/dav1d/
DC2SoftDav1dDec.cpp634 C2ReadView rView = mDummyReadView; in process() local
636 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
637 inSize = rView.capacity(); in process()
638 if (inSize && rView.error()) { in process()
639 ALOGE("read view map failed %d", rView.error()); in process()
657 uint8_t* bitstream = const_cast<uint8_t*>(rView.data() + inOffset); in process()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp584 C2ReadView rView = mDummyReadView; in process() local
586 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
587 inSize = rView.capacity(); in process()
588 if (inSize && rView.error()) { in process()
589 ALOGE("read view map failed %d", rView.error()); in process()
610 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()