Merge "graphics.h: Remove unnecessary comments for Y8/Y16 formats" into jb-mr1-aah-dev
This commit is contained in:
commit
6711f76d24
1 changed files with 2 additions and 12 deletions
|
|
@ -106,12 +106,7 @@ enum {
|
||||||
* - a horizontal stride multiple of 16 pixels
|
* - a horizontal stride multiple of 16 pixels
|
||||||
* - a vertical stride equal to the height
|
* - a vertical stride equal to the height
|
||||||
*
|
*
|
||||||
* y_size = stride * height
|
* size = stride * height
|
||||||
* c_stride = ALIGN(stride/2, 16)
|
|
||||||
* c_size = c_stride * height/2
|
|
||||||
* size = y_size + c_size * 2
|
|
||||||
* cr_offset = y_size
|
|
||||||
* cb_offset = y_size + c_size
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
HAL_PIXEL_FORMAT_Y8 = 0x20203859,
|
HAL_PIXEL_FORMAT_Y8 = 0x20203859,
|
||||||
|
|
@ -135,12 +130,7 @@ enum {
|
||||||
* - a vertical stride equal to the height
|
* - a vertical stride equal to the height
|
||||||
* - strides are specified in pixels, not in bytes
|
* - strides are specified in pixels, not in bytes
|
||||||
*
|
*
|
||||||
* y_size = stride * height
|
* size = stride * height * 2
|
||||||
* c_stride = ALIGN(stride/2, 16)
|
|
||||||
* c_size = c_stride * height/2
|
|
||||||
* size = y_size + c_size * 2
|
|
||||||
* cr_offset = y_size
|
|
||||||
* cb_offset = y_size + c_size
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
HAL_PIXEL_FORMAT_Y16 = 0x20363159,
|
HAL_PIXEL_FORMAT_Y16 = 0x20363159,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue