Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations
soc_mediabus.h File Reference
#include <linux/videodev2.h>
#include <linux/v4l2-mediabus.h>

Go to the source code of this file.

Data Structures

struct  soc_mbus_pixelfmt
 

Enumerations

enum  soc_mbus_packing {
  SOC_MBUS_PACKING_NONE, SOC_MBUS_PACKING_2X8_PADHI, SOC_MBUS_PACKING_2X8_PADLO, SOC_MBUS_PACKING_EXTEND16,
  SOC_MBUS_PACKING_VARIABLE, SOC_MBUS_PACKING_1_5X8
}
 
enum  soc_mbus_order { SOC_MBUS_ORDER_LE, SOC_MBUS_ORDER_BE }
 
enum  soc_mbus_layout { SOC_MBUS_LAYOUT_PACKED = 0, SOC_MBUS_LAYOUT_PLANAR_2Y_U_V, SOC_MBUS_LAYOUT_PLANAR_2Y_C, SOC_MBUS_LAYOUT_PLANAR_Y_C }
 

Enumeration Type Documentation

enum soc_mbus_layout - planes layout in memory : color components packed : YUV components stored in 3 planes (4:2:2) : YUV components stored in a luma and a chroma plane (C plane is half the size of Y plane) : YUV components stored in a luma and a chroma plane (C plane is the same size as Y plane)

Enumerator:
SOC_MBUS_LAYOUT_PACKED 
SOC_MBUS_LAYOUT_PLANAR_2Y_U_V 
SOC_MBUS_LAYOUT_PLANAR_2Y_C 
SOC_MBUS_LAYOUT_PLANAR_Y_C 

Definition at line 60 of file soc_mediabus.h.

enum soc_mbus_order - sample order on the media bus : least significant sample first : most significant sample first

Enumerator:
SOC_MBUS_ORDER_LE 
SOC_MBUS_ORDER_BE 

Definition at line 44 of file soc_mediabus.h.

enum soc_mbus_packing - data packing types on the media-bus : no packing, bit-for-bit transfer to RAM, one sample represents one pixel : 16 bits transferred in 2 8-bit samples, in the possibly incomplete byte high bits are padding : as above, but low bits are padding : sample width (e.g., 10 bits) has to be extended to 16 bits : compressed formats with variable packing : used for packed YUV 4:2:0 formats, where 4 pixels occupy 6 bytes in RAM

Enumerator:
SOC_MBUS_PACKING_NONE 
SOC_MBUS_PACKING_2X8_PADHI 
SOC_MBUS_PACKING_2X8_PADLO 
SOC_MBUS_PACKING_EXTEND16 
SOC_MBUS_PACKING_VARIABLE 
SOC_MBUS_PACKING_1_5X8 

Definition at line 30 of file soc_mediabus.h.