/frameworks/av/media/codec2/components/gsm/ |
D | C2SoftGsmDec.cpp | 187 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/ |
D | C2SoftG711Dec.cpp | 154 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/ |
D | C2SoftAmrDec.cpp | 258 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()
|
D | C2SoftAmrNbEnc.cpp | 202 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()
|
D | C2SoftAmrWbEnc.cpp | 283 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/ |
D | C2SoftMpeg4Enc.cpp | 555 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 …]
|
D | C2SoftMpeg4Dec.cpp | 448 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/ |
D | C2SoftMp3Dec.cpp | 360 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/ |
D | C2SoftFlacDec.cpp | 197 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()
|
D | C2SoftFlacEnc.cpp | 229 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/ |
D | C2SoftVorbisDec.cpp | 248 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/ |
D | C2SoftAomEnc.cpp | 809 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 …]
|
D | C2SoftAomDec.cpp | 442 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/ |
D | C2SoftOpusDec.cpp | 230 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()
|
D | C2SoftOpusEnc.cpp | 342 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/ |
D | Helper.java | 100 @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/ |
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 | 639 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/ |
D | C2SoftHevcDec.cpp | 828 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/ |
D | C2SoftAvcDec.cpp | 832 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/ |
D | C2SoftMpeg2Dec.cpp | 916 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/ |
D | C2SoftDav1dDec.cpp | 639 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/ |
D | C2SoftGav1Dec.cpp | 589 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/ |
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()
|
/frameworks/av/media/codec2/components/apv/ |
D | C2SoftApvDec.cpp | 926 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()
|