History

[media] v4l: Add RBG and RGB 8:8:8 media bus formats on 24 and 32 bit busses

Add support and documentation for two media bus formats: MEDIA_BUS_FMT_RBG888_1X24 and MEDIA_BUS_FMT_RGB888_1X32_PADHI

Laurent Pinchart committed 13 years ago

Commit 7b0fd451 parent 5a5394b2 files · +70 −1Browse files

Unified · Split

2 files
  1. Documentation/DocBook/media/v4l/subdev-formats.xml +67 −0
  2. include/uapi/linux/media-bus-format.h +3 −1
Documentation/DocBook/media/v4l/subdev-formats.xml+67−0
@@ -440,6 +440,36 @@ see <xref linkend="colorspaces" />.</entry> · 439 unmodified lines
440 <entry>b<subscript>1</subscript></entry>440 <entry>b<subscript>1</subscript></entry>
441 <entry>b<subscript>0</subscript></entry>441 <entry>b<subscript>0</subscript></entry>
442 </row>442 </row>
443 <row id="MEDIA-BUS-FMT-RBG888-1X24">
444 <entry>MEDIA_BUS_FMT_RBG888_1X24</entry>
445 <entry>0x100e</entry>
446 <entry></entry>
447 &dash-ent-8;
448 <entry>r<subscript>7</subscript></entry>
449 <entry>r<subscript>6</subscript></entry>
450 <entry>r<subscript>5</subscript></entry>
451 <entry>r<subscript>4</subscript></entry>
452 <entry>r<subscript>3</subscript></entry>
453 <entry>r<subscript>2</subscript></entry>
454 <entry>r<subscript>1</subscript></entry>
455 <entry>r<subscript>0</subscript></entry>
456 <entry>b<subscript>7</subscript></entry>
457 <entry>b<subscript>6</subscript></entry>
458 <entry>b<subscript>5</subscript></entry>
459 <entry>b<subscript>4</subscript></entry>
460 <entry>b<subscript>3</subscript></entry>
461 <entry>b<subscript>2</subscript></entry>
462 <entry>b<subscript>1</subscript></entry>
463 <entry>b<subscript>0</subscript></entry>
464 <entry>g<subscript>7</subscript></entry>
465 <entry>g<subscript>6</subscript></entry>
466 <entry>g<subscript>5</subscript></entry>
467 <entry>g<subscript>4</subscript></entry>
468 <entry>g<subscript>3</subscript></entry>
469 <entry>g<subscript>2</subscript></entry>
470 <entry>g<subscript>1</subscript></entry>
471 <entry>g<subscript>0</subscript></entry>
472 </row>
443 <row id="MEDIA-BUS-FMT-RGB888-1X24">473 <row id="MEDIA-BUS-FMT-RGB888-1X24">
444 <entry>MEDIA_BUS_FMT_RGB888_1X24</entry>474 <entry>MEDIA_BUS_FMT_RGB888_1X24</entry>
445 <entry>0x100a</entry>475 <entry>0x100a</entry>
@@ -579,6 +609,43 @@ see <xref linkend="colorspaces" />.</entry> · 133 unmodified lines
579 <entry>b<subscript>1</subscript></entry>609 <entry>b<subscript>1</subscript></entry>
580 <entry>b<subscript>0</subscript></entry>610 <entry>b<subscript>0</subscript></entry>
581 </row>611 </row>
612 <row id="MEDIA-BUS-FMT-RGB888-1X32-PADHI">
613 <entry>MEDIA_BUS_FMT_RGB888_1X32_PADHI</entry>
614 <entry>0x100f</entry>
615 <entry></entry>
616 <entry>0</entry>
617 <entry>0</entry>
618 <entry>0</entry>
619 <entry>0</entry>
620 <entry>0</entry>
621 <entry>0</entry>
622 <entry>0</entry>
623 <entry>0</entry>
624 <entry>r<subscript>7</subscript></entry>
625 <entry>r<subscript>6</subscript></entry>
626 <entry>r<subscript>5</subscript></entry>
627 <entry>r<subscript>4</subscript></entry>
628 <entry>r<subscript>3</subscript></entry>
629 <entry>r<subscript>2</subscript></entry>
630 <entry>r<subscript>1</subscript></entry>
631 <entry>r<subscript>0</subscript></entry>
632 <entry>g<subscript>7</subscript></entry>
633 <entry>g<subscript>6</subscript></entry>
634 <entry>g<subscript>5</subscript></entry>
635 <entry>g<subscript>4</subscript></entry>
636 <entry>g<subscript>3</subscript></entry>
637 <entry>g<subscript>2</subscript></entry>
638 <entry>g<subscript>1</subscript></entry>
639 <entry>g<subscript>0</subscript></entry>
640 <entry>b<subscript>7</subscript></entry>
641 <entry>b<subscript>6</subscript></entry>
642 <entry>b<subscript>5</subscript></entry>
643 <entry>b<subscript>4</subscript></entry>
644 <entry>b<subscript>3</subscript></entry>
645 <entry>b<subscript>2</subscript></entry>
646 <entry>b<subscript>1</subscript></entry>
647 <entry>b<subscript>0</subscript></entry>
648 </row>
582 </tbody>649 </tbody>
583 </tgroup>650 </tgroup>
584 </table>651 </table>
include/uapi/linux/media-bus-format.h+3−1
@@ -33,7 +33,7 @@ · 32 unmodified lines
33 33
34#define MEDIA_BUS_FMT_FIXED 0x000134#define MEDIA_BUS_FMT_FIXED 0x0001
35 35
36/* RGB - next is 0x100e */36/* RGB - next is 0x1010 */
37#define MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE 0x100137#define MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE 0x1001
38#define MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE 0x100238#define MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE 0x1002
39#define MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE 0x100339#define MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE 0x1003
@@ -43,10 +43,12 @@ · 3 unmodified lines
43#define MEDIA_BUS_FMT_RGB565_2X8_BE 0x100743#define MEDIA_BUS_FMT_RGB565_2X8_BE 0x1007
44#define MEDIA_BUS_FMT_RGB565_2X8_LE 0x100844#define MEDIA_BUS_FMT_RGB565_2X8_LE 0x1008
45#define MEDIA_BUS_FMT_RGB666_1X18 0x100945#define MEDIA_BUS_FMT_RGB666_1X18 0x1009
46#define MEDIA_BUS_FMT_RBG888_1X24 0x100e
46#define MEDIA_BUS_FMT_RGB888_1X24 0x100a47#define MEDIA_BUS_FMT_RGB888_1X24 0x100a
47#define MEDIA_BUS_FMT_RGB888_2X12_BE 0x100b48#define MEDIA_BUS_FMT_RGB888_2X12_BE 0x100b
48#define MEDIA_BUS_FMT_RGB888_2X12_LE 0x100c49#define MEDIA_BUS_FMT_RGB888_2X12_LE 0x100c
49#define MEDIA_BUS_FMT_ARGB8888_1X32 0x100d50#define MEDIA_BUS_FMT_ARGB8888_1X32 0x100d
51#define MEDIA_BUS_FMT_RGB888_1X32_PADHI 0x100f
50 52
51/* YUV (including grey) - next is 0x2024 */53/* YUV (including grey) - next is 0x2024 */
52#define MEDIA_BUS_FMT_Y8_1X8 0x200154#define MEDIA_BUS_FMT_Y8_1X8 0x2001

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t