3 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
4 |
* - Native API implementation - |
* - Native API implementation - |
5 |
* |
* |
6 |
|
* Copyright(C) 2001-2003 Peter Ross <pross@xvid.org> |
7 |
|
* |
8 |
* This program is free software ; you can redistribute it and/or modify |
* This program is free software ; you can redistribute it and/or modify |
9 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
10 |
* the Free Software Foundation ; either version 2 of the License, or |
* the Free Software Foundation ; either version 2 of the License, or |
578 |
if (XVID_MAJOR(convert->version) != 1) /* v1.x.x */ |
if (XVID_MAJOR(convert->version) != 1) /* v1.x.x */ |
579 |
return XVID_ERR_VERSION; |
return XVID_ERR_VERSION; |
580 |
|
|
581 |
// const int flip1 = (convert->input.colorspace & XVID_CSP_VFLIP) ^ (convert->output.colorspace & XVID_CSP_VFLIP); |
#if 0 |
582 |
|
const int flip1 = (convert->input.colorspace & XVID_CSP_VFLIP) ^ (convert->output.colorspace & XVID_CSP_VFLIP); |
583 |
|
#endif |
584 |
width = convert->width; |
width = convert->width; |
585 |
height = convert->height; |
height = convert->height; |
586 |
width2 = convert->width/2; |
width2 = convert->width/2; |