Home
last modified time | relevance | path

Searched refs:rView (Results 1 – 17 of 17) sorted by relevance

/hardware/google/av/media/codecs/vpx/
DC2SoftVpxEnc.cpp432 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 …]
DC2SoftVpxDec.cpp466 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/
DC2SoftGsmDec.cpp188 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/
DC2SoftAmrDec.cpp258 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()
DC2SoftAmrNbEnc.cpp204 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()
DC2SoftAmrWbEnc.cpp286 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/
DC2SoftMpeg4Enc.cpp461 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 …]
DC2SoftMpeg4Dec.cpp512 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/
DC2SoftG711Dec.cpp153 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/
DC2SoftMp3Dec.cpp352 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/
DC2SoftFlacDec.cpp183 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()
DC2SoftFlacEnc.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()
252 const uint8_t *inPtr = rView.data() + inOffset; in process()
/hardware/google/av/media/codecs/vorbis/
DC2SoftVorbisDec.cpp248 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/
DC2SoftOpusDec.cpp317 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/avc/
DC2SoftAvcDec.cpp752 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/hevc/
DC2SoftHevcDec.cpp752 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/mpeg2/
DC2SoftMpeg2Dec.cpp834 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()