/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
H A D | decode_to_md5.c | 67 static void print_md5(FILE *stream, unsigned char digest[16]) { argument 71 fprintf(stream, "%02x", digest[i]);
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
H A D | mm_qcamera_video.c | 64 mm_camera_stream_t *stream = NULL; local 67 stream = mm_app_add_stream(test_obj, channel); 68 if (NULL == stream) { 69 LOGE("add stream failed\n"); 73 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; 74 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; 75 stream->s_config.mem_vtbl.clean_invalidate_buf = 77 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; 78 stream->s_config.mem_vtbl.user_data = (void *)stream; 105 mm_camera_stream_t *stream = NULL; local [all...] |
H A D | mm_qcamera_rdi.c | 99 mm_camera_stream_t *stream = NULL; local 142 stream = mm_app_add_stream(test_obj, channel); 143 if (NULL == stream) { 144 LOGE(" add stream failed\n"); 148 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; 149 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; 150 stream->s_config.mem_vtbl.clean_invalidate_buf = 152 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; 153 stream->s_config.mem_vtbl.user_data = (void *)stream; 199 mm_camera_stream_t *stream = NULL; local 245 mm_camera_stream_t *stream = NULL; local 277 mm_camera_stream_t *stream = NULL; local [all...] |
H A D | mm_qcamera_reprocess.c | 61 // We have only one stream and buffer 116 mm_camera_stream_t *stream = NULL; local 129 stream = mm_app_add_stream(test_obj, channel); 130 if (NULL == stream) { 131 LOGE(" add stream failed\n"); 135 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; 136 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; 137 stream->s_config.mem_vtbl.clean_invalidate_buf = 139 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; 140 stream 174 mm_camera_stream_t *stream = NULL; local [all...] |
H A D | mm_qcamera_snapshot.c | 211 /* find meta stream */ 220 LOGE(" cannot find metadata stream"); 291 /* find snapshot stream */ 299 LOGE(" cannot find snapshot stream"); 359 /* find snapshot stream */ 367 LOGE(" cannot find snapshot stream"); 387 /* find postview stream */ 453 mm_camera_stream_t *stream = NULL; local 465 stream = mm_app_add_snapshot_stream(test_obj, 471 if (NULL == stream) { 488 mm_camera_stream_t *stream = NULL; local [all...] |
H A D | mm_qcamera_preview.c | 74 /* find preview stream */ 83 LOGE("cannot find metadata stream"); 157 /* find snapshot stream */ 165 LOGE("cannot find snapshot stream"); 185 /* find postview stream */ 275 /* find preview stream */ 284 LOGE("cannot find preview stream"); 354 /* find preview stream */ 362 LOGE("cannot find preview stream"); 366 /* find snapshot stream */ 523 mm_camera_stream_t *stream = NULL; local 599 mm_camera_stream_t *stream = NULL; local 658 mm_camera_stream_t *stream = NULL; local 750 mm_camera_stream_t *stream = NULL; local 828 mm_camera_stream_t *stream = NULL; local 901 mm_camera_stream_t *stream = NULL; local 931 mm_camera_stream_t *stream = NULL; local 971 mm_camera_stream_t *stream = NULL; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | webmenc.h | 40 FILE *stream; member in struct:EbmlGlobal
|
H A D | tools_common.c | 50 FILE *set_binary_mode(FILE *stream) { argument 51 (void)stream; 53 _setmode(_fileno(stream), _O_BINARY); 55 return stream;
|
/hardware/qcom/camera/QCamera2/HAL/ |
H A D | QCameraChannel.h | 60 virtual int32_t linkStream(QCameraChannel *ch, QCameraStream *stream); 158 QCameraStream *stream; member in struct:qcamera::QCameraReprocessChannel::__anon2193
|
/hardware/intel/common/libva/test/decode/ |
H A D | tinyjpeg-internal.h | 105 const unsigned char *stream; /* Pointer to the current stream */ member in struct:jdec_private
|
H A D | tinyjpeg.c | 174 static void print_SOF(const unsigned char *stream) argument 187 precision = stream[2]; 188 height = be16_to_cpu(stream+3); 189 width = be16_to_cpu(stream+5); 190 nr_components = stream[7]; 199 static int parse_DQT(struct jdec_private *priv, const unsigned char *stream) argument 205 dqt_block_end = stream + be16_to_cpu(stream); 206 stream += 2; /* Skip length */ 208 while (stream < dqt_block_en 225 parse_SOF(struct jdec_private *priv, const unsigned char *stream) argument 274 parse_SOS(struct jdec_private *priv, const unsigned char *stream) argument 306 tinyjpeg_parse_SOS(struct jdec_private *priv, const unsigned char *stream) argument 312 parse_DHT(struct jdec_private *priv, const unsigned char *stream) argument 365 parse_DRI(struct jdec_private *priv, const unsigned char *stream) argument 389 findEOI(struct jdec_private *priv,const unsigned char *stream) argument 400 findSOI(struct jdec_private *priv,const unsigned char *stream) argument 416 parse_JFIF(struct jdec_private *priv, const unsigned char *stream) argument [all...] |
/hardware/libhardware_legacy/audio/ |
H A D | AudioPolicyCompatClient.cpp | 88 status_t AudioPolicyCompatClient::invalidateStream(AudioSystem::stream_type stream) argument 90 return mServiceOps->invalidate_stream(mService, (audio_stream_type_t)stream); 120 AudioSystem::stream_type stream, 125 return mServiceOps->set_stream_volume(mService, (audio_stream_type_t)stream, 130 AudioSystem::stream_type stream) 134 (audio_stream_type_t)stream); 119 setStreamVolume( AudioSystem::stream_type stream, float volume, audio_io_handle_t output, int delayMs) argument 129 startTone(ToneGenerator::tone_type tone, AudioSystem::stream_type stream) argument
|
H A D | audio_policy_hal.cpp | 137 audio_stream_type_t stream, 147 return lap->apm->getOutput((AudioSystem::stream_type)stream, 154 audio_stream_type_t stream, audio_session_t session) 157 return lap->apm->startOutput(output, (AudioSystem::stream_type)stream, 162 audio_stream_type_t stream, audio_session_t session) 165 return lap->apm->stopOutput(output, (AudioSystem::stream_type)stream, 206 audio_stream_type_t stream, int index_min, 210 lap->apm->initStreamVolume((AudioSystem::stream_type)stream, index_min, 215 audio_stream_type_t stream, 219 return lap->apm->setStreamVolumeIndex((AudioSystem::stream_type)stream, 136 ap_get_output(struct audio_policy *pol, audio_stream_type_t stream, uint32_t sampling_rate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument 153 ap_start_output(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 161 ap_stop_output(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 205 ap_init_stream_volume(struct audio_policy *pol, audio_stream_type_t stream, int index_min, int index_max) argument 214 ap_set_stream_volume_index(struct audio_policy *pol, audio_stream_type_t stream, int index) argument 224 ap_get_stream_volume_index(const struct audio_policy *pol, audio_stream_type_t stream, int *index) argument 234 ap_set_stream_volume_index_for_device(struct audio_policy *pol, audio_stream_type_t stream, int index, audio_devices_t device) argument 245 ap_get_stream_volume_index_for_device(const struct audio_policy *pol, audio_stream_type_t stream, int *index, audio_devices_t device) argument 256 ap_get_strategy_for_stream(const struct audio_policy *pol, audio_stream_type_t stream) argument 263 ap_get_devices_for_stream(const struct audio_policy *pol, audio_stream_type_t stream) argument 300 ap_is_stream_active(const struct audio_policy *pol, audio_stream_type_t stream, uint32_t in_past_ms) argument 307 ap_is_stream_active_remotely(const struct audio_policy *pol, audio_stream_type_t stream, uint32_t in_past_ms) argument [all...] |
/hardware/intel/common/libmix/videodecoder/securevideo/clovertrail/ |
H A D | VideoDecoderAVCSecure.cpp | 28 // mask for little endian, to mast the second and fourth bytes in the byte stream 352 int32_t VideoDecoderAVCSecure::findNalUnitOffset(uint8_t *stream, int32_t offset, int32_t length) { argument 366 ptr = (uint8_t *) (stream + offset); 413 return (int32_t)(ptr - stream); 419 Decode_Status VideoDecoderAVCSecure::copyNaluHeader(uint8_t *stream, NaluByteStream *naluStream) { argument 423 naluType = *(uint8_t *)(stream + naluStream->naluOffset); 446 memcpy(naluStream->byteStream + naluStream->streamPos, (uint8_t*)(stream + naluStream->naluOffset), naluHeaderLen); 453 // parse start-code prefixed stream, also knowns as Annex B byte stream, commonly used in AVI, ES, MPEG2 TS container 454 Decode_Status VideoDecoderAVCSecure::parseAnnexBStream(uint8_t *stream, int32_ argument [all...] |
/hardware/intel/common/libmix/videodecoder/securevideo/merrplus/ |
H A D | VideoDecoderAVCSecure.cpp | 28 // mask for little endian, to mast the second and fourth bytes in the byte stream 355 int32_t VideoDecoderAVCSecure::findNalUnitOffset(uint8_t *stream, int32_t offset, int32_t length) { argument 369 ptr = (uint8_t *) (stream + offset); 416 return (int32_t)(ptr - stream); 422 Decode_Status VideoDecoderAVCSecure::copyNaluHeader(uint8_t *stream, NaluByteStream *naluStream) { argument 426 naluType = *(uint8_t *)(stream + naluStream->naluOffset); 449 memcpy(naluStream->byteStream + naluStream->streamPos, (uint8_t*)(stream + naluStream->naluOffset), naluHeaderLen); 456 // parse start-code prefixed stream, also knowns as Annex B byte stream, commonly used in AVI, ES, MPEG2 TS container 457 Decode_Status VideoDecoderAVCSecure::parseAnnexBStream(uint8_t *stream, int32_ argument [all...] |
/hardware/libhardware/modules/audio/ |
H A D | audio_policy.c | 98 audio_stream_type_t stream, 109 audio_stream_type_t stream, int session) 115 audio_stream_type_t stream, int session) 149 audio_stream_type_t stream, int index_min, 155 audio_stream_type_t stream, 162 audio_stream_type_t stream, 169 audio_stream_type_t stream, 177 audio_stream_type_t stream, 185 audio_stream_type_t stream) 191 audio_stream_type_t stream) 97 ap_get_output(struct audio_policy *pol, audio_stream_type_t stream, uint32_t sampling_rate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *info) argument 108 ap_start_output(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, int session) argument 114 ap_stop_output(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, int session) argument 148 ap_init_stream_volume(struct audio_policy *pol, audio_stream_type_t stream, int index_min, int index_max) argument 154 ap_set_stream_volume_index(struct audio_policy *pol, audio_stream_type_t stream, int index) argument 161 ap_get_stream_volume_index(const struct audio_policy *pol, audio_stream_type_t stream, int *index) argument 168 ap_set_stream_volume_index_for_device(struct audio_policy *pol, audio_stream_type_t stream, int index, audio_devices_t device) argument 176 ap_get_stream_volume_index_for_device(const struct audio_policy *pol, audio_stream_type_t stream, int *index, audio_devices_t device) argument 184 ap_get_strategy_for_stream(const struct audio_policy *pol, audio_stream_type_t stream) argument 190 ap_get_devices_for_stream(const struct audio_policy *pol, audio_stream_type_t stream) argument 222 ap_is_stream_active(const struct audio_policy *pol, audio_stream_type_t stream, uint32_t in_past_ms) argument [all...] |
H A D | audio_hw.c | 37 struct audio_stream_out stream; member in struct:stub_stream_out 41 struct audio_stream_in stream; member in struct:stub_stream_in 44 static uint32_t out_get_sample_rate(const struct audio_stream *stream) argument 49 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument 55 static size_t out_get_buffer_size(const struct audio_stream *stream) argument 61 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) argument 67 static audio_format_t out_get_format(const struct audio_stream *stream) argument 73 static int out_set_format(struct audio_stream *stream, audio_format_t format) argument 79 static int out_standby(struct audio_stream *stream) argument 86 static int out_dump(const struct audio_stream *stream, in argument 92 out_set_parameters(struct audio_stream *stream, const char *kvpairs) argument 98 out_get_parameters(const struct audio_stream *stream, const char *keys) argument 104 out_get_latency(const struct audio_stream_out *stream) argument 110 out_set_volume(struct audio_stream_out *stream, float left, float right) argument 117 out_write(struct audio_stream_out *stream, const void* buffer, size_t bytes) argument 127 out_get_render_position(const struct audio_stream_out *stream, uint32_t *dsp_frames) argument 135 out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) argument 141 out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) argument 147 out_get_next_write_timestamp(const struct audio_stream_out *stream, int64_t *timestamp) argument 156 in_get_sample_rate(const struct audio_stream *stream) argument 162 in_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument 168 in_get_buffer_size(const struct audio_stream *stream) argument 174 in_get_channels(const struct audio_stream *stream) argument 180 in_get_format(const struct audio_stream *stream) argument 185 in_set_format(struct audio_stream *stream, audio_format_t format) argument 190 in_standby(struct audio_stream *stream) argument 195 in_dump(const struct audio_stream *stream, int fd) argument 200 in_set_parameters(struct audio_stream *stream, const char *kvpairs) argument 205 in_get_parameters(const struct audio_stream *stream, const char *keys) argument 211 in_set_gain(struct audio_stream_in *stream, float gain) argument 216 in_read(struct audio_stream_in *stream, void* buffer, size_t bytes) argument 227 in_get_input_frames_lost(struct audio_stream_in *stream) argument 232 in_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) argument 237 in_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) argument 287 adev_close_output_stream(struct audio_hw_device *dev, struct audio_stream_out *stream) argument [all...] |
/hardware/libhardware/modules/camera/ |
H A D | Camera.cpp | 149 ALOGE("%s:%d: NULL stream configuration array", __func__, mId); 153 ALOGE("%s:%d: Empty stream configuration array", __func__, mId); 157 // Create new stream array 165 // Fill new stream array with reused streams and new streams 169 ALOGV("%s:%d: Reusing stream %d", __func__, mId, i); 172 ALOGV("%s:%d: Creating new stream %d", __func__, mId, i); 177 ALOGE("%s:%d: Error processing stream %d", __func__, mId, i); 185 ALOGE("%s:%d: Invalid stream set", __func__, mId); 192 // Destroy all old streams and replace stream array with new one 222 // Verify the re-used stream' 305 Stream *stream = reinterpret_cast<Stream*>(buf_set->stream->priv); local [all...] |
/hardware/libhardware/tests/keymaster/ |
H A D | keymaster_test.cpp | 73 friend std::ostream &operator<<(std::ostream &stream, const UniqueBlob& blob); 79 std::ostream &operator<<(std::ostream &stream, const UniqueBlob& blob) { argument 81 stream << "Blob length=" << length << " < "; 85 stream << std::hex << std::setw(2) << std::setfill('0') 88 stream << '>' << std::endl; 90 return stream;
|
/hardware/qcom/audio/msm8909/hal/audio_extn/ |
H A D | ssr.c | 468 int32_t audio_extn_ssr_read(struct audio_stream_in *stream, argument 471 struct stream_in *in = (struct stream_in *)stream;
|
/hardware/ril/libril/ |
H A D | RilSapSocket.cpp | 398 pb_istream_t stream = pb_istream_from_buffer((uint8_t *)p_record, recordlen); local 409 if (!pb_decode(&stream, MsgHeader_fields, reqHeader) ) { 410 RLOGE("Error decoding protobuf buffer : %s", PB_GET_ERROR(&stream));
|
/hardware/ti/omap4xxx/security/tf_daemon/ |
H A D | delegation_client.c | 447 FILE *stream; local 463 stream = fopen(checkAccess, "w+b"); 464 if (!stream) 469 fclose(stream);
|
/hardware/libhardware/modules/audio_remote_submix/ |
H A D | audio_hw.cpp | 80 // A legacy user of this device does not close the input stream when it shuts down, which 81 // results in the application opening a new input stream before closing the old input stream 83 // multiple input streams from this device. If this option is enabled, each input stream returned 84 // is *the same stream* which means that readers will race to read data from these streams. 91 // Folder to save stream log files to. 96 // File permissions for stream log files. 127 // output_channel_mask depending upon the last stream to be opened on this device. 129 // Input stream and output stream channe 178 struct audio_stream_out stream; member in struct:android::submix_stream_out 190 struct audio_stream_in stream; member in struct:android::submix_stream_in 276 audio_stream_out_get_submix_stream_out( struct audio_stream_out * const stream) argument 285 audio_stream_get_submix_stream_out( struct audio_stream * const stream) argument 295 audio_stream_in_get_submix_stream_in( struct audio_stream_in * const stream) argument 304 audio_stream_get_submix_stream_in( struct audio_stream * const stream) argument [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | audio_policy_hal.cpp | 137 audio_stream_type_t stream, 146 return qap->apm->getOutput((AudioSystem::stream_type)stream, 152 audio_stream_type_t stream, int session) 155 return qap->apm->startOutput(output, (AudioSystem::stream_type)stream, 160 audio_stream_type_t stream, int session) 163 return qap->apm->stopOutput(output, (AudioSystem::stream_type)stream, 204 audio_stream_type_t stream, int index_min, 208 qap->apm->initStreamVolume((AudioSystem::stream_type)stream, index_min, 213 audio_stream_type_t stream, 217 return qap->apm->setStreamVolumeIndex((AudioSystem::stream_type)stream, 136 ap_get_output(struct audio_policy *pol, audio_stream_type_t stream, uint32_t sampling_rate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument 151 ap_start_output(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, int session) argument 159 ap_stop_output(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, int session) argument 203 ap_init_stream_volume(struct audio_policy *pol, audio_stream_type_t stream, int index_min, int index_max) argument 212 ap_set_stream_volume_index(struct audio_policy *pol, audio_stream_type_t stream, int index) argument 222 ap_get_stream_volume_index(const struct audio_policy *pol, audio_stream_type_t stream, int *index) argument 232 ap_set_stream_volume_index_for_device(struct audio_policy *pol, audio_stream_type_t stream, int index, audio_devices_t device) argument 243 ap_get_stream_volume_index_for_device(const struct audio_policy *pol, audio_stream_type_t stream, int *index, audio_devices_t device) argument 254 ap_get_strategy_for_stream(const struct audio_policy *pol, audio_stream_type_t stream) argument 261 ap_get_devices_for_stream(const struct audio_policy *pol, audio_stream_type_t stream) argument 298 ap_is_stream_active(const struct audio_policy *pol, audio_stream_type_t stream, uint32_t in_past_ms) argument 306 ap_is_stream_active_remotely(const struct audio_policy *pol, audio_stream_type_t stream, uint32_t in_past_ms) argument [all...] |
/hardware/qcom/audio/msm8909/hal/voice_extn/ |
H A D | compress_voip.c | 44 .rate = 8000, /* changed when the stream is opened */ 52 .rate = 16000, /* changed when the stream is opened */ 308 /* 2. Get and set stream specific mixer controls */ 347 uc_info->stream.out = voip_data.out_stream; 349 uc_info->stream.out = adev->primary_output; 408 uc_info->stream.out = voip_data.out_stream; 410 uc_info->stream.out = adev->primary_output; 583 uc_info->stream.out = out; 623 int voice_extn_compress_voip_close_output_stream(struct audio_stream *stream) argument 625 struct stream_out *out = (struct stream_out *)stream; 664 voice_extn_compress_voip_close_input_stream(struct audio_stream *stream) argument [all...] |