/frameworks/av/media/codec2/components/gsm/ |
D | C2SoftGsmDec.cpp | 182 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/ |
D | C2SoftG711Dec.cpp | 147 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/ |
D | C2SoftAmrDec.cpp | 252 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()
|
D | C2SoftAmrWbEnc.cpp | 278 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()
|
D | C2SoftAmrNbEnc.cpp | 197 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/ |
D | C2SoftMpeg4Enc.cpp | 550 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 …]
|
D | C2SoftMpeg4Dec.cpp | 441 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/ |
D | C2SoftMp3Dec.cpp | 353 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/ |
D | C2SoftVorbisDec.cpp | 241 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/ |
D | C2SoftFlacDec.cpp | 190 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()
|
D | C2SoftFlacEnc.cpp | 222 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/ |
D | Helper.java | 92 @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/ |
D | C2SoftOpusDec.cpp | 225 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()
|
D | C2SoftOpusEnc.cpp | 337 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/ |
D | C2SoftAomEnc.cpp | 799 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 …]
|
D | C2SoftAomDec.cpp | 437 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/ |
D | C2SoftVpxEnc.cpp | 852 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 …]
|
D | C2SoftVpxDec.cpp | 632 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/ |
D | C2SoftHevcDec.cpp | 821 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/ |
D | C2SoftAvcDec.cpp | 826 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/ |
D | C2SoftMpeg2Dec.cpp | 897 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/ |
D | C2SoftDav1dDec.cpp | 634 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/ |
D | C2SoftGav1Dec.cpp | 584 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/ |
D | MultiAccessUnitHelper.cpp | 691 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()
|