/hardware/google/av/media/codecs/g711/ |
D | C2SoftG711Dec.cpp | 155 size_t inSize = 0u; in process() local 158 inSize = rView.capacity(); in process() 159 if (inSize && rView.error()) { in process() 166 int outSize = inSize * sizeof(int16_t); in process() 168 ALOGV("in buffer attr. size %zu timestamp %d frameindex %d", inSize, in process() 171 if (inSize == 0) { in process() 201 DecodeALaw(outputptr, inputptr, inSize); in process() 203 DecodeMLaw(outputptr, inputptr, inSize); in process() 235 int16_t *out, const uint8_t *in, size_t inSize) { in DecodeALaw() argument 236 while (inSize > 0) { in DecodeALaw() [all …]
|
D | C2SoftG711Dec.h | 49 void DecodeALaw(int16_t *out, const uint8_t *in, size_t inSize); 51 void DecodeMLaw(int16_t *out, const uint8_t *in, size_t inSize);
|
/hardware/google/av/media/codecs/gsm/ |
D | C2SoftGsmDec.cpp | 150 uint8_t *in, size_t inSize) { in decodeGSM() argument 153 if (inSize % MSGSM_IN_FRM_SZ == 0 in decodeGSM() 154 && (inSize / MSGSM_IN_FRM_SZ * MSGSM_OUT_FRM_SZ * sizeof(*out) in decodeGSM() 156 while (inSize > 0) { in decodeGSM() 159 inSize -= FRGSM_IN_FRM_SZ; in decodeGSM() 165 inSize -= FRGSM_IN_FRM_SZ_MINUS_1; in decodeGSM() 190 size_t inSize = 0u; in process() local 193 inSize = rView.capacity(); in process() 194 if (inSize && rView.error()) { in process() 201 if (inSize == 0) { in process() [all …]
|
/hardware/google/av/media/codecs/amr_nb_wb/ |
D | C2SoftAmrNbEnc.cpp | 203 size_t inSize = 0u; in process() local 207 inSize = rView.capacity(); in process() 208 if (inSize && rView.error()) { in process() 216 inSize, (int)work->input.ordinal.timestamp.peeku(), in process() 220 outCapacity += mFilledLen + inSize; in process() 239 while (inPos < inSize) { in process() 242 if ((inPos + (kNumBytesPerInputFrame - mFilledLen)) <= inSize) { in process() 247 memcpy(mInputFrame + validSamples, inPtr + inPos, (inSize - inPos)); in process() 248 mFilledLen += (inSize - inPos); in process() 249 inPos += (inSize - inPos); in process()
|
D | C2SoftAmrWbEnc.cpp | 285 size_t inSize = 0u; in process() local 289 inSize = rView.capacity(); in process() 290 if (inSize && rView.error()) { in process() 299 inSize, (int)work->input.ordinal.timestamp.peeku(), in process() 303 outCapacity += mFilledLen + inSize; in process() 322 while (inPos < inSize) { in process() 325 if ((inPos + (kNumBytesPerInputFrame - mFilledLen)) <= inSize) { in process() 330 memcpy(mInputFrame + validSamples, inPtr + inPos, (inSize - inPos)); in process() 331 mFilledLen += (inSize - inPos); in process() 332 inPos += (inSize - inPos); in process()
|
D | C2SoftAmrDec.cpp | 227 static status_t calculateNumFrames(const uint8 *input, size_t inSize, in calculateNumFrames() argument 229 for (size_t k = 0; k < inSize;) { in calculateNumFrames() 235 if ((inSize - k) >= frameSize) { in calculateNumFrames() 260 size_t inSize = 0u; in process() local 263 inSize = rView.capacity(); in process() 264 if (inSize && rView.error()) { in process() 272 if (inSize == 0) { in process() 283 ALOGV("in buffer attr. size %zu timestamp %d frameindex %d", inSize, in process() 287 if (OK != calculateNumFrames(rView.data() + inOffset, inSize, &frameSizeList, in process() 321 while (inPos < inSize) { in process()
|
/hardware/google/av/media/codecs/vorbis/ |
D | C2SoftVorbisDec.cpp | 247 size_t inSize = 0u; in process() local 251 inSize = rView.capacity(); in process() 252 if (inSize && rView.error()) { in process() 259 if (inSize == 0) { in process() 268 ALOGV("in buffer attr. size %zu timestamp %d frameindex %d", inSize, in process() 273 if (inSize > 7 && !memcmp(&data[1], "vorbis", 6)) { in process() 286 makeBitReader((const uint8_t *)data + 7, inSize - 7, &buf, &ref, &bits); in process() 356 if (inSize < sizeof(numPageFrames)) { in process() 357 ALOGE("input header has size %zu, expected %zu", inSize, sizeof(numPageFrames)); in process() 362 memcpy(&numPageFrames, data + inSize - sizeof(numPageFrames), sizeof(numPageFrames)); in process() [all …]
|
/hardware/google/av/media/codecs/mp3/ |
D | C2SoftMp3Dec.cpp | 288 static status_t calculateOutSize(uint8 *header, size_t inSize, in calculateOutSize() argument 295 while (totalInSize + 4 < inSize) { in calculateOutSize() 351 size_t inSize = 0u; in process() local 355 inSize = rView.capacity(); in process() 356 if (inSize && rView.error()) { in process() 363 if (inSize == 0 && (!mGaplessBytes || !eos)) { in process() 369 ALOGV("in buffer attr. size %zu timestamp %d frameindex %d", inSize, in process() 375 if (inSize && OK != calculateOutSize(const_cast<uint8 *>(rView.data()), in process() 376 inSize, &decodedSizes)) { in process() 405 while (inPos < inSize) { in process() [all …]
|
/hardware/google/av/media/codecs/flac/ |
D | C2SoftFlacDec.cpp | 185 size_t inSize = 0u; in process() local 188 inSize = rView.capacity(); in process() 189 if (inSize && rView.error()) { in process() 198 ALOGV("in buffer attr. size %zu timestamp %d frameindex %d", inSize, in process() 201 if (inSize == 0) { in process() 217 status_t decoderErr = mFLACDecoder->parseMetadata(input, inSize); in process() 289 input, inSize, output, &outSize); in process()
|
D | C2SoftFlacEnc.cpp | 192 size_t inSize = 0u; in process() local 195 inSize = rView.capacity(); in process() 196 if (inSize && rView.error()) { in process() 204 inSize, (int)work->input.ordinal.timestamp.peeku(), in process() 206 if (mIsFirstFrame && inSize) { in process() 231 size_t outCapacity = inSize; in process() 251 while (inPos < inSize) { in process() 253 size_t processSize = MIN(kInBlockSize * channelCount * sizeof(int16_t), (inSize - inPos)); in process()
|
/hardware/google/av/media/codecs/opus/ |
D | C2SoftOpusDec.cpp | 316 size_t inSize = 0u; in process() local 320 inSize = rView.capacity(); in process() 321 if (inSize && rView.error()) { in process() 327 if (inSize == 0) { in process() 336 ALOGV("in buffer attr. size %zu timestamp %d frameindex %d", inSize, in process() 341 if (!ParseOpusHeader(data, inSize, &mHeader)) { in process() 381 if (inSize < 8) { in process() 456 inSize, in process()
|
/hardware/google/av/media/codecs/mpeg4_h263/ |
D | C2SoftMpeg4Dec.cpp | 510 size_t inSize = 0u; in process() local 515 inSize = rView.capacity(); in process() 516 if (inSize && rView.error()) { in process() 523 inSize, (int)work->input.ordinal.timestamp.peeku(), in process() 527 if (inSize == 0) { in process() 550 vol_size = inSize; in process() 593 while (inPos < inSize) { in process() 623 int32_t tmpInSize = (int32_t)inSize; in process() 675 inPos += inSize - (size_t)tmpInSize; in process() 678 if (inSize - inPos != 0) { in process() [all …]
|
/hardware/google/av/media/codecs/vpx/ |
D | C2SoftVpxDec.cpp | 465 size_t inSize = 0u; in process() local 469 inSize = rView.capacity(); in process() 470 if (inSize && rView.error()) { in process() 481 inSize, (int)work->input.ordinal.timestamp.peeku(), in process() 501 if (inSize) { in process() 504 mCodecCtx, bitstream, inSize, &frameIndex, 0); in process() 519 } else if (!inSize) { in process()
|
/hardware/google/av/media/codecs/hevc/ |
D | C2SoftHevcDec.cpp | 506 size_t inSize, in setDecodeArgs() argument 518 ps_decode_ip->u4_num_Bytes = inSize; in setDecodeArgs() 750 size_t inSize = 0u; in process() local 755 inSize = rView.capacity(); in process() 756 if (inSize && rView.error()) { in process() 766 inSize, (int)work->input.ordinal.timestamp.peeku(), in process() 769 while (inPos < inSize) { in process() 785 inOffset + inPos, inSize - inPos, workIndex)) { in process() 865 if (hasPicture && (inSize - inPos)) { in process() 867 (int)inSize - (int)inPos); in process()
|
D | C2SoftHevcDec.h | 80 size_t inSize,
|
/hardware/google/av/media/codecs/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 581 size_t inSize, in setDecodeArgs() argument 593 ps_decode_ip->u4_num_Bytes = inSize; in setDecodeArgs() 832 size_t inSize = 0u; in process() local 837 inSize = rView.capacity(); in process() 838 if (inSize && rView.error()) { in process() 848 inSize, (int)work->input.ordinal.timestamp.peeku(), in process() 851 while (inPos < inSize) { in process() 868 inOffset + inPos, inSize - inPos, workIndex)) { in process() 958 if (hasPicture && (inSize - inPos) != 0) { in process() 960 (int)inSize - (int)inPos); in process()
|
D | C2SoftMpeg2Dec.h | 125 size_t inSize,
|
/hardware/google/av/media/codecs/avc/ |
D | C2SoftAvcDec.cpp | 508 size_t inSize, in setDecodeArgs() argument 520 ps_decode_ip->u4_num_Bytes = inSize; in setDecodeArgs() 750 size_t inSize = 0u; in process() local 755 inSize = rView.capacity(); in process() 756 if (inSize && rView.error()) { in process() 766 inSize, (int)work->input.ordinal.timestamp.peeku(), in process() 769 while (inPos < inSize) { in process() 787 inOffset + inPos, inSize - inPos, workIndex)) { in process() 868 if (hasPicture && (inSize - inPos)) { in process() 870 (int)inSize - (int)inPos); in process()
|
D | C2SoftAvcDec.h | 128 size_t inSize,
|
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ |
D | ExternalCameraDeviceSession.h | 283 CroppingType ct, const Size& inSize, const Size& outSize, IMapper::Rect* out);
|
/hardware/interfaces/camera/device/3.4/default/ |
D | ExternalCameraDeviceSession.cpp | 982 CroppingType ct, const Size& inSize, const Size& outSize, IMapper::Rect* out) { in getCropRect() argument 988 uint32_t inW = inSize.width; in getCropRect() 989 uint32_t inH = inSize.height; in getCropRect() 995 float arIn = ASPECT_RATIO(inSize); in getCropRect()
|