---
name: "drm_format_plane_cpp"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_format_plane_cpp"
---

# drm\_format\_plane\_cpp(9)

determine the bytes per pixel value

## NAME

drm\_format\_plane\_cpp - determine the bytes per pixel value

## SYNOPSIS

**int drm\_format\_plane\_cpp(uint32\_t** *format***, int** *plane***);**

## ARGUMENTS

*format*

pixel format (DRM\_FORMAT\_\*)

*plane*

plane index

## RETURNS

The bytes per pixel value for the specified plane.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
