Lines Matching refs:mVideoFormatInfo
109 if ((mVideoFormatInfo.width != (uint32_t)data->codec_data.video_object_layer_width || in decode()
110 mVideoFormatInfo.height != (uint32_t)data->codec_data.video_object_layer_height) && in decode()
114 …ITRACE("Video size is changed. from %dx%d to %dx%d\n", mVideoFormatInfo.width, mVideoFormatInfo.he… in decode()
120 mVideoFormatInfo.width = data->codec_data.video_object_layer_width; in decode()
121 mVideoFormatInfo.height = data->codec_data.video_object_layer_height; in decode()
127 mVideoFormatInfo.valid = false; in decode()
130 needFlush = (mVideoFormatInfo.width > mVideoFormatInfo.surfaceWidth) in decode()
131 || (mVideoFormatInfo.height > mVideoFormatInfo.surfaceHeight); in decode()
150 mVideoFormatInfo.valid = true; in decode()
178 data->picture_data->picture_param.vop_width = mVideoFormatInfo.width; in decodeFrame()
179 data->picture_data->picture_param.vop_height = mVideoFormatInfo.height; in decodeFrame()
615 mVideoFormatInfo.width, mVideoFormatInfo.height, in updateFormatInfo()
620 data->codec_data.video_object_layer_width = mVideoFormatInfo.width; in updateFormatInfo()
621 data->codec_data.video_object_layer_height = mVideoFormatInfo.height; in updateFormatInfo()
624 …mVideoFormatInfo.cropBottom = data->codec_data.video_object_layer_height > mVideoFormatInfo.height… in updateFormatInfo()
625 … data->codec_data.video_object_layer_height - mVideoFormatInfo.height : 0; in updateFormatInfo()
626 … mVideoFormatInfo.cropRight = data->codec_data.video_object_layer_width > mVideoFormatInfo.width ? in updateFormatInfo()
627 … data->codec_data.video_object_layer_width - mVideoFormatInfo.width : 0; in updateFormatInfo()
629 if ((mVideoFormatInfo.width != (uint32_t)data->codec_data.video_object_layer_width || in updateFormatInfo()
630 mVideoFormatInfo.height != (uint32_t)data->codec_data.video_object_layer_height) && in updateFormatInfo()
634 mVideoFormatInfo.width = data->codec_data.video_object_layer_width; in updateFormatInfo()
635 mVideoFormatInfo.height = data->codec_data.video_object_layer_height; in updateFormatInfo()
641 mVideoFormatInfo.videoRange = data->codec_data.video_range; in updateFormatInfo()
645 mVideoFormatInfo.colorMatrix = VA_SRC_BT709; in updateFormatInfo()
652 mVideoFormatInfo.colorMatrix = VA_SRC_BT601; in updateFormatInfo()
657 mVideoFormatInfo.colorMatrix = 0; in updateFormatInfo()
661 mVideoFormatInfo.aspectX = data->codec_data.par_width; in updateFormatInfo()
662 mVideoFormatInfo.aspectY = data->codec_data.par_height; in updateFormatInfo()
664 mVideoFormatInfo.valid = true; in updateFormatInfo()
667 setColorSpaceInfo(mVideoFormatInfo.colorMatrix, mVideoFormatInfo.videoRange); in updateFormatInfo()
679 …Attribs[0].value * cfgAttribs[1].value < (uint32_t)mVideoFormatInfo.width * (uint32_t)mVideoFormat… in checkHardwareCapability()
681 … cfgAttribs[0].value, cfgAttribs[1].value, mVideoFormatInfo.width, mVideoFormatInfo.height); in checkHardwareCapability()