Lines Matching refs:mVideoFormatInfo
67 memset(&mVideoFormatInfo, 0, sizeof(VideoFormatInfo)); in VideoDecoderBase()
74 mVideoFormatInfo.mimeType = strdup(mimeType); in VideoDecoderBase()
90 free(mVideoFormatInfo.mimeType); in ~VideoDecoderBase()
133 mVideoFormatInfo.width = buffer->width; in start()
134 mVideoFormatInfo.height = buffer->height; in start()
136 mVideoFormatInfo.surfaceWidth = buffer->graphicBufferWidth; in start()
137 mVideoFormatInfo.surfaceHeight = buffer->graphicBufferHeight; in start()
163 mVideoFormatInfo.width = buffer->width; in reset()
164 mVideoFormatInfo.height = buffer->height; in reset()
166 mVideoFormatInfo.surfaceWidth = buffer->graphicBufferWidth; in reset()
167 mVideoFormatInfo.surfaceHeight = buffer->graphicBufferHeight; in reset()
169 mVideoFormatInfo.actualBufferNeeded = mConfigBuffer.surfaceNumber; in reset()
199 mVideoFormatInfo.valid = false; in stop()
273 return &mVideoFormatInfo; in getFormatInfo()
794 …if (mVideoFormatInfo.actualBufferNeeded > mConfigBuffer.surfaceNumber - mConfigBuffer.vppBufferNum) in setupVA()
796 if (mVideoFormatInfo.actualBufferNeeded > mConfigBuffer.surfaceNumber) in setupVA()
804 …| (!mStoreMetaData && (mVideoFormatInfo.surfaceWidth < mVideoFormatInfo.width || mVideoFormatInfo.… in setupVA()
891 setColorSpaceInfo(mVideoFormatInfo.colorMatrix, mVideoFormatInfo.videoRange); in setupVA()
914 mVASurfaceAttrib->width = mVideoFormatInfo.surfaceWidth; in setupVA()
915 mVASurfaceAttrib->height = mVideoFormatInfo.surfaceHeight; in setupVA()
948 mVideoFormatInfo.surfaceWidth, in setupVA()
949 mVideoFormatInfo.surfaceHeight, in setupVA()
959 mVideoFormatInfo.width, in setupVA()
960 mVideoFormatInfo.height, in setupVA()
965 mVideoFormatInfo.surfaceWidth = mVideoFormatInfo.width; in setupVA()
966 mVideoFormatInfo.surfaceHeight = mVideoFormatInfo.height; in setupVA()
974 mVideoFormatInfo.surfaceWidth, in setupVA()
975 mVideoFormatInfo.surfaceHeight, in setupVA()
983 mVideoFormatInfo.surfaceNumber = mNumSurfaces; in setupVA()
984 mVideoFormatInfo.ctxSurfaces = mSurfaces; in setupVA()
992 mVideoFormatInfo.surfaceWidth, in setupVA()
993 mVideoFormatInfo.surfaceHeight, in setupVA()
1002 mVideoFormatInfo.surfaceWidth, in setupVA()
1003 mVideoFormatInfo.surfaceHeight, in setupVA()
1013 mVideoFormatInfo.surfaceWidth, in setupVA()
1014 mVideoFormatInfo.surfaceHeight, in setupVA()
1173 mSurfaceBuffers[i].mappedData->width = mVideoFormatInfo.width; in mapSurface()
1174 mSurfaceBuffers[i].mappedData->height = mVideoFormatInfo.height; in mapSurface()
1182 image.width != mVideoFormatInfo.width || in mapSurface()
1183 image.height != mVideoFormatInfo.height || in mapSurface()
1219 …uint32_t cropWidth = mVideoFormatInfo.width - (mVideoFormatInfo.cropLeft + mVideoFormatInfo.cropRi… in getRawDataFromSurface()
1220 …uint32_t cropHeight = mVideoFormatInfo.height - (mVideoFormatInfo.cropBottom + mVideoFormatInfo.cr… in getRawDataFromSurface()
1221 if (strcasecmp(mVideoFormatInfo.mimeType,"video/avc") == 0 || in getRawDataFromSurface()
1222 strcasecmp(mVideoFormatInfo.mimeType,"video/h264") == 0) { in getRawDataFromSurface()
1223 cropHeight = mVideoFormatInfo.height; in getRawDataFromSurface()
1224 cropWidth = mVideoFormatInfo.width; in getRawDataFromSurface()
1327 surfExtBuf.width = mVideoFormatInfo.surfaceWidth; in createSurfaceFromHandle()
1328 surfExtBuf.height = mVideoFormatInfo.surfaceHeight; in createSurfaceFromHandle()
1360 mVideoFormatInfo.surfaceWidth, in createSurfaceFromHandle()
1361 mVideoFormatInfo.surfaceHeight, in createSurfaceFromHandle()
1651 rect.x = mVideoFormatInfo.cropLeft; in setRenderRect()
1652 rect.y = mVideoFormatInfo.cropTop; in setRenderRect()
1653 rect.width = mVideoFormatInfo.width - (mVideoFormatInfo.cropLeft + mVideoFormatInfo.cropRight); in setRenderRect()
1654 … rect.height = mVideoFormatInfo.height - (mVideoFormatInfo.cropBottom + mVideoFormatInfo.cropTop); in setRenderRect()
1655 if (strcasecmp(mVideoFormatInfo.mimeType,"video/avc") == 0 || in setRenderRect()
1656 strcasecmp(mVideoFormatInfo.mimeType,"video/h264") == 0) { in setRenderRect()
1657 rect.height = mVideoFormatInfo.height; in setRenderRect()
1658 rect.width = mVideoFormatInfo.width; in setRenderRect()
1682 if (mVideoFormatInfo.width < 1280 && mVideoFormatInfo.height < 720) in setColorSpaceInfo()