liboverlay: Fix format masking

The format was masked earlier for interlaced
videos and 3D content. Remove this masking

Change-Id: Ia167ef5ca6405fcb430f7e1ae453092de3597c4a
This commit is contained in:
Naseer Ahmed 2012-06-21 20:52:18 -07:00 committed by Iliyan Malchev
parent ed670145be
commit 3b4cee666d
1 changed files with 4 additions and 2 deletions

View File

@ -819,8 +819,10 @@ struct RotOutFmt<ROT_OUT_FMT_Y_CRCB_H2V2>
inline uint32_t getColorFormat(uint32_t format)
{
return (format == HAL_PIXEL_FORMAT_YV12) ?
format : colorFormat(format);
//XXX: Earlier this used to mask the format
//to check for interlaced or 3D. Just return
//the format now
return format;
}
// FB0