Home
last modified time | relevance | path

Searched refs:mConversionBuffer (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp89 mConversionBuffer(NULL), in SoftVPXEncoder()
297 free(mConversionBuffer); in initEncoder()
298 mConversionBuffer = NULL; in initEncoder()
303 mConversionBuffer = (uint8_t *)malloc(mWidth * mHeight * 3 / 2); in initEncoder()
304 if (mConversionBuffer == NULL) { in initEncoder()
328 if (mConversionBuffer != NULL) { in releaseEncoder()
329 free(mConversionBuffer); in releaseEncoder()
330 mConversionBuffer = NULL; in releaseEncoder()
670 mConversionBuffer, frameSize, in onQueueFilled()
681 source, mConversionBuffer, mWidth, mHeight); in onQueueFilled()
[all …]
DSoftVPXEncoder.h242 uint8_t* mConversionBuffer; member
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp327 mConversionBuffer = MemoryBlock::Allocate(stride * vstride * 3 / 2); in initEncoder()
328 if (!mConversionBuffer.size()) { in initEncoder()
487 ConvertRGBToPlanarYUV(mConversionBuffer.data(), stride, vstride, in process()
488 mConversionBuffer.size(), *rView.get()); in process()
490 mStrideAlign, mConversionBuffer.data()); in process()
514 if (mConversionBuffer.size() >= stride * vstride * 3 / 2) { in process()
515 status_t err = ImageCopy(mConversionBuffer.data(), &img, *rView); in process()
522 mStrideAlign, mConversionBuffer.data()); in process()
526 stride, vstride, mConversionBuffer.size()); in process()
DC2SoftVpxEnc.h205 MemoryBlock mConversionBuffer; member