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.cpp322 mConversionBuffer = MemoryBlock::Allocate(stride * vstride * 3 / 2); in initEncoder()
323 if (!mConversionBuffer.size()) { in initEncoder()
482 ConvertRGBToPlanarYUV(mConversionBuffer.data(), stride, vstride, in process()
483 mConversionBuffer.size(), *rView.get()); in process()
485 mStrideAlign, mConversionBuffer.data()); in process()
509 if (mConversionBuffer.size() >= stride * vstride * 3 / 2) { in process()
510 status_t err = ImageCopy(mConversionBuffer.data(), &img, *rView); in process()
521 stride, vstride, mConversionBuffer.size()); in process()
DC2SoftVpxEnc.h205 MemoryBlock mConversionBuffer; member