mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-09-21 15:52:39 +02:00
use frames instead of fields, and restore full meteor compatibility for
generalized pixel support. Submitted by: Amancio Hasty
This commit is contained in:
parent
805bd6d982
commit
dc01e23eda
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25497
@ -986,6 +986,10 @@ video_open( bktr_ptr_t bktr )
|
||||
bktr->video.width = 0;
|
||||
bktr->video.banksize = 0;
|
||||
bktr->video.ramsize = 0;
|
||||
bktr->pixfmt_compat = TRUE;
|
||||
bktr->format = METEOR_GEO_RGB16;
|
||||
bktr->pixfmt = oformat_meteor_to_bt( bktr->format );
|
||||
|
||||
|
||||
bt848->int_mask = BT848_INT_MYSTERYBIT; /* what does this bit do ??? */
|
||||
|
||||
@ -2849,7 +2853,6 @@ set_fps( bktr_ptr_t bktr, u_short fps )
|
||||
return;
|
||||
} else {
|
||||
bt848->tdec = (int) (((float) fps / 30.0) * 60.0) & 0x3f;
|
||||
bt848->tdec |= 0x80;
|
||||
}
|
||||
|
||||
if ( bktr->flags & METEOR_CAP_MASK ) {
|
||||
|
@ -986,6 +986,10 @@ video_open( bktr_ptr_t bktr )
|
||||
bktr->video.width = 0;
|
||||
bktr->video.banksize = 0;
|
||||
bktr->video.ramsize = 0;
|
||||
bktr->pixfmt_compat = TRUE;
|
||||
bktr->format = METEOR_GEO_RGB16;
|
||||
bktr->pixfmt = oformat_meteor_to_bt( bktr->format );
|
||||
|
||||
|
||||
bt848->int_mask = BT848_INT_MYSTERYBIT; /* what does this bit do ??? */
|
||||
|
||||
@ -2849,7 +2853,6 @@ set_fps( bktr_ptr_t bktr, u_short fps )
|
||||
return;
|
||||
} else {
|
||||
bt848->tdec = (int) (((float) fps / 30.0) * 60.0) & 0x3f;
|
||||
bt848->tdec |= 0x80;
|
||||
}
|
||||
|
||||
if ( bktr->flags & METEOR_CAP_MASK ) {
|
||||
|
Loading…
Reference in New Issue
Block a user