/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 600 mm_camera_stream_t *stream = NULL; local 660 mm_camera_stream_t *stream = NULL; local 752 mm_camera_stream_t *stream = NULL; local 830 mm_camera_stream_t *stream = NULL; local 903 mm_camera_stream_t *stream = NULL; local 933 mm_camera_stream_t *stream = NULL; local 973 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::__anon2200
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
H A D | QCameraChannel.h | 60 virtual int32_t linkStream(QCameraChannel *ch, QCameraStream *stream); 166 QCameraStream *stream; member in struct:qcamera::QCameraReprocessChannel::__anon2836
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
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.clean_buf = mm_app_stream_clean_buf; 154 stream 201 mm_camera_stream_t *stream = NULL; local 249 mm_camera_stream_t *stream = NULL; local 281 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 175 mm_camera_stream_t *stream = NULL; local [all...] |
H A D | mm_qcamera_snapshot.c | 293 /* find meta stream */ 302 LOGE(" cannot find metadata stream"); 373 /* find snapshot stream */ 381 LOGE(" cannot find snapshot stream"); 441 /* find snapshot stream */ 449 LOGE(" cannot find snapshot stream"); 469 /* find postview stream */ 535 mm_camera_stream_t *stream = NULL; local 547 stream = mm_app_add_snapshot_stream(test_obj, 553 if (NULL == stream) { 570 mm_camera_stream_t *stream = NULL; local [all...] |
H A D | mm_qcamera_video.c | 63 /* find preview stream */ 72 LOGE("cannot find metadata stream"); 147 /* find snapshot stream */ 155 LOGE("cannot find snapshot stream"); 175 /* find postview stream */ 265 /* find preview stream */ 274 LOGE("cannot find preview stream"); 342 mm_camera_stream_t *stream = NULL; local 356 stream = mm_app_add_stream(test_obj, channel); 357 if (NULL == stream) { 402 mm_camera_stream_t *stream = NULL; local 463 mm_camera_stream_t *stream = NULL; local 539 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"); 246 /* find snapshot stream */ 254 LOGE("cannot find snapshot stream"); 274 /* find postview stream */ 364 /* find preview stream */ 373 LOGE("cannot find preview stream"); 443 /* find preview stream */ 451 LOGE("cannot find preview stream"); 455 /* find snapshot stream */ 612 mm_camera_stream_t *stream = NULL; local 691 mm_camera_stream_t *stream = NULL; local 755 mm_camera_stream_t *stream = NULL; local 825 mm_camera_stream_t *stream = NULL; local 928 mm_camera_stream_t *stream = NULL; local 1010 mm_camera_stream_t *stream = NULL; local 1099 mm_camera_stream_t *stream = NULL; local 1182 mm_camera_stream_t *stream = NULL; local 1212 mm_camera_stream_t *stream = NULL; local 1252 mm_camera_stream_t *stream = NULL; local [all...] |
/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
|
/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...] |
/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/ril/libril/ |
H A D | RilSapSocket.cpp | 405 pb_istream_t stream = pb_istream_from_buffer((uint8_t *)p_record, recordlen); local 416 if (!pb_decode(&stream, MsgHeader_fields, reqHeader) ) { 417 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);
|