/hardware/google/av/media/codecs/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() 470 uint32_t width = rView->width(); in process() 471 uint32_t height = rView->height(); in process() 483 mConversionBuffer.size(), *rView.get()); in process() 489 if (!IsYUV420(*rView)) { in process() 500 mStrideAlign, (uint8_t*)rView->data()[0]); in process() [all …]
|
D | C2SoftVpxDec.cpp | 466 C2ReadView rView = mDummyReadView; in process() local 468 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 469 inSize = rView.capacity(); in process() 470 if (inSize && rView.error()) { in process() 471 ALOGE("read view map failed %d", rView.error()); in process() 502 uint8_t *bitstream = const_cast<uint8_t *>(rView.data() + inOffset); in process()
|
/hardware/google/av/media/codecs/gsm/ |
D | C2SoftGsmDec.cpp | 188 C2ReadView rView = mDummyReadView; in process() local 192 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 193 inSize = rView.capacity(); in process() 194 if (inSize && rView.error()) { in process() 195 ALOGE("read view map failed %d", rView.error()); in process() 196 work->result = rView.error(); in process() 231 uint8_t *input = const_cast<uint8_t *>(rView.data() + inOffset); in process()
|
/hardware/google/av/media/codecs/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 | 204 C2ReadView rView = mDummyReadView; in process() local 206 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 207 inSize = rView.capacity(); in process() 208 if (inSize && rView.error()) { in process() 209 ALOGE("read view map failed %d", rView.error()); in process() 240 const uint8_t *inPtr = rView.data() + inOffset; in process()
|
D | C2SoftAmrWbEnc.cpp | 286 C2ReadView rView = mDummyReadView; in process() local 288 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 289 inSize = rView.capacity(); in process() 290 if (inSize && rView.error()) { in process() 291 ALOGE("read view map failed %d", rView.error()); in process() 292 work->result = rView.error(); in process() 323 const uint8_t *inPtr = rView.data() + inOffset; in process()
|
/hardware/google/av/media/codecs/mpeg4_h263/ |
D | C2SoftMpeg4Enc.cpp | 461 std::shared_ptr<const C2GraphicView> rView; in process() local 466 rView = std::make_shared<const C2GraphicView>( in process() 468 if (rView->error() != C2_OK) { in process() 469 ALOGE("graphic view map err = %d", rView->error()); in process() 470 work->result = rView->error(); in process() 493 const C2PlanarLayout &layout = rView->layout(); in process() 494 uint8_t *yPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_Y]); in process() 495 uint8_t *uPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_U]); in process() 496 uint8_t *vPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_V]); in process() 517 ConvertRGBToPlanarYUV(yPlane, yStride, height, conversionBuffer.size(), *rView.get()); in process() [all …]
|
D | C2SoftMpeg4Dec.cpp | 512 C2ReadView rView = mDummyReadView; in process() local 514 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 515 inSize = rView.capacity(); in process() 516 if (inSize && rView.error()) { in process() 517 ALOGE("read view map failed %d", rView.error()); in process() 535 uint8_t *bitstream = const_cast<uint8_t *>(rView.data() + inOffset); in process()
|
/hardware/google/av/media/codecs/g711/ |
D | C2SoftG711Dec.cpp | 153 C2ReadView rView = mDummyReadView; in process() local 157 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 158 inSize = rView.capacity(); in process() 159 if (inSize && rView.error()) { in process() 160 ALOGE("read view map failed %d", rView.error()); in process() 182 uint8_t *inputptr = const_cast<uint8_t *>(rView.data() + inOffset); in process()
|
/hardware/google/av/media/codecs/mp3/ |
D | C2SoftMp3Dec.cpp | 352 C2ReadView rView = mDummyReadView; in process() local 354 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 355 inSize = rView.capacity(); in process() 356 if (inSize && rView.error()) { in process() 357 ALOGE("read view map failed %d", rView.error()); in process() 358 work->result = rView.error(); in process() 375 if (inSize && OK != calculateOutSize(const_cast<uint8 *>(rView.data()), in process() 411 mConfig->pInputBuffer = const_cast<uint8 *>(rView.data() + inPos); in process()
|
/hardware/google/av/media/codecs/flac/ |
D | C2SoftFlacDec.cpp | 183 C2ReadView rView = mDummyReadView; in process() local 187 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 188 inSize = rView.capacity(); in process() 189 if (inSize && rView.error()) { in process() 190 ALOGE("read view map failed %d", rView.error()); in process() 215 uint8_t *input = const_cast<uint8_t *>(rView.data() + inOffset); in process()
|
D | C2SoftFlacEnc.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() 252 const uint8_t *inPtr = rView.data() + inOffset; in process()
|
/hardware/google/av/media/codecs/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()
|
/hardware/google/av/media/codecs/opus/ |
D | C2SoftOpusDec.cpp | 317 C2ReadView rView = mDummyReadView; in process() local 319 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 320 inSize = rView.capacity(); in process() 321 if (inSize && rView.error()) { in process() 322 ALOGE("read view map failed %d", rView.error()); in process() 338 const uint8_t *data = rView.data() + inOffset; in process()
|
/hardware/google/av/media/codecs/hevc/ |
D | C2SoftHevcDec.cpp | 752 C2ReadView rView = mDummyReadView; in process() local 754 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 755 inSize = rView.capacity(); in process() 756 if (inSize && rView.error()) { in process() 757 ALOGE("read view map failed %d", rView.error()); in process() 758 work->result = rView.error(); in process() 784 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView, in process()
|
/hardware/google/av/media/codecs/avc/ |
D | C2SoftAvcDec.cpp | 752 C2ReadView rView = mDummyReadView; in process() local 754 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 755 inSize = rView.capacity(); in process() 756 if (inSize && rView.error()) { in process() 757 ALOGE("read view map failed %d", rView.error()); in process() 758 work->result = rView.error(); in process() 786 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView, in process()
|
/hardware/google/av/media/codecs/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 834 C2ReadView rView = mDummyReadView; in process() local 836 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 837 inSize = rView.capacity(); in process() 838 if (inSize && rView.error()) { in process() 839 ALOGE("read view map failed %d", rView.error()); in process() 867 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView, in process()
|