588 |
return ICERR_UNSUPPORTED; |
return ICERR_UNSUPPORTED; |
589 |
} |
} |
590 |
|
|
591 |
|
free(create.zones); |
592 |
codec->ehandle = create.handle; |
codec->ehandle = create.handle; |
593 |
codec->framenum = 0; |
codec->framenum = 0; |
594 |
codec->keyspacing = 0; |
codec->keyspacing = 0; |
711 |
frame.vop_flags |= XVID_VOP_HALFPEL; |
frame.vop_flags |= XVID_VOP_HALFPEL; |
712 |
frame.vop_flags |= XVID_VOP_HQACPRED; |
frame.vop_flags |= XVID_VOP_HQACPRED; |
713 |
|
|
714 |
|
if (codec->config.interlacing && codec->config.tff) |
715 |
|
frame.vop_flags |= XVID_VOP_TOPFIELDFIRST; |
716 |
|
|
717 |
|
|
718 |
if (codec->config.vop_debug) |
if (codec->config.vop_debug) |
719 |
frame.vop_flags |= XVID_VOP_DEBUG; |
frame.vop_flags |= XVID_VOP_DEBUG; |
720 |
|
|
929 |
outhdr->biPlanes = 1; |
outhdr->biPlanes = 1; |
930 |
outhdr->biBitCount = 24; |
outhdr->biBitCount = 24; |
931 |
outhdr->biCompression = BI_RGB; /* sonic foundry vegas video v3 only supports BI_RGB */ |
outhdr->biCompression = BI_RGB; /* sonic foundry vegas video v3 only supports BI_RGB */ |
932 |
outhdr->biSizeImage = outhdr->biWidth * outhdr->biHeight * outhdr->biBitCount; |
outhdr->biSizeImage = outhdr->biWidth * outhdr->biHeight * outhdr->biBitCount / 8; |
933 |
outhdr->biXPelsPerMeter = 0; |
outhdr->biXPelsPerMeter = 0; |
934 |
outhdr->biYPelsPerMeter = 0; |
outhdr->biYPelsPerMeter = 0; |
935 |
outhdr->biClrUsed = 0; |
outhdr->biClrUsed = 0; |
986 |
REG_GET_N("Brightness", pp_brightness, 0); |
REG_GET_N("Brightness", pp_brightness, 0); |
987 |
REG_GET_N("Deblock_Y", pp_dy, 0) |
REG_GET_N("Deblock_Y", pp_dy, 0) |
988 |
REG_GET_N("Deblock_UV", pp_duv, 0) |
REG_GET_N("Deblock_UV", pp_duv, 0) |
989 |
REG_GET_N("Dering", pp_dr, 0) |
REG_GET_N("Dering_Y", pp_dry, 0) |
990 |
|
REG_GET_N("Dering_UV", pp_druv, 0) |
991 |
REG_GET_N("FilmEffect", pp_fe, 0) |
REG_GET_N("FilmEffect", pp_fe, 0) |
992 |
|
|
993 |
RegCloseKey(hKey); |
RegCloseKey(hKey); |
1082 |
|
|
1083 |
if (pp_dy)frame.general |= XVID_DEBLOCKY; |
if (pp_dy)frame.general |= XVID_DEBLOCKY; |
1084 |
if (pp_duv) frame.general |= XVID_DEBLOCKUV; |
if (pp_duv) frame.general |= XVID_DEBLOCKUV; |
1085 |
/* if (pp_dr) frame.general |= XVID_DERING; */ |
if (pp_dry) frame.general |= XVID_DERINGY; |
1086 |
|
if (pp_druv) frame.general |= XVID_DERINGUV; |
1087 |
if (pp_fe) frame.general |= XVID_FILMEFFECT; |
if (pp_fe) frame.general |= XVID_FILMEFFECT; |
1088 |
|
|
1089 |
frame.brightness = pp_brightness; |
frame.brightness = pp_brightness; |