Home
last modified time | relevance | path

Searched refs:pHeader (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/opengl/include/ETC1/
Detc1.h88 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height);
92 etc1_bool etc1_pkm_is_valid(const etc1_byte* pHeader);
96 etc1_uint32 etc1_pkm_get_width(const etc1_byte* pHeader);
100 etc1_uint32 etc1_pkm_get_height(const etc1_byte* pHeader);
/frameworks/base/opengl/libs/ETC1/
Detc1.cpp633 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height) { in etc1_pkm_format_header() argument
634 memcpy(pHeader, kMagic, sizeof(kMagic)); in etc1_pkm_format_header()
637 writeBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET, ETC1_RGB_NO_MIPMAPS); in etc1_pkm_format_header()
638 writeBEUint16(pHeader + ETC1_PKM_ENCODED_WIDTH_OFFSET, encodedWidth); in etc1_pkm_format_header()
639 writeBEUint16(pHeader + ETC1_PKM_ENCODED_HEIGHT_OFFSET, encodedHeight); in etc1_pkm_format_header()
640 writeBEUint16(pHeader + ETC1_PKM_WIDTH_OFFSET, width); in etc1_pkm_format_header()
641 writeBEUint16(pHeader + ETC1_PKM_HEIGHT_OFFSET, height); in etc1_pkm_format_header()
646 etc1_bool etc1_pkm_is_valid(const etc1_byte* pHeader) { in etc1_pkm_is_valid() argument
647 if (memcmp(pHeader, kMagic, sizeof(kMagic))) { in etc1_pkm_is_valid()
650 etc1_uint32 format = readBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET); in etc1_pkm_is_valid()
[all …]
/frameworks/base/media/libdrm/mobile1/src/parser/
Dparser_dcf.c50 uint8_t *pHeader, *pData; in drm_dcfParser() local
78 pHeader = tmpBuf; in drm_dcfParser()
83 pStart = pHeader; in drm_dcfParser()
/frameworks/base/media/libstagefright/codecs/aacdec/
Dget_adif_header.cpp303 ADIF_Header *pHeader = &pVars->scratch.adif_header; in get_adif_header() local
375 pHeader->bitrate = in get_adif_header()