Lines Matching refs:mVideoFormatInfo
101 if ((mVideoFormatInfo.width != (uint32_t)data->codec_data->frame_width ||
102 mVideoFormatInfo.height != (uint32_t)data->codec_data->frame_height) &&
105 ITRACE("Video size is changed. from %dx%d to %dx%d\n",mVideoFormatInfo.width,mVideoFormatInfo.height, data->codec_data->frame_width,data->codec_data->frame_height);
109 mVideoFormatInfo.width = data->codec_data->frame_width;
110 mVideoFormatInfo.height = data->codec_data->frame_height;
116 mVideoFormatInfo.valid = false;
119 needFlush = (mVideoFormatInfo.width > mVideoFormatInfo.surfaceWidth)
120 || (mVideoFormatInfo.height > mVideoFormatInfo.surfaceHeight);
140 mVideoFormatInfo.valid = true;
362 mVideoFormatInfo.width, mVideoFormatInfo.height,
366 mVideoFormatInfo.cropBottom = (data->codec_data->frame_height > mVideoFormatInfo.height) ?
367 (data->codec_data->frame_height - mVideoFormatInfo.height) : 0;
368 mVideoFormatInfo.cropRight = (data->codec_data->frame_width > mVideoFormatInfo.width) ?
369 (data->codec_data->frame_width - mVideoFormatInfo.width) : 0;
371 if ((mVideoFormatInfo.width != (uint32_t)data->codec_data->frame_width ||
372 mVideoFormatInfo.height != (uint32_t)data->codec_data->frame_height) &&
375 mVideoFormatInfo.width = data->codec_data->frame_width;
376 mVideoFormatInfo.height = data->codec_data->frame_height;
382 mVideoFormatInfo.videoRange = data->codec_data->video_range;
386 mVideoFormatInfo.colorMatrix = VA_SRC_BT709;
393 mVideoFormatInfo.colorMatrix = VA_SRC_BT601;
398 mVideoFormatInfo.colorMatrix = 0;
402 mVideoFormatInfo.aspectX = data->codec_data->par_width;
403 mVideoFormatInfo.aspectY = data->codec_data->par_height;
404 mVideoFormatInfo.bitrate = data->codec_data->bit_rate;
405 mVideoFormatInfo.valid = true;
419 if (cfgAttribs[0].value * cfgAttribs[1].value < (uint32_t)mVideoFormatInfo.width * (uint32_t)mVideoFormatInfo.height) {
421 cfgAttribs[0].value, cfgAttribs[1].value, mVideoFormatInfo.width, mVideoFormatInfo.height);