20 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
21 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 |
* |
* |
23 |
* $Id: decoder.c,v 1.87 2010-12-28 19:19:43 Isibaar Exp $ |
* $Id$ |
24 |
* |
* |
25 |
****************************************************************************/ |
****************************************************************************/ |
26 |
|
|
1647 |
if(stats) { |
if(stats) { |
1648 |
stats->type = XVID_TYPE_VOL; |
stats->type = XVID_TYPE_VOL; |
1649 |
stats->data.vol.general = 0; |
stats->data.vol.general = 0; |
1650 |
/*XXX: if (dec->interlacing) |
stats->data.vop.general = 0; |
1651 |
stats->data.vol.general |= ++INTERLACING; */ |
if (dec->interlacing) { |
1652 |
|
stats->data.vol.general |= XVID_VOL_INTERLACING; |
1653 |
|
if (dec->top_field_first) { |
1654 |
|
stats->data.vop.general |= XVID_VOP_TOPFIELDFIRST; |
1655 |
|
} |
1656 |
|
} |
1657 |
stats->data.vol.width = dec->width; |
stats->data.vol.width = dec->width; |
1658 |
stats->data.vol.height = dec->height; |
stats->data.vol.height = dec->height; |
1659 |
stats->data.vol.par = dec->aspect_ratio; |
stats->data.vol.par = dec->aspect_ratio; |