/hardware/google/av/media/codecs/amr_nb_wb/ |
H A D | C2SoftAmrNbEnc.cpp | 226 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 D | C2SoftAmrDec.cpp | 302 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 D | C2SoftAmrWbEnc.cpp | 309 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/gsm/ |
H A D | C2SoftGsmDec.cpp | 215 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/g711/ |
H A D | C2SoftG711Dec.cpp | 184 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/flac/ |
H A D | C2SoftFlacEnc.cpp | 233 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();
|
H A D | C2SoftFlacDec.cpp | 268 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());
|
/hardware/google/av/media/codecs/vorbis/ |
H A D | C2SoftVorbisDec.cpp | 389 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/mp3/ |
H A D | C2SoftMp3Dec.cpp | 383 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/aac/ |
H A D | C2SoftAacEnc.cpp | 314 std::unique_ptr<C2WriteView> wView; local 326 wView.reset(new C2WriteView(block->map().get())); 327 outPtr = wView->data(); 328 outAvailable = wView->size();
|
H A D | C2SoftAacDec.cpp | 402 C2WriteView wView = block->map().get(); 404 INT_PCM *outBuffer = reinterpret_cast<INT_PCM *>(wView.data());
|
/hardware/google/av/media/codecs/opus/ |
H A D | C2SoftOpusDec.cpp | 438 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/hevc/ |
H A D | C2SoftHevcDec.cpp | 770 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/mpeg4_h263/ |
H A D | C2SoftMpeg4Dec.cpp | 530 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);
|
H A D | C2SoftMpeg4Enc.cpp | 332 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();
|
/hardware/google/av/media/codecs/avc/ |
H A D | C2SoftAvcDec.cpp | 811 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 D | C2SoftAvcEnc.cpp | 1173 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/vpx/ |
H A D | C2SoftVpxDec.cpp | 461 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]);
|
H A D | C2SoftVpxEnc.cpp | 566 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);
|
/hardware/google/av/media/codecs/mpeg2/ |
H A D | C2SoftMpeg2Dec.cpp | 821 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)) {
|
/hardware/google/av/media/codecs/xaac/ |
H A D | C2SoftXaacDec.cpp | 264 C2WriteView wView = block->map().get(); local 265 int16_t* outBuffer = reinterpret_cast<int16_t*>(wView.data());
|