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,
108 mVideoFormatInfo.width = data->se_data->CODED_WIDTH;
109 mVideoFormatInfo.height = data->se_data->CODED_HEIGHT;
112 noNeedFlush = (mVideoFormatInfo.width <= mVideoFormatInfo.surfaceWidth)
113 && (mVideoFormatInfo.height <= mVideoFormatInfo.surfaceHeight);
428 p[4] = (mVideoFormatInfo.width >> 8) & 0x0ff;
429 p[5] = mVideoFormatInfo.width & 0x0ff;
430 p[6] = (mVideoFormatInfo.height >> 8) & 0x0ff;
431 p[7] = mVideoFormatInfo.height & 0x0ff;
460 mVideoFormatInfo.width, mVideoFormatInfo.height,
463 mVideoFormatInfo.cropBottom = data->se_data->CODED_HEIGHT > mVideoFormatInfo.height ?
464 data->se_data->CODED_HEIGHT - mVideoFormatInfo.height : 0;
465 mVideoFormatInfo.cropRight = data->se_data->CODED_WIDTH > mVideoFormatInfo.width ?
466 data->se_data->CODED_WIDTH - mVideoFormatInfo.width : 0;
468 if ((mVideoFormatInfo.width != data->se_data->CODED_WIDTH ||
469 mVideoFormatInfo.height != data->se_data->CODED_HEIGHT) &&
473 mVideoFormatInfo.width = data->se_data->CODED_WIDTH;
474 mVideoFormatInfo.height = data->se_data->CODED_HEIGHT;
480 mVideoFormatInfo.videoRange = 1;
484 mVideoFormatInfo.colorMatrix = VA_SRC_BT709;
488 mVideoFormatInfo.colorMatrix = VA_SRC_BT601;
492 mVideoFormatInfo.colorMatrix = 0;
496 mVideoFormatInfo.aspectX = data->se_data->ASPECT_HORIZ_SIZE;
497 mVideoFormatInfo.aspectY = data->se_data->ASPECT_VERT_SIZE;
498 mVideoFormatInfo.bitrate = 0; //data->se_data->bitrate;
499 mVideoFormatInfo.valid = true;
559 if (cfgAttribs[0].value * cfgAttribs[1].value < (uint32_t)mVideoFormatInfo.width * (uint32_t)mVideoFormatInfo.height) {
561 cfgAttribs[0].value, cfgAttribs[1].value, mVideoFormatInfo.width, mVideoFormatInfo.height);