블로그 이미지
안녕1999

카테고리

전체 (3067)
자바스크립트 (20)
안드로이드 (14)
WebGL (4)
변비 (17)
정치,경제 (35)
C언어,ARM (162)
컴퓨터(PC, Note Book, 윈.. (41)
전자회로, PCB (27)
유머,안웃긴,GIF,동영상 (118)
국부론60 (71)
모듈(PCB) (3)
건강 (2)
FreeCAD (25)
PADS (43)
퇴직,퇴사,구직,취업 활동 (3)
C# (86)
엑셀 (8)
워드 (0)
LabView (6)
레고 (30)
FPGA (0)
Total
Today
Yesterday

달력

« » 2024.5
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

공지사항

최근에 올라온 글

'ANativeWindow_Buffer'에 해당되는 글 1건

  1. 2017.02.18 안드로이드 - NDK - ANativeWindow_Buffer

화면을 그릴때, 사용되는 픽셀정보 구조체

관련함수 : ANativeWindow_lockANativeWindow_unlockAndPost

native_window.h


typedef struct ANativeWindow_Buffer {

    // The number of pixels that are show horizontally.

    int32_t width;


    // The number of pixels that are shown vertically.

    int32_t height;


    // The number of *pixels* that a line in the buffer takes in

    // memory.  This may be >= width.

    int32_t stride; //1줄당 픽셀수


    // The format of the buffer.  One of WINDOW_FORMAT_*

    int32_t format;//WINDOW_FORMAT_RGB_565


    // The actual bits.

    void* bits;

    

    // Do not touch.

    uint32_t reserved[6];

} ANativeWindow_Buffer;

Posted by 안녕1999
, |

최근에 달린 댓글

글 보관함