/external/ImageMagick/MagickCore/ |
stream.c | 163 *stream_info; 165 stream_info=(StreamInfo *) AcquireMagickMemory(sizeof(*stream_info)); 166 if (stream_info == (StreamInfo *) NULL) 168 (void) ResetMagickMemory(stream_info,0,sizeof(*stream_info)); 169 stream_info->pixels=(unsigned char *) MagickAssumeAligned( 170 AcquireAlignedMemory(1,sizeof(*stream_info->pixels))); 171 if (stream_info->pixels == (unsigned char *) NULL) 173 stream_info->map=ConstantString("RGB") 159 *stream_info; local 1166 *stream_info; local [all...] |
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 135 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 136 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 137 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_RAW; 139 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 141 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_BURST; 142 stream->s_config.stream_info->num_of_burst = num_burst; 144 stream->s_config.stream_info->fmt = fmt; 148 stream->s_config.stream_info->dim.width = cam_cap->raw_dim[0].width; 149 stream->s_config.stream_info->dim.height = cam_cap->raw_dim[0].height; 158 buf_planes = &stream->s_config.stream_info->buf_planes [all...] |
mm_qcamera_reprocess.c | 144 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 146 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 147 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_OFFLINE_PROC; 148 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 149 stream->s_config.stream_info->fmt = source_stream_info->fmt; 150 stream->s_config.stream_info->dim = source_stream_info->dim; 154 stream->s_config.stream_info->reprocess_config.pp_type = CAM_ONLINE_REPROCESS_TYPE; 155 stream->s_config.stream_info->reprocess_config.online.input_stream_id = source->s_config.stream_info->stream_svr_id; 156 stream->s_config.stream_info->reprocess_config.online.input_stream_type = source->s_config.stream_info->stream_type [all...] |
mm_qcamera_preview.c | 67 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 147 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { 226 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { 238 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 250 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 413 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 414 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 415 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_METADATA; 416 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 417 stream->s_config.stream_info->fmt = DEFAULT_PREVIEW_FORMAT [all...] |
mm_qcamera_snapshot.c | 108 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; 109 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; 112 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; 166 encode_param.main_dim.src_dim = m_stream->s_config.stream_info->dim; 167 encode_param.main_dim.dst_dim = m_stream->s_config.stream_info->dim; 211 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 291 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_RAW) { 361 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 389 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { 507 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer [all...] |
mm_qcamera_video.c | 82 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 83 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 84 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_VIDEO; 85 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 86 stream->s_config.stream_info->fmt = DEFAULT_VIDEO_FORMAT; 87 stream->s_config.stream_info->dim.width = DEFAULT_VIDEO_WIDTH; 88 stream->s_config.stream_info->dim.height = DEFAULT_VIDEO_HEIGHT;
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 135 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 136 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 137 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_RAW; 139 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 141 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_BURST; 142 stream->s_config.stream_info->num_of_burst = num_burst; 144 stream->s_config.stream_info->fmt = fmt; 148 stream->s_config.stream_info->dim.width = cam_cap->raw_dim[0].width; 149 stream->s_config.stream_info->dim.height = cam_cap->raw_dim[0].height; 158 buf_planes = &stream->s_config.stream_info->buf_planes [all...] |
mm_qcamera_reprocess.c | 144 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 146 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 147 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_OFFLINE_PROC; 148 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 149 stream->s_config.stream_info->fmt = source_stream_info->fmt; 150 stream->s_config.stream_info->dim = source_stream_info->dim; 154 stream->s_config.stream_info->reprocess_config.pp_type = CAM_ONLINE_REPROCESS_TYPE; 155 stream->s_config.stream_info->reprocess_config.online.input_stream_id = source->s_config.stream_info->stream_svr_id; 156 stream->s_config.stream_info->reprocess_config.online.input_stream_type = source->s_config.stream_info->stream_type [all...] |
mm_qcamera_preview.c | 67 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 147 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { 226 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { 238 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 250 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 413 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 414 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 415 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_METADATA; 416 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 417 stream->s_config.stream_info->fmt = DEFAULT_PREVIEW_FORMAT [all...] |
mm_qcamera_snapshot.c | 108 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; 109 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; 112 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; 166 encode_param.main_dim.src_dim = m_stream->s_config.stream_info->dim; 167 encode_param.main_dim.dst_dim = m_stream->s_config.stream_info->dim; 211 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 291 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_RAW) { 361 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 389 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { 507 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 134 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 135 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 136 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_RAW; 138 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 140 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_BURST; 141 stream->s_config.stream_info->num_of_burst = num_burst; 143 stream->s_config.stream_info->fmt = fmt; 147 stream->s_config.stream_info->dim.width = cam_cap->raw_dim[0].width; 148 stream->s_config.stream_info->dim.height = cam_cap->raw_dim[0].height; 157 buf_planes = &stream->s_config.stream_info->buf_planes [all...] |
mm_qcamera_reprocess.c | 144 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 146 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 147 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_OFFLINE_PROC; 148 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 149 stream->s_config.stream_info->fmt = source_stream_info->fmt; 150 stream->s_config.stream_info->dim = source_stream_info->dim; 154 stream->s_config.stream_info->reprocess_config.pp_type = CAM_ONLINE_REPROCESS_TYPE; 155 stream->s_config.stream_info->reprocess_config.online.input_stream_id = source->s_config.stream_info->stream_svr_id; 156 stream->s_config.stream_info->reprocess_config.online.input_stream_type = source->s_config.stream_info->stream_type [all...] |
mm_qcamera_preview.c | 61 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 137 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { 215 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { 227 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 239 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 387 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 388 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 389 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_METADATA; 390 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 391 stream->s_config.stream_info->fmt = DEFAULT_PREVIEW_FORMAT [all...] |
mm_qcamera_snapshot.c | 108 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; 109 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; 112 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; 166 encode_param.main_dim.src_dim = m_stream->s_config.stream_info->dim; 167 encode_param.main_dim.dst_dim = m_stream->s_config.stream_info->dim; 205 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 277 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_RAW) { 345 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 373 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { 491 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer [all...] |
/external/libvpx/libvpx/test/ |
decode_test_driver.cc | 23 vpx_codec_stream_info_t *stream_info) { 26 stream_info); 79 vpx_codec_stream_info_t stream_info; local 80 stream_info.sz = sizeof(stream_info); 85 &stream_info);
|
/hardware/qcom/camera/msmcobalt/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_reprocess.c | 146 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 148 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 149 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_OFFLINE_PROC; 150 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 151 stream->s_config.stream_info->fmt = source_stream_info->fmt; 152 stream->s_config.stream_info->dim = source_stream_info->dim; 154 stream->s_config.stream_info->num_bufs = num_bufs; 156 stream->s_config.stream_info->reprocess_config.pp_type = CAM_ONLINE_REPROCESS_TYPE; 157 stream->s_config.stream_info->reprocess_config.online.input_stream_id = source->s_config.stream_info->stream_svr_id [all...] |
mm_qcamera_rdi.c | 159 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 160 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 161 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_RAW; 163 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 165 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_BURST; 166 stream->s_config.stream_info->num_of_burst = num_burst; 168 stream->s_config.stream_info->fmt = DEFAULT_RAW_FORMAT; 169 stream->s_config.stream_info->num_bufs = num_bufs; 173 stream->s_config.stream_info->dim.width = cam_cap->raw_dim[0].width; 174 stream->s_config.stream_info->dim.height = cam_cap->raw_dim[0].height [all...] |
mm_qcamera_preview.c | 76 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 159 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 187 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { 277 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { 356 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { 368 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 380 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 542 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 543 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 544 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_METADATA [all...] |
mm_qcamera_video.c | 65 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 149 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 177 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { 267 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { 372 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 373 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 374 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_PREVIEW; 375 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 376 stream->s_config.stream_info->fmt = DEFAULT_PREVIEW_FORMAT; 378 stream->s_config.stream_info->dim.width = preview_dim.width [all...] |
mm_qcamera_snapshot.c | 105 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; 106 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; 109 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; 163 encode_param.main_dim.src_dim = m_stream->s_config.stream_info->dim; 164 encode_param.main_dim.dst_dim = m_stream->s_config.stream_info->dim; 209 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 289 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_RAW) { 357 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 385 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { 504 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_reprocess.c | 146 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 148 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 149 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_OFFLINE_PROC; 150 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 151 stream->s_config.stream_info->fmt = source_stream_info->fmt; 152 stream->s_config.stream_info->dim = source_stream_info->dim; 156 stream->s_config.stream_info->reprocess_config.pp_type = CAM_ONLINE_REPROCESS_TYPE; 157 stream->s_config.stream_info->reprocess_config.online.input_stream_id = source->s_config.stream_info->stream_svr_id; 158 stream->s_config.stream_info->reprocess_config.online.input_stream_type = source->s_config.stream_info->stream_type [all...] |
mm_qcamera_rdi.c | 159 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 160 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 161 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_RAW; 163 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; 165 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_BURST; 166 stream->s_config.stream_info->num_of_burst = num_burst; 168 stream->s_config.stream_info->fmt = DEFAULT_RAW_FORMAT; 172 stream->s_config.stream_info->dim.width = cam_cap->raw_dim[0].width; 173 stream->s_config.stream_info->dim.height = cam_cap->raw_dim[0].height; 182 buf_planes = &stream->s_config.stream_info->buf_planes [all...] |
mm_qcamera_preview.c | 76 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 159 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 187 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { 277 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { 356 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { 368 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 380 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 542 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; 543 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); 544 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_METADATA [all...] |
mm_qcamera_snapshot.c | 109 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; 110 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; 113 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; 167 encode_param.main_dim.src_dim = m_stream->s_config.stream_info->dim; 168 encode_param.main_dim.dst_dim = m_stream->s_config.stream_info->dim; 213 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 293 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_RAW) { 361 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 389 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { 508 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer [all...] |
/external/flac/libFLAC/ |
stream_encoder_framing.c | 72 FLAC__ASSERT(metadata->data.stream_info.min_blocksize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MIN_BLOCK_SIZE_LEN)); 73 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.min_blocksize, FLAC__STREAM_METADATA_STREAMINFO_MIN_BLOCK_SIZE_LEN)) 75 FLAC__ASSERT(metadata->data.stream_info.max_blocksize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MAX_BLOCK_SIZE_LEN)); 76 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.max_blocksize, FLAC__STREAM_METADATA_STREAMINFO_MAX_BLOCK_SIZE_LEN)) 78 FLAC__ASSERT(metadata->data.stream_info.min_framesize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MIN_FRAME_SIZE_LEN)); 79 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.min_framesize, FLAC__STREAM_METADATA_STREAMINFO_MIN_FRAME_SIZE_LEN)) 81 FLAC__ASSERT(metadata->data.stream_info.max_framesize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MAX_FRAME_SIZE_LEN)); 82 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.max_framesize, FLAC__STREAM_METADATA_STREAMINFO_MAX_FRAME_SIZE_LEN)) 84 FLAC__ASSERT(FLAC__format_sample_rate_is_valid(metadata->data.stream_info.sample_rate)); 85 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.sample_rate, FLAC__STREAM_METADATA_STREAMINFO_SAMPLE_RATE_LEN) [all...] |