Lines Matching refs:mVideoFormatInfo
102 if ((mVideoFormatInfo.width != data->se_data->CODED_WIDTH ||
103 mVideoFormatInfo.height != data->se_data->CODED_HEIGHT) &&
106 ITRACE("video size is changed from %dx%d to %dx%d", mVideoFormatInfo.width, mVideoFormatInfo.height,
111 mVideoFormatInfo.width = data->se_data->CODED_WIDTH;
112 mVideoFormatInfo.height = data->se_data->CODED_HEIGHT;
118 mVideoFormatInfo.valid = false;
121 needFlush = (mVideoFormatInfo.width > mVideoFormatInfo.surfaceWidth)
122 || (mVideoFormatInfo.height > mVideoFormatInfo.surfaceHeight);
142 mVideoFormatInfo.valid = true;
447 p[4] = (mVideoFormatInfo.width >> 8) & 0x0ff;
448 p[5] = mVideoFormatInfo.width & 0x0ff;
449 p[6] = (mVideoFormatInfo.height >> 8) & 0x0ff;
450 p[7] = mVideoFormatInfo.height & 0x0ff;
479 mVideoFormatInfo.width, mVideoFormatInfo.height,
482 mVideoFormatInfo.cropBottom = data->se_data->CODED_HEIGHT > mVideoFormatInfo.height ?
483 data->se_data->CODED_HEIGHT - mVideoFormatInfo.height : 0;
484 mVideoFormatInfo.cropRight = data->se_data->CODED_WIDTH > mVideoFormatInfo.width ?
485 data->se_data->CODED_WIDTH - mVideoFormatInfo.width : 0;
487 if ((mVideoFormatInfo.width != data->se_data->CODED_WIDTH ||
488 mVideoFormatInfo.height != data->se_data->CODED_HEIGHT) &&
492 mVideoFormatInfo.width = data->se_data->CODED_WIDTH;
493 mVideoFormatInfo.height = data->se_data->CODED_HEIGHT;
499 mVideoFormatInfo.videoRange = 0;
503 mVideoFormatInfo.colorMatrix = VA_SRC_BT709;
507 mVideoFormatInfo.colorMatrix = VA_SRC_BT601;
511 mVideoFormatInfo.colorMatrix = 0;
515 mVideoFormatInfo.aspectX = data->se_data->ASPECT_HORIZ_SIZE;
516 mVideoFormatInfo.aspectY = data->se_data->ASPECT_VERT_SIZE;
517 mVideoFormatInfo.bitrate = 0; //data->se_data->bitrate;
518 mVideoFormatInfo.valid = true;
521 setColorSpaceInfo(mVideoFormatInfo.colorMatrix, mVideoFormatInfo.videoRange);
579 if (cfgAttribs[0].value * cfgAttribs[1].value < (uint32_t)mVideoFormatInfo.width * (uint32_t)mVideoFormatInfo.height) {
581 cfgAttribs[0].value, cfgAttribs[1].value, mVideoFormatInfo.width, mVideoFormatInfo.height);