/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
D | ivfenc.c | 20 char header[32]; in ivf_write_file_header() local 22 header[0] = 'D'; in ivf_write_file_header() 23 header[1] = 'K'; in ivf_write_file_header() 24 header[2] = 'I'; in ivf_write_file_header() 25 header[3] = 'F'; in ivf_write_file_header() 26 mem_put_le16(header + 4, 0); // version in ivf_write_file_header() 27 mem_put_le16(header + 6, 32); // header size in ivf_write_file_header() 28 mem_put_le32(header + 8, fourcc); // fourcc in ivf_write_file_header() 29 mem_put_le16(header + 12, cfg->g_w); // width in ivf_write_file_header() 30 mem_put_le16(header + 14, cfg->g_h); // height in ivf_write_file_header() [all …]
|
D | video_reader.c | 30 char header[32]; in vpx_video_reader_open() local 36 if (fread(header, 1, 32, file) != 32) in vpx_video_reader_open() 39 if (memcmp(kIVFSignature, header, 4) != 0) in vpx_video_reader_open() 42 if (mem_get_le16(header + 4) != 0) in vpx_video_reader_open() 50 reader->info.codec_fourcc = mem_get_le32(header + 8); in vpx_video_reader_open() 51 reader->info.frame_width = mem_get_le16(header + 12); in vpx_video_reader_open() 52 reader->info.frame_height = mem_get_le16(header + 14); in vpx_video_reader_open() 53 reader->info.time_base.numerator = mem_get_le32(header + 16); in vpx_video_reader_open() 54 reader->info.time_base.denominator = mem_get_le32(header + 20); in vpx_video_reader_open()
|
/hardware/intel/common/wrs_omxil_core/utils/src/ |
D | audio_parser.c | 340 struct mp3_frame_header_s header; in mp3_header_parse() local 352 header.h0 = *(p + 3); in mp3_header_parse() 353 header.h1 = *(p + 2); in mp3_header_parse() 354 header.h2 = *(p + 1); in mp3_header_parse() 355 header.h3 = *(p + 0); in mp3_header_parse() 357 if (header.sync != 0x7ff) { in mp3_header_parse() 358 LOGE("cannot find sync (0x%03x)\n", header.sync); in mp3_header_parse() 362 version_index = header.version_index; in mp3_header_parse() 363 layer_index = header.layer_index; in mp3_header_parse() 364 bitrate_index = header.bitrate_index; in mp3_header_parse() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
D | resize_test.cc | 39 char header[32]; in write_ivf_file_header() local 41 header[0] = 'D'; in write_ivf_file_header() 42 header[1] = 'K'; in write_ivf_file_header() 43 header[2] = 'I'; in write_ivf_file_header() 44 header[3] = 'F'; in write_ivf_file_header() 45 mem_put_le16(header + 4, 0); /* version */ in write_ivf_file_header() 46 mem_put_le16(header + 6, 32); /* headersize */ in write_ivf_file_header() 47 mem_put_le32(header + 8, 0x30395056); /* fourcc (vp9) */ in write_ivf_file_header() 48 mem_put_le16(header + 12, cfg->g_w); /* width */ in write_ivf_file_header() 49 mem_put_le16(header + 14, cfg->g_h); /* height */ in write_ivf_file_header() [all …]
|
/hardware/intel/common/libwsbm/src/ |
D | wsbm_slabpool.c | 135 struct _WsbmSlabSizeHeader *header; member 311 wsbmAllocKernelBO(struct _WsbmSlabSizeHeader *header) in wsbmAllocKernelBO() argument 313 struct _WsbmSlabPool *slabPool = header->slabPool; in wsbmAllocKernelBO() 316 uint32_t size = header->bufSize * slabPool->desiredNumBuffers; in wsbmAllocKernelBO() 327 if (size < header->bufSize) in wsbmAllocKernelBO() 328 size = header->bufSize; in wsbmAllocKernelBO() 447 wsbmAllocSlab(struct _WsbmSlabSizeHeader *header) in wsbmAllocSlab() argument 459 slab->kbo = wsbmAllocKernelBO(header); in wsbmAllocSlab() 465 numBuffers = slab->kbo->actualSize / header->bufSize; in wsbmAllocSlab() 477 slab->header = header; in wsbmAllocSlab() [all …]
|
/hardware/intel/img/psb_video/fw/topazhp/ |
D | topazhp_bin.c | 136 topaz_fw_info_item_t header; member 174 sec_t[iter].text_size_bytes = tng_fw_table[iter].header.text_size * 4; in create_firmware_A0() 175 sec_t[iter].data_size_bytes = tng_fw_table[iter].header.data_size * 4; in create_firmware_A0() 176 sec_t[iter].data_relocation = tng_fw_table[iter].header.data_location; in create_firmware_A0() 189 sec_t[iter].text_size_bytes = tng_fw_table[iter].header.text_size * 4; in create_firmware_A0() 190 sec_t[iter].data_size_bytes = tng_fw_table[iter].header.data_size * 4; in create_firmware_A0() 191 sec_t[iter].data_relocation = tng_fw_table[iter].header.data_location; in create_firmware_A0() 203 size = tng_fw_table[iter].header.text_size * 4; in create_firmware_A0() 210 size = tng_fw_table[iter].header.data_size * 4; in create_firmware_A0() 260 sec_t[iter].text_size_bytes = tng_fw_table[iter].header.data_location & data_loco; in create_firmware_B0() [all …]
|
D | fwinfo.c | 71 topaz_fw_info_item_t header; member 154 fread(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp); in main() 157 printf("topaz: index : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); in main() 158 printf("topaz: ver : 0x%04x\n", topaz_fw_table[iter].header.ver); in main() 159 printf("topaz: Codec : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); in main() 160 printf("topaz: text_size : %d\n", (topaz_fw_table[iter].header.text_size >> 2)); in main() 161 printf("topaz: data_size : %d\n", (topaz_fw_table[iter].header.data_size >> 2)); in main() 162 printf("topaz: data_location : 0x%08x\n\n", topaz_fw_table[iter].header.data_location); in main() 164 …fseek(fp, topaz_fw_table[iter].header.text_size + topaz_fw_table[iter].header.data_size, SEEK_CUR); in main() 168 for (i = 0; i < (topaz_fw_table[iter].header.text_size >> 2); i++) { in main() [all …]
|
/hardware/intel/img/psb_video/fw/topazsc/ |
D | fwinfo.c | 71 topaz_fw_info_item_t header; member 154 fread(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp); in main() 157 printf("topaz: index : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); in main() 158 printf("topaz: ver : 0x%04x\n", topaz_fw_table[iter].header.ver); in main() 159 printf("topaz: Codec : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); in main() 160 printf("topaz: text_size : %d\n", (topaz_fw_table[iter].header.text_size >> 2)); in main() 161 printf("topaz: data_size : %d\n", (topaz_fw_table[iter].header.data_size >> 2)); in main() 162 printf("topaz: data_location : 0x%08x\n\n", topaz_fw_table[iter].header.data_location); in main() 164 …fseek(fp, topaz_fw_table[iter].header.text_size + topaz_fw_table[iter].header.data_size, SEEK_CUR); in main() 168 for (i = 0; i < (topaz_fw_table[iter].header.text_size >> 2); i++) { in main() [all …]
|
D | topaz_bin.c | 74 topaz_fw_info_item_t header; member 229 topaz_fw_table[iter].header.data_size *= 4; in main() 230 topaz_fw_table[iter].header.text_size *= 4; in main() 233 fwrite(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp); in main() 236 size = topaz_fw_table[iter].header.text_size; in main() 240 size = topaz_fw_table[iter].header.data_size; in main()
|
D | topazsc_bin.c | 124 topaz_fw_info_item_t header; member 178 topaz_fw_table[iter].header.data_size *= 4; in main() 179 topaz_fw_table[iter].header.text_size *= 4; in main() 182 fwrite(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp); in main() 185 size = topaz_fw_table[iter].header.text_size; in main() 189 size = topaz_fw_table[iter].header.data_size; in main()
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
D | ts_parser.cpp | 127 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument 130 if (!reorder_ts || error || !header) { in insert_timestamp() 131 if (error || !header) in insert_timestamp() 132 DEBUG("\n Invalid condition in insert_timestamp %p", header); in insert_timestamp() 144 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp() 147 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) in insert_timestamp() 168 *table_entry = header->nTimeStamp; in insert_timestamp() 170 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp() 171 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp() 211 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument [all …]
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
D | ts_parser.cpp | 144 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument 148 if (!reorder_ts || error || !header) { in insert_timestamp() 149 if (error || !header) in insert_timestamp() 150 DEBUG("Invalid condition in insert_timestamp %p", header); in insert_timestamp() 166 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp() 170 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) { in insert_timestamp() 195 *table_entry = header->nTimeStamp; in insert_timestamp() 198 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp() 200 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp() 247 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument [all …]
|
/hardware/libhardware/include/hardware/ |
D | qemud.h | 107 char header[5]; in qemud_channel_send() local 115 snprintf(header, sizeof header, "%04x", msglen); in qemud_channel_send() 116 if (qemud_fd_write(fd, header, 4) != 4) { in qemud_channel_send() 131 char header[5]; in qemud_channel_recv() local 134 if (qemud_fd_read(fd, header, 4) != 4) { in qemud_channel_recv() 138 header[4] = 0; in qemud_channel_recv() 139 if (sscanf(header, "%04x", &size) != 1) { in qemud_channel_recv() 140 D("malformed qemud frame header: '%.*s'", 4, header); in qemud_channel_recv()
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/public/ |
D | MobiCoreDriverCmd.h | 75 mcDrvResponseHeader_t header; member 84 mcDrvResponseHeader_t header; member 104 mcDrvResponseHeader_t header; member 116 mcDrvResponseHeader_t header; member 144 mcDrvResponseHeader_t header; member 159 mcDrvResponseHeader_t header; member 173 mcDrvResponseHeader_t header; member 197 mcDrvResponseHeader_t header; member 203 mcDrvCommandHeader_t header; member 217 mcDrvResponseHeader_t header; member
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
D | vp8_multi_resolution_encoder.c | 135 char header[32]; in write_ivf_file_header() local 139 header[0] = 'D'; in write_ivf_file_header() 140 header[1] = 'K'; in write_ivf_file_header() 141 header[2] = 'I'; in write_ivf_file_header() 142 header[3] = 'F'; in write_ivf_file_header() 143 mem_put_le16(header+4, 0); /* version */ in write_ivf_file_header() 144 mem_put_le16(header+6, 32); /* headersize */ in write_ivf_file_header() 145 mem_put_le32(header+8, fourcc); /* headersize */ in write_ivf_file_header() 146 mem_put_le16(header+12, cfg->g_w); /* width */ in write_ivf_file_header() 147 mem_put_le16(header+14, cfg->g_h); /* height */ in write_ivf_file_header() [all …]
|
/hardware/intel/img/libdrm/libdrm/ |
D | config.h.in | 9 /* Define to 1 if you have the <dlfcn.h> header file. */ 12 /* Define to 1 if you have the <inttypes.h> header file. */ 18 /* Define to 1 if you have the <memory.h> header file. */ 21 /* Define to 1 if you have the <stdint.h> header file. */ 24 /* Define to 1 if you have the <stdlib.h> header file. */ 27 /* Define to 1 if you have the <strings.h> header file. */ 30 /* Define to 1 if you have the <string.h> header file. */ 33 /* Define to 1 if you have the <sys/stat.h> header file. */ 36 /* Define to 1 if you have the <sys/types.h> header file. */ 39 /* Define to 1 if you have the <unistd.h> header file. */ [all …]
|
/hardware/samsung_slsi/exynos5/libkeymaster/ |
D | tlcTeeKeymaster_if.c | 184 pTci->command.header.commandId = CMD_ID_TEE_RSA_GEN_KEY_PAIR; in TEE_RSAGenerateKeyPair() 214 if (RET_OK != pTci->response.header.returnCode) in TEE_RSAGenerateKeyPair() 217 pTci->response.header.returnCode); in TEE_RSAGenerateKeyPair() 293 pTci->command.header.commandId = CMD_ID_TEE_RSA_SIGN; in TEE_RSASign() 342 if (RET_OK != pTci->response.header.returnCode) in TEE_RSASign() 345 pTci->response.header.returnCode); in TEE_RSASign() 423 pTci->command.header.commandId = CMD_ID_TEE_RSA_VERIFY; in TEE_RSAVerify() 473 if (RET_OK != pTci->response.header.returnCode) in TEE_RSAVerify() 476 pTci->response.header.returnCode); in TEE_RSAVerify() 530 pTci->command.header.commandId = CMD_ID_TEE_HMAC_GEN_KEY; in TEE_HMACKeyGenerate() [all …]
|
/hardware/libhardware_legacy/qemu/ |
D | qemu.c | 256 char header[5]; in qemu_command_vformat() local 266 snprintf(header, sizeof header, "%04x", len); in qemu_command_vformat() 267 memcpy(buffer, header, 4); in qemu_command_vformat() 354 char header[5], *end; in qemu_control_query() local 373 ret = qemu_fd_read( fd, header, 4 ); in qemu_control_query() 380 header[4] = 0; in qemu_control_query() 381 len = strtol( header, &end, 16 ); in qemu_control_query() 382 if ( len < 0 || end == NULL || end != header+4 || len > answersize ) { in qemu_control_query() 384 __FUNCTION__, header); in qemu_control_query()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/ |
D | diff.py | 44 def __init__(self, header, file_a, file_b, start_a, len_a, start_b, len_b): argument 45 self.header = header 117 header = [a_line, b_line, line] 118 hunk = DiffHunk(header, a, b, start_a, len_a, start_b, len_b)
|
D | intersect-diffs.py | 29 this_header = hunk.header[0:2] 31 r.extend(hunk.header) 34 r.extend(hunk.header[2])
|
/hardware/ril/rild/ |
D | rild.c | 99 struct __user_cap_header_struct header; in switchUser() local 100 memset(&header, 0, sizeof(header)); in switchUser() 101 header.version = _LINUX_CAPABILITY_VERSION_3; in switchUser() 102 header.pid = 0; in switchUser() 113 if (capset(&header, &data[0]) == -1) { in switchUser()
|
/hardware/qcom/msm8960/original-kernel-headers/linux/mfd/wcd9xxx/ |
D | Kbuild | 1 header-y += wcd9xxx_registers.h 2 header-y += wcd9310_registers.h
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/ |
D | ts_parser.h | 55 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header); 56 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/ |
D | ts_parser.h | 54 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header); 55 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);
|
/hardware/intel/bootstub/ |
D | sfi.h | 41 struct sfi_table_header header; member 48 ((ptable->header.length - SFI_TBL_HEADER_LEN) / \
|