Commit 79bbd35
media: bttv: copy vid fmt/width/height from fh
In preparation for the vb2 conversion, copy the video format, width and
height fields from struct bttv_fh and add them to the main struct bttv.
Use these fields from struct bttv wherever they will be needed after the
vb2 conversion which stops using separate bttv file handles altogether. To
avoid changing more code than necessary, just leave the video format,
width and height fields in separate file handles wherever the code will be
subsequently removed by vb2.
Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>1 parent 45b6f5b commit 79bbd35
2 files changed
Lines changed: 20 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2066 | 2066 | | |
2067 | 2067 | | |
2068 | 2068 | | |
| 2069 | + | |
2069 | 2070 | | |
2070 | | - | |
2071 | | - | |
| 2071 | + | |
2072 | 2072 | | |
2073 | | - | |
| 2073 | + | |
2074 | 2074 | | |
2075 | 2075 | | |
2076 | 2076 | | |
| |||
2190 | 2190 | | |
2191 | 2191 | | |
2192 | 2192 | | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
2193 | 2196 | | |
2194 | 2197 | | |
2195 | 2198 | | |
| |||
2446 | 2449 | | |
2447 | 2450 | | |
2448 | 2451 | | |
2449 | | - | |
2450 | | - | |
2451 | | - | |
2452 | | - | |
2453 | | - | |
2454 | | - | |
2455 | | - | |
| 2452 | + | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
2456 | 2456 | | |
2457 | | - | |
2458 | | - | |
2459 | | - | |
2460 | | - | |
2461 | | - | |
2462 | | - | |
2463 | | - | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
2464 | 2461 | | |
2465 | 2462 | | |
2466 | 2463 | | |
| |||
3636 | 3633 | | |
3637 | 3634 | | |
3638 | 3635 | | |
| 3636 | + | |
| 3637 | + | |
| 3638 | + | |
3639 | 3639 | | |
3640 | 3640 | | |
3641 | 3641 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
452 | 455 | | |
453 | 456 | | |
454 | 457 | | |
| |||
0 commit comments