/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/vpx/ |
D | C2SoftVpxEnc.cpp | 432 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 …]
|
D | C2SoftVpxDec.cpp | 563 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/ |
D | C2SoftMpeg4Enc.cpp | 451 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 …]
|
D | C2SoftMpeg4Dec.cpp | 518 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/ |
D | C2SoftMp3Dec.cpp | 345 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/ |
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 | 211 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/ |
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 | 312 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/ |
D | C2SoftGav1Dec.cpp | 402 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/ |
D | C2SoftAomDec.cpp | 436 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/ |
D | C2SoftHevcDec.cpp | 808 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/ |
D | C2SoftAvcDec.cpp | 810 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/ |
D | C2SoftMpeg2Dec.cpp | 882 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()
|