video_common: Textual aligment on ReportStreamInfo API

Aligned the stream info prints on UART to make them
consistent and readable

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
This commit is contained in:
Rohit Consul 2015-05-27 16:12:43 -07:00 committed by Nava kishore Manne
parent 96929a7703
commit 7e056740a6

View file

@ -477,16 +477,24 @@ const XVidC_VideoTiming *XVidC_GetTimingInfo(XVidC_VideoMode VmId)
*******************************************************************************/
void XVidC_ReportStreamInfo(XVidC_VideoStream *Stream)
{
xil_printf("\tColor Space Format:%s\r\n",
XVidC_GetColorFormatStr(Stream->ColorFormatId));
xil_printf("\tColor Depth:%d\r\n", Stream->ColorDepth);
xil_printf("\tPixels Per Clock:%d\r\n", Stream->PixPerClk);
xil_printf("\tFrame Rate:%s\r\n", XVidC_GetFrameRateStr(Stream->VmId));
xil_printf("\tMode:%s\r\n",
Stream->IsInterlaced ? "Interlaced" : "Progressive" );
xil_printf("\tResolution:%s\r\n", XVidC_GetVideoModeStr(Stream->VmId));
xil_printf("\tPixel Clock:%d\r\n",
XVidC_GetPixelClockHzByVmId(Stream->VmId));
if (Stream->VmId < XVIDC_VM_NUM_SUPPORTED) {
xil_printf("\tColor Format: %s\r\n",
XVidC_GetColorFormatStr(Stream->ColorFormatId));
xil_printf("\tColor Depth: %d\r\n", Stream->ColorDepth);
xil_printf("\tPixels Per Clock: %d\r\n", Stream->PixPerClk);
xil_printf("\tMode: %s\r\n",
Stream->IsInterlaced ? "Interlaced" : "Progressive");
xil_printf("\tFrame Rate: %s\r\n",
XVidC_GetFrameRateStr(Stream->VmId));
xil_printf("\tResolution: %s\r\n",
XVidC_GetVideoModeStr(Stream->VmId));
xil_printf("\tPixel Clock: %d\r\n",
XVidC_GetPixelClockHzByVmId(Stream->VmId));
}
else {
xil_printf("Video Stream ID (%d) Not Supported\r\n",
Stream->VmId);
}
}
/******************************************************************************/