ANY field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



hi!

I'd like to capture the TOP and BOTTOM field but not
with the V4L2_FIELD_SEQ_TB. I need it in two separate
buffer not in one.
I think the V4L2_FIELD_ANY should be assigned to this
feature, but now it is mapped to the bottom field only.
if (V4L2_FIELD_ANY == field)
                     field = (f->fmt.pix.height > maxh/2)
                     ? V4L2_FIELD_INTERLACED
                     : V4L2_FIELD_BOTTOM;

I tried to do the following it the irq handler (just a silly
idea) but the machine hanged, I guess the RISC memory
for the TOP field is not filled:

if (o_top)
	capture->vb.field=V4L2_FIELD_BOTTOM;
else capture->vb.field=V4L2_FIELD_TOP;
if (V4L2_FIELD_HAS_TOP(capture->vb.field))
                      btv->top = capture;
if (V4L2_FIELD_HAS_BOTTOM(capture->vb.field))
                        btv->bottom = capture;


Is this feature is planned to have in the near future?

gabor





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux