diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-07-10 11:05:06 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-12-11 06:21:37 -0500 |
commit | 7e941a7999fe5ece856c066ba94c929870e30fe0 (patch) | |
tree | 538f4f0b471c6528081e97d150fe89d388fba822 /Documentation/DocBook | |
parent | e5ad37b64de975463c51f9ed4e4c55dc6e442ba5 (diff) |
[media] v4l: Add media format codes for AHSV8888 on 32-bit busses
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/media/v4l/subdev-formats.xml | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/Documentation/DocBook/media/v4l/subdev-formats.xml b/Documentation/DocBook/media/v4l/subdev-formats.xml index f72c1cc93a9b..bfaef5078eb8 100644 --- a/Documentation/DocBook/media/v4l/subdev-formats.xml +++ b/Documentation/DocBook/media/v4l/subdev-formats.xml | |||
@@ -2492,6 +2492,163 @@ | |||
2492 | </section> | 2492 | </section> |
2493 | 2493 | ||
2494 | <section> | 2494 | <section> |
2495 | <title>HSV/HSL Formats</title> | ||
2496 | |||
2497 | <para>Those formats transfer pixel data as RGB values in a cylindrical-coordinate | ||
2498 | system using Hue-Saturation-Value or Hue-Saturation-Lightness components. The | ||
2499 | format code is made of the following information. | ||
2500 | <itemizedlist> | ||
2501 | <listitem><para>The hue, saturation, value or lightness and optional alpha | ||
2502 | components order code, as encoded in a pixel sample. The only currently | ||
2503 | supported value is AHSV. | ||
2504 | </para></listitem> | ||
2505 | <listitem><para>The number of bits per component, for each component. The values | ||
2506 | can be different for all components. The only currently supported value is 8888. | ||
2507 | </para></listitem> | ||
2508 | <listitem><para>The number of bus samples per pixel. Pixels that are wider than | ||
2509 | the bus width must be transferred in multiple samples. The only currently | ||
2510 | supported value is 1.</para></listitem> | ||
2511 | <listitem><para>The bus width.</para></listitem> | ||
2512 | <listitem><para>For formats where the total number of bits per pixel is smaller | ||
2513 | than the number of bus samples per pixel times the bus width, a padding | ||
2514 | value stating if the bytes are padded in their most high order bits | ||
2515 | (PADHI) or low order bits (PADLO).</para></listitem> | ||
2516 | <listitem><para>For formats where the number of bus samples per pixel is larger | ||
2517 | than 1, an endianness value stating if the pixel is transferred MSB first | ||
2518 | (BE) or LSB first (LE).</para></listitem> | ||
2519 | </itemizedlist> | ||
2520 | </para> | ||
2521 | |||
2522 | <para>The following table lists existing HSV/HSL formats.</para> | ||
2523 | |||
2524 | <table pgwide="0" frame="none" id="v4l2-mbus-pixelcode-hsv"> | ||
2525 | <title>HSV/HSL formats</title> | ||
2526 | <tgroup cols="27"> | ||
2527 | <colspec colname="id" align="left" /> | ||
2528 | <colspec colname="code" align="center"/> | ||
2529 | <colspec colname="bit" /> | ||
2530 | <colspec colnum="4" colname="b31" align="center" /> | ||
2531 | <colspec colnum="5" colname="b20" align="center" /> | ||
2532 | <colspec colnum="6" colname="b29" align="center" /> | ||
2533 | <colspec colnum="7" colname="b28" align="center" /> | ||
2534 | <colspec colnum="8" colname="b27" align="center" /> | ||
2535 | <colspec colnum="9" colname="b26" align="center" /> | ||
2536 | <colspec colnum="10" colname="b25" align="center" /> | ||
2537 | <colspec colnum="11" colname="b24" align="center" /> | ||
2538 | <colspec colnum="12" colname="b23" align="center" /> | ||
2539 | <colspec colnum="13" colname="b22" align="center" /> | ||
2540 | <colspec colnum="14" colname="b21" align="center" /> | ||
2541 | <colspec colnum="15" colname="b20" align="center" /> | ||
2542 | <colspec colnum="16" colname="b19" align="center" /> | ||
2543 | <colspec colnum="17" colname="b18" align="center" /> | ||
2544 | <colspec colnum="18" colname="b17" align="center" /> | ||
2545 | <colspec colnum="19" colname="b16" align="center" /> | ||
2546 | <colspec colnum="20" colname="b15" align="center" /> | ||
2547 | <colspec colnum="21" colname="b14" align="center" /> | ||
2548 | <colspec colnum="22" colname="b13" align="center" /> | ||
2549 | <colspec colnum="23" colname="b12" align="center" /> | ||
2550 | <colspec colnum="24" colname="b11" align="center" /> | ||
2551 | <colspec colnum="25" colname="b10" align="center" /> | ||
2552 | <colspec colnum="26" colname="b09" align="center" /> | ||
2553 | <colspec colnum="27" colname="b08" align="center" /> | ||
2554 | <colspec colnum="28" colname="b07" align="center" /> | ||
2555 | <colspec colnum="29" colname="b06" align="center" /> | ||
2556 | <colspec colnum="30" colname="b05" align="center" /> | ||
2557 | <colspec colnum="31" colname="b04" align="center" /> | ||
2558 | <colspec colnum="32" colname="b03" align="center" /> | ||
2559 | <colspec colnum="33" colname="b02" align="center" /> | ||
2560 | <colspec colnum="34" colname="b01" align="center" /> | ||
2561 | <colspec colnum="35" colname="b00" align="center" /> | ||
2562 | <spanspec namest="b31" nameend="b00" spanname="b0" /> | ||
2563 | <thead> | ||
2564 | <row> | ||
2565 | <entry>Identifier</entry> | ||
2566 | <entry>Code</entry> | ||
2567 | <entry></entry> | ||
2568 | <entry spanname="b0">Data organization</entry> | ||
2569 | </row> | ||
2570 | <row> | ||
2571 | <entry></entry> | ||
2572 | <entry></entry> | ||
2573 | <entry>Bit</entry> | ||
2574 | <entry>31</entry> | ||
2575 | <entry>30</entry> | ||
2576 | <entry>29</entry> | ||
2577 | <entry>28</entry> | ||
2578 | <entry>27</entry> | ||
2579 | <entry>26</entry> | ||
2580 | <entry>25</entry> | ||
2581 | <entry>24</entry> | ||
2582 | <entry>23</entry> | ||
2583 | <entry>22</entry> | ||
2584 | <entry>21</entry> | ||
2585 | <entry>20</entry> | ||
2586 | <entry>19</entry> | ||
2587 | <entry>18</entry> | ||
2588 | <entry>17</entry> | ||
2589 | <entry>16</entry> | ||
2590 | <entry>15</entry> | ||
2591 | <entry>14</entry> | ||
2592 | <entry>13</entry> | ||
2593 | <entry>12</entry> | ||
2594 | <entry>11</entry> | ||
2595 | <entry>10</entry> | ||
2596 | <entry>9</entry> | ||
2597 | <entry>8</entry> | ||
2598 | <entry>7</entry> | ||
2599 | <entry>6</entry> | ||
2600 | <entry>5</entry> | ||
2601 | <entry>4</entry> | ||
2602 | <entry>3</entry> | ||
2603 | <entry>2</entry> | ||
2604 | <entry>1</entry> | ||
2605 | <entry>0</entry> | ||
2606 | </row> | ||
2607 | </thead> | ||
2608 | <tbody valign="top"> | ||
2609 | <row id="V4L2-MBUS-FMT-AHSV8888-1X32"> | ||
2610 | <entry>V4L2_MBUS_FMT_AHSV8888_1X32</entry> | ||
2611 | <entry>0x6001</entry> | ||
2612 | <entry></entry> | ||
2613 | <entry>a<subscript>7</subscript></entry> | ||
2614 | <entry>a<subscript>6</subscript></entry> | ||
2615 | <entry>a<subscript>5</subscript></entry> | ||
2616 | <entry>a<subscript>4</subscript></entry> | ||
2617 | <entry>a<subscript>3</subscript></entry> | ||
2618 | <entry>a<subscript>2</subscript></entry> | ||
2619 | <entry>a<subscript>1</subscript></entry> | ||
2620 | <entry>a<subscript>0</subscript></entry> | ||
2621 | <entry>h<subscript>7</subscript></entry> | ||
2622 | <entry>h<subscript>6</subscript></entry> | ||
2623 | <entry>h<subscript>5</subscript></entry> | ||
2624 | <entry>h<subscript>4</subscript></entry> | ||
2625 | <entry>h<subscript>3</subscript></entry> | ||
2626 | <entry>h<subscript>2</subscript></entry> | ||
2627 | <entry>h<subscript>1</subscript></entry> | ||
2628 | <entry>h<subscript>0</subscript></entry> | ||
2629 | <entry>s<subscript>7</subscript></entry> | ||
2630 | <entry>s<subscript>6</subscript></entry> | ||
2631 | <entry>s<subscript>5</subscript></entry> | ||
2632 | <entry>s<subscript>4</subscript></entry> | ||
2633 | <entry>s<subscript>3</subscript></entry> | ||
2634 | <entry>s<subscript>2</subscript></entry> | ||
2635 | <entry>s<subscript>1</subscript></entry> | ||
2636 | <entry>s<subscript>0</subscript></entry> | ||
2637 | <entry>v<subscript>7</subscript></entry> | ||
2638 | <entry>v<subscript>6</subscript></entry> | ||
2639 | <entry>v<subscript>5</subscript></entry> | ||
2640 | <entry>v<subscript>4</subscript></entry> | ||
2641 | <entry>v<subscript>3</subscript></entry> | ||
2642 | <entry>v<subscript>2</subscript></entry> | ||
2643 | <entry>v<subscript>1</subscript></entry> | ||
2644 | <entry>v<subscript>0</subscript></entry> | ||
2645 | </row> | ||
2646 | </tbody> | ||
2647 | </tgroup> | ||
2648 | </table> | ||
2649 | </section> | ||
2650 | |||
2651 | <section> | ||
2495 | <title>JPEG Compressed Formats</title> | 2652 | <title>JPEG Compressed Formats</title> |
2496 | 2653 | ||
2497 | <para>Those data formats consist of an ordered sequence of 8-bit bytes | 2654 | <para>Those data formats consist of an ordered sequence of 8-bit bytes |