634 |
* Returned values : |
* Returned values : |
635 |
* - >0 - output bytes |
* - >0 - output bytes |
636 |
* - 0 - no output |
* - 0 - no output |
637 |
|
* - XVID_ERR_VERSION - wrong version passed to core |
638 |
|
* - XVID_ERR_END - End of stream reached before end of coding |
639 |
* - XVID_ERR_FORMAT - the image subsystem reported the image had a wrong |
* - XVID_ERR_FORMAT - the image subsystem reported the image had a wrong |
640 |
* format |
* format |
641 |
****************************************************************************/ |
****************************************************************************/ |
1031 |
|
|
1032 |
done_flush: |
done_flush: |
1033 |
|
|
1034 |
|
#if 0 |
1035 |
{ |
{ |
1036 |
char tmp[100]; |
char tmp[100]; |
1037 |
wsprintf(tmp,"\\frame%03i.pgm", pEnc->m_framenum); |
wsprintf(tmp,"\\frame%03i.pgm", pEnc->m_framenum); |
1038 |
image_dump_yuvpgm(&pEnc->current->image, pEnc->mbParam.edged_width, |
image_dump_yuvpgm(&pEnc->current->image, pEnc->mbParam.edged_width, |
1039 |
pEnc->mbParam.width, pEnc->mbParam.height, tmp); |
pEnc->mbParam.width, pEnc->mbParam.height, tmp); |
1040 |
} |
} |
1041 |
|
#endif |
1042 |
|
|
1043 |
/* packed_mode: repeat */ |
/* packed_mode: repeat */ |
1044 |
pEnc->flush_bframes = 1; |
pEnc->flush_bframes = 1; |