1079 |
frame.output.plane[0] = icd->lpOutput; |
frame.output.plane[0] = icd->lpOutput; |
1080 |
frame.output.stride[0] = CALC_BI_STRIDE(icd->lpbiOutput->biWidth, icd->lpbiOutput->biBitCount); |
frame.output.stride[0] = CALC_BI_STRIDE(icd->lpbiOutput->biWidth, icd->lpbiOutput->biBitCount); |
1081 |
if (frame.output.csp == XVID_CSP_I420 || frame.output.csp == XVID_CSP_YV12) |
if (frame.output.csp == XVID_CSP_I420 || frame.output.csp == XVID_CSP_YV12) |
1082 |
frame.output.stride[0] = (frame.output.stride[0]*2)/3; |
frame.output.stride[0] = CALC_BI_STRIDE(icd->lpbiOutput->biWidth, 8); |
1083 |
} |
} |
1084 |
else |
else |
1085 |
{ |
{ |