[FFmpeg-devel] [PATCH] NV12 Tile format conversion
Sunny Shukla
sunny.shukla at einfochips.com
Fri Dec 16 11:41:46 EET 2016
Hi,
NV12 Tile format conversion to NV12 and yuv420p support is added. NV12 Tile format conversion support is only added for input format not as output format.
The algorithm used is referenced from https://github.com/ssshukla26/NV12Tile-To-NV12-Conversion. It is checked with 480p,720p, 1080p and other resolutions. Videos both in landscape and portrait mode are been able to be converted from nv12 tiled to nv12 format using this algorithm. The input file must be a yuv file in NV12Tile format, one can download such video with 480p resolution from this https://drive.google.com/open?id=0B5dp19Ic3reULWJIS0JTRFVZbjg link. See instructions file under examples folder for more details in the github link.
For memory layout please refer https://www.linuxtv.org/downloads/v4l-dvb-apis-old/re36.html
The need to incorporate this format conversion is to make sure that when certain hardware decoders outputs
the data in nv12 tiled format can also be directly displayed in nv12 or yuv420p format using ffmpeg command line
and APIs.
P.S. : This patch is applied on commit id "d4c1cc2b876af1e8f1a8ca258bf092b3baa31245" of ffmpeg release 3.2 (latest release).
PFA : 0001-Input-format-NV12-Tile-support-added.patch
Regards,
Sunny.
************************************************************************************************************************************************************* eInfochips Business Disclaimer: This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated. Company has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. *************************************************************************************************************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Input-format-NV12-Tile-support-added.patch
Type: text/x-diff
Size: 27930 bytes
Desc: 0001-Input-format-NV12-Tile-support-added.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161216/90951737/attachment.patch>
More information about the ffmpeg-devel
mailing list