Searched defs:wView (Results 1 - 20 of 20) sorted by relevance

/hardware/google/av/media/codecs/amr_nb_wb/
H A DC2SoftAmrDec.cpp302 C2WriteView wView = block->map().get(); local
303 if (wView.error()) {
304 ALOGE("write view map failed %d", wView.error());
305 work->result = wView.error();
309 int16_t *output = reinterpret_cast<int16_t *>(wView.data());
H A DC2SoftAmrNbEnc.cpp226 C2WriteView wView = outputBlock->map().get(); local
227 if (wView.error()) {
228 ALOGE("write view map failed %d", wView.error());
255 wView.data() + outPos, &frameType,
265 wView.data()[outPos] = ((wView.data()[outPos] << 3) | 4) & 0x7c;
H A DC2SoftAmrWbEnc.cpp309 C2WriteView wView = outputBlock->map().get(); local
310 if (wView.error()) {
311 ALOGE("write view map failed %d", wView.error());
312 work->result = wView.error();
335 int numEncBytes = encodeInput((wView.data() + outPos), outCapacity - outPos);
/hardware/google/av/media/codecs/flac/
H A DC2SoftFlacDec.cpp268 C2WriteView wView = block->map().get(); local
269 if (wView.error()) {
270 ALOGE("write view map failed %d", wView.error());
275 short *output = reinterpret_cast<short *>(wView.data());
H A DC2SoftFlacEnc.cpp233 C2WriteView wView = mOutputBlock->map().get(); local
234 if (wView.error()) {
235 ALOGE("write view map failed %d", wView.error());
312 C2WriteView wView = mOutputBlock->map().get(); local
313 uint8_t* outData = wView.data();
/hardware/google/av/media/codecs/g711/
H A DC2SoftG711Dec.cpp184 C2WriteView wView = block->map().get(); local
185 if (wView.error()) {
186 ALOGE("write view map failed %d", wView.error());
190 int16_t *outputptr = reinterpret_cast<int16_t *>(wView.data());
/hardware/google/av/media/codecs/gsm/
H A DC2SoftGsmDec.cpp215 C2WriteView wView = block->map().get(); local
216 if (wView.error()) {
217 ALOGE("write view map failed %d", wView.error());
218 work->result = wView.error();
222 int16_t *output = reinterpret_cast<int16_t *>(wView.data());
/hardware/google/av/media/codecs/vorbis/
H A DC2SoftVorbisDec.cpp389 C2WriteView wView = block->map().get(); local
390 if (wView.error()) {
391 ALOGE("write view map failed %d", wView.error());
392 work->result = wView.error();
405 mState, reinterpret_cast<int16_t *> (wView.data()),
/hardware/google/av/media/codecs/vpx/
H A DC2SoftVpxEnc.cpp566 C2WriteView wView = block->map().get(); local
567 if (wView.error()) {
568 ALOGE("write view map failed %d", wView.error());
573 memcpy(wView.data(), encoded_packet->data.frame.buf, encoded_packet->data.frame.sz);
H A DC2SoftVpxDec.cpp461 C2GraphicView wView = block->map().get(); local
462 if (wView.error()) {
463 ALOGE("graphic view map failed %d", wView.error());
471 uint8_t *dst = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_Y]);
/hardware/google/av/media/codecs/aac/
H A DC2SoftAacEnc.cpp314 std::unique_ptr<C2WriteView> wView; local
326 wView.reset(new C2WriteView(block->map().get()));
327 outPtr = wView->data();
328 outAvailable = wView->size();
/hardware/google/av/media/codecs/mp3/
H A DC2SoftMp3Dec.cpp383 C2WriteView wView = block->map().get(); local
384 if (wView.error()) {
385 ALOGE("write view map failed %d", wView.error());
386 work->result = wView.error();
406 mConfig->pOutputBuffer = reinterpret_cast<int16_t *> (wView.data() + outSize);
472 if (!memset(reinterpret_cast<int16_t*>(wView.data() + outSize), 0,
/hardware/google/av/media/codecs/mpeg4_h263/
H A DC2SoftMpeg4Enc.cpp332 C2WriteView wView = block->map().get(); local
333 if (wView.error()) {
334 ALOGE("write view map failed %d", wView.error());
335 work->result = wView.error();
339 uint8_t *outPtr = (uint8_t *)wView.data();
H A DC2SoftMpeg4Dec.cpp530 C2GraphicView wView = mOutBlock->map().get(); local
531 if (wView.error()) {
532 ALOGE("graphic view map failed %d", wView.error());
602 uint8_t *outputBufferY = wView.data()[C2PlanarLayout::PLANE_Y];
604 wView.width(), align(mWidth, 16), mWidth, mHeight);
/hardware/google/av/media/codecs/opus/
H A DC2SoftOpusDec.cpp438 C2WriteView wView = block->map().get(); local
439 if (wView.error()) {
440 ALOGE("write view map failed %d", wView.error());
448 reinterpret_cast<int16_t *> (wView.data()),
/hardware/google/av/media/codecs/xaac/
H A DC2SoftXaacDec.cpp264 C2WriteView wView = block->map().get(); local
265 int16_t* outBuffer = reinterpret_cast<int16_t*>(wView.data());
/hardware/google/av/media/codecs/avc/
H A DC2SoftAvcDec.cpp811 C2GraphicView wView = mOutBlock->map().get(); local
812 if (wView.error()) {
813 ALOGE("graphic view map failed %d", wView.error());
814 work->result = wView.error();
817 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView,
906 C2GraphicView wView = mOutBlock->map().get(); local
907 if (wView.error()) {
908 ALOGE("graphic view map failed %d", wView.error());
913 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, nullptr, &wView, 0, 0, 0)) {
H A DC2SoftAvcEnc.cpp1173 C2WriteView wView = block->map().get(); local
1174 if (wView.error() != C2_OK) {
1175 ALOGE("write view map err = %d", wView.error());
1177 work->result = wView.error();
1182 &s_encode_ip, &s_encode_op, view.get(), wView.base(), wView.capacity(), timestamp);
/hardware/google/av/media/codecs/hevc/
H A DC2SoftHevcDec.cpp770 C2GraphicView wView = mOutBlock->map().get(); local
771 if (wView.error()) {
772 ALOGE("graphic view map failed %d", wView.error());
773 work->result = wView.error();
778 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView,
875 C2GraphicView wView = mOutBlock->map().get(); local
876 if (wView.error()) {
877 ALOGE("graphic view map failed %d", wView.error());
882 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, nullptr, &wView, 0, 0, 0)) {
/hardware/google/av/media/codecs/mpeg2/
H A DC2SoftMpeg2Dec.cpp821 C2GraphicView wView = mOutBlock->map().get(); local
822 if (wView.error()) {
823 ALOGE("graphic view map failed %d", wView.error());
830 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, &rView, &wView,
952 C2GraphicView wView = mOutBlock->map().get(); local
953 if (wView.error()) {
954 ALOGE("graphic view map failed %d", wView.error());
959 if (!setDecodeArgs(&s_decode_ip, &s_decode_op, nullptr, &wView, 0, 0, 0)) {

Completed in 177 milliseconds