API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

CAMERA ENCODING TYPES

Brew Release
Brew MP 1.0.2
See Also
ICAMERA_SetVideoEncode()
Description
Camera encoding. In addition to these values, AEECLSID of media formats can also be used -- for example, AEECLSID_JPEG or AEECLSID_MEDIAMPEG4.
Members
  • CAM_ENCODE_RAW:               Raw format -- catch all
  • CAM_ENCODE_YCBCR:             YCbCr format
  • CAM_ENCODE_RGB565:            BREW IDIB RGB565 color-scheme
  • CAM_ENCODE_UUID:              UUID
  • CAM_ENCODE_UUID_DATA:         UUID data
  • CAM_ENCODE_SHORT_HEADER:      Short header
  • CAM_ENCODE_UUID_LIST_ATOM_INFO:    UUID atom data
Definition
  • #define CAM_ENCODE_BASE                   1                     // Encode base used by ICamera
    #define CAM_ENCODE_RAW                    (CAM_ENCODE_BASE)     // Raw format -- catch all
    #define CAM_ENCODE_YCBCR                  (CAM_ENCODE_BASE + 1) // YCbCr format
    #define CAM_ENCODE_RGB565                 (CAM_ENCODE_BASE + 2) // BREW IDIB RGB565 color-scheme
    #define CAM_ENCODE_UUID                   (CAM_ENCODE_BASE + 3) // UUID
    #define CAM_ENCODE_UUID_DATA              (CAM_ENCODE_BASE + 4) // UUID data
    #define CAM_ENCODE_SHORT_HEADER           (CAM_ENCODE_BASE + 5) // Short header
    #define CAM_ENCODE_UUID_LIST_ATOM_INFO    (CAM_ENCODE_BASE + 6) // UUID atom data
    
Comments
These values are used to set the video encoding, ICAMERA_SetVideoEncode(). Not all encoding types may be supported.