Home
last modified time | relevance | path

Searched refs:header (Results 1 – 25 of 62) sorted by relevance

123

/hardware/intel/common/wrs_omxil_core/utils/src/
Daudio_parser.c340 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/libmix/mix_video/src/
Dmixvideoconfigparamsdec.c38 memset(&self->header, 0, sizeof(self->header)); in mix_videoconfigparamsdec_init()
90 if (self->header.data) { in mix_videoconfigparamsdec_finalize()
91 g_free(self->header.data); in mix_videoconfigparamsdec_finalize()
92 memset(&self->header, 0, sizeof(self->header)); in mix_videoconfigparamsdec_finalize()
172 &this_src->header); in mix_videoconfigparamsdec_copy()
271 if (this_first->header.data_size != this_second->header.data_size) { in mix_videoconfigparamsdec_equal()
275 if (this_first->header.buffer_size != this_second->header.buffer_size) { in mix_videoconfigparamsdec_equal()
279 if (this_first->header.data && this_second->header.data) { in mix_videoconfigparamsdec_equal()
280 if (memcmp(this_first->header.data, this_second->header.data, in mix_videoconfigparamsdec_equal()
281 this_first->header.data_size) != 0) { in mix_videoconfigparamsdec_equal()
[all …]
Dmixvideoformat_vc1.c173 MixIOVec *header) in mix_videofmt_vc1_update_seq_header() argument
179 guchar* p = header->data; in mix_videofmt_vc1_update_seq_header()
182 if (!config_params || !header) in mix_videofmt_vc1_update_seq_header()
199 while (i < header->data_size - 2) in mix_videofmt_vc1_update_seq_header()
210 p = g_malloc0(header->data_size + 9); in mix_videofmt_vc1_update_seq_header()
230 memcpy(p + 8, header->data, header->data_size); in mix_videofmt_vc1_update_seq_header()
231 *(p + header->data_size + 8) = 0x80; in mix_videofmt_vc1_update_seq_header()
233 g_free(header->data); in mix_videofmt_vc1_update_seq_header()
234 header->data = p; in mix_videofmt_vc1_update_seq_header()
235 header->data_size = header->data_size + 9; in mix_videofmt_vc1_update_seq_header()
[all …]
Dmixvideoconfigparamsdec.h72 MixIOVec header; member
145 MixIOVec *header);
149 MixIOVec ** header);
Dmixvideoformat_h264.c165 MixIOVec *header = NULL; in mix_videofmt_h264_initialize() local
225 &header); in mix_videofmt_h264_initialize()
227 if ((ret != MIX_RESULT_SUCCESS) || (header == NULL)) in mix_videofmt_h264_initialize()
246 pret = vbp_parse(parent->parser_handle, header->data, in mix_videofmt_h264_initialize()
247 header->data_size, TRUE); in mix_videofmt_h264_initialize()
547 if (header != NULL) in mix_videofmt_h264_initialize()
549 if (header->data != NULL) in mix_videofmt_h264_initialize()
550 g_free(header->data); in mix_videofmt_h264_initialize()
551 g_free(header); in mix_videofmt_h264_initialize()
552 header = NULL; in mix_videofmt_h264_initialize()
/hardware/intel/img/psb_video/fw/topazsc/
Dfwinfo.c71 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 …]
Dtopaz_bin.c74 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()
Dtopazsc_bin.c124 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/intel/img/psb_video/fw/topazhp/
Dfwinfo.c71 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 …]
Dtopazhp_bin.c136 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 …]
/hardware/intel/common/libwsbm/src/
Dwsbm_slabpool.c135 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()
481 slab->header = header; in wsbmAllocSlab()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dts_parser.cpp127 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/msm8974/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp148 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
153 if (!reorder_ts || error || !header) { in insert_timestamp()
154 if (error || !header) in insert_timestamp()
155 DEBUG("Invalid condition in insert_timestamp %p", header); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
175 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) { in insert_timestamp()
200 *table_entry = header->nTimeStamp; in insert_timestamp()
203 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
205 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
254 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp148 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
153 if (!reorder_ts || error || !header) { in insert_timestamp()
154 if (error || !header) in insert_timestamp()
155 DEBUG("Invalid condition in insert_timestamp %p", header); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
175 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) { in insert_timestamp()
200 *table_entry = header->nTimeStamp; in insert_timestamp()
203 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
205 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
254 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp148 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
153 if (!reorder_ts || error || !header) { in insert_timestamp()
154 if (error || !header) in insert_timestamp()
155 DEBUG("Invalid condition in insert_timestamp %p", header); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
175 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) { in insert_timestamp()
200 *table_entry = header->nTimeStamp; in insert_timestamp()
203 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
205 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
254 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/qcom/msm8960/original-kernel-headers/linux/mfd/wcd9xxx/
DKbuild1 header-y += wcd9xxx_registers.h
2 header-y += wcd9310_registers.h
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Dts_parser.h54 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header);
55 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);
/hardware/intel/bootstub/
Dsfi.h41 struct sfi_table_header header; member
48 ((ptable->header.length - SFI_TBL_HEADER_LEN) / \
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h70 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header);
71 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h70 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header);
71 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h70 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header);
71 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);
/hardware/intel/common/libmix/mix_common/
Dmixcommon.spec13 MIX Common contains common classes, datatype, header files used by other MIX components
21 The %{name}-devel package contains the header files and static libraries for building applications …
/hardware/intel/common/libmix/mix_video/
Dmixvideo.spec30 The %{name}-devel package contains the header files and static libraries for building applications …
40 The %{name}-int-devel package contains the header files and static libraries for building applicati…
/hardware/qcom/audio/hal/msm8960/
Dplatform.c917 struct audio_block_header header; in platform_edid_get_max_channels() local
932 fread(&header, 1, sizeof(header), file); in platform_edid_get_max_channels()
935 if (header.length > (int)sizeof(block)) in platform_edid_get_max_channels()
936 header.length = (int)sizeof(block); in platform_edid_get_max_channels()
937 fread(&block, header.length, 1, file); in platform_edid_get_max_channels()
942 num_audio_blocks = header.length / SAD_BLOCK_SIZE; in platform_edid_get_max_channels()
/hardware/interfaces/contexthub/1.0/
Dtypes.hal39 // the CHRE API header file chre/version.h for more information. The hub
46 // common nanoapp header that contains the app ID, etc., as this data is
126 // specify the CHRE implementation version. See also the CHRE API header
134 // ID. See also the CHRE API header file chre/version.h.

123