• Home
  • Raw
  • Download

Lines Matching refs:protected_

263 	decoder->protected_ = calloc(1, sizeof(FLAC__StreamDecoderProtected));  in FLAC__stream_decoder_new()
264 if(decoder->protected_ == 0) { in FLAC__stream_decoder_new()
271 free(decoder->protected_); in FLAC__stream_decoder_new()
279 free(decoder->protected_); in FLAC__stream_decoder_new()
288 free(decoder->protected_); in FLAC__stream_decoder_new()
309 decoder->protected_->state = FLAC__STREAM_DECODER_UNINITIALIZED; in FLAC__stream_decoder_new()
321 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_delete()
336 free(decoder->protected_); in FLAC__stream_decoder_delete()
362 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED) in init_stream_internal_()
380 if(is_ogg && !FLAC__ogg_decoder_aspect_init(&decoder->protected_->ogg_decoder_aspect)) in init_stream_internal_()
381 return decoder->protected_->initstate = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE; in init_stream_internal_()
430 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in init_stream_internal_()
448 decoder->private_->do_md5_checking = decoder->protected_->md5_checking; in init_stream_internal_()
529 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED) in init_FILE_internal_()
530 return decoder->protected_->initstate = FLAC__STREAM_DECODER_INIT_STATUS_ALREADY_INITIALIZED; in init_FILE_internal_()
533 return decoder->protected_->initstate = FLAC__STREAM_DECODER_INIT_STATUS_INVALID_CALLBACKS; in init_FILE_internal_()
603 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED) in init_file_internal_()
604 return decoder->protected_->initstate = FLAC__STREAM_DECODER_INIT_STATUS_ALREADY_INITIALIZED; in init_file_internal_()
607 return decoder->protected_->initstate = FLAC__STREAM_DECODER_INIT_STATUS_INVALID_CALLBACKS; in init_file_internal_()
648 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_finish()
650 if(decoder->protected_->state == FLAC__STREAM_DECODER_UNINITIALIZED) in FLAC__stream_decoder_finish()
685 FLAC__ogg_decoder_aspect_finish(&decoder->protected_->ogg_decoder_aspect); in FLAC__stream_decoder_finish()
702 decoder->protected_->state = FLAC__STREAM_DECODER_UNINITIALIZED; in FLAC__stream_decoder_finish()
711 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_ogg_serial_number()
712 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED) in FLAC__stream_decoder_set_ogg_serial_number()
716 FLAC__ogg_decoder_aspect_set_serial_number(&decoder->protected_->ogg_decoder_aspect, value); in FLAC__stream_decoder_set_ogg_serial_number()
727 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_md5_checking()
728 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED) in FLAC__stream_decoder_set_md5_checking()
730 decoder->protected_->md5_checking = value; in FLAC__stream_decoder_set_md5_checking()
738 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_metadata_respond()
743 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED) in FLAC__stream_decoder_set_metadata_respond()
755 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_metadata_respond_application()
757 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED) in FLAC__stream_decoder_set_metadata_respond_application()
767 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in FLAC__stream_decoder_set_metadata_respond_application()
784 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_metadata_respond_all()
785 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED) in FLAC__stream_decoder_set_metadata_respond_all()
797 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_metadata_ignore()
802 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED) in FLAC__stream_decoder_set_metadata_ignore()
814 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_metadata_ignore_application()
816 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED) in FLAC__stream_decoder_set_metadata_ignore_application()
826 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in FLAC__stream_decoder_set_metadata_ignore_application()
842 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_metadata_ignore_all()
843 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED) in FLAC__stream_decoder_set_metadata_ignore_all()
853 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_state()
854 return decoder->protected_->state; in FLAC__stream_decoder_get_state()
859 return FLAC__StreamDecoderStateString[decoder->protected_->state]; in FLAC__stream_decoder_get_resolved_state_string()
865 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_md5_checking()
866 return decoder->protected_->md5_checking; in FLAC__stream_decoder_get_md5_checking()
872 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_total_samples()
879 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_channels()
880 return decoder->protected_->channels; in FLAC__stream_decoder_get_channels()
886 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_channel_assignment()
887 return decoder->protected_->channel_assignment; in FLAC__stream_decoder_get_channel_assignment()
893 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_bits_per_sample()
894 return decoder->protected_->bits_per_sample; in FLAC__stream_decoder_get_bits_per_sample()
900 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_sample_rate()
901 return decoder->protected_->sample_rate; in FLAC__stream_decoder_get_sample_rate()
907 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_blocksize()
908 return decoder->protected_->blocksize; in FLAC__stream_decoder_get_blocksize()
937 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_flush()
939 …if(!decoder->private_->internal_reset_hack && decoder->protected_->state == FLAC__STREAM_DECODER_U… in FLAC__stream_decoder_flush()
947 FLAC__ogg_decoder_aspect_flush(&decoder->protected_->ogg_decoder_aspect); in FLAC__stream_decoder_flush()
951 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in FLAC__stream_decoder_flush()
954 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in FLAC__stream_decoder_flush()
963 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_reset()
973 FLAC__ogg_decoder_aspect_reset(&decoder->protected_->ogg_decoder_aspect); in FLAC__stream_decoder_reset()
990 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_METADATA; in FLAC__stream_decoder_reset()
998 decoder->private_->do_md5_checking = decoder->protected_->md5_checking; in FLAC__stream_decoder_reset()
1023 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_process_single()
1026 switch(decoder->protected_->state) { in FLAC__stream_decoder_process_single()
1059 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_process_until_end_of_metadata()
1062 switch(decoder->protected_->state) { in FLAC__stream_decoder_process_until_end_of_metadata()
1087 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_process_until_end_of_stream()
1090 switch(decoder->protected_->state) { in FLAC__stream_decoder_process_until_end_of_stream()
1121 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_skip_single_frame()
1124 switch(decoder->protected_->state) { in FLAC__stream_decoder_skip_single_frame()
1155 decoder->protected_->state != FLAC__STREAM_DECODER_SEARCH_FOR_METADATA && in FLAC__stream_decoder_seek_absolute()
1156 decoder->protected_->state != FLAC__STREAM_DECODER_READ_METADATA && in FLAC__stream_decoder_seek_absolute()
1157 decoder->protected_->state != FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC && in FLAC__stream_decoder_seek_absolute()
1158 decoder->protected_->state != FLAC__STREAM_DECODER_READ_FRAME && in FLAC__stream_decoder_seek_absolute()
1159 decoder->protected_->state != FLAC__STREAM_DECODER_END_OF_STREAM in FLAC__stream_decoder_seek_absolute()
1187 decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_METADATA || in FLAC__stream_decoder_seek_absolute()
1188 decoder->protected_->state == FLAC__STREAM_DECODER_READ_METADATA in FLAC__stream_decoder_seek_absolute()
1254 decoder->protected_->md5_checking = false; in set_defaults_()
1257 FLAC__ogg_decoder_aspect_set_defaults(&decoder->protected_->ogg_decoder_aspect); in set_defaults_()
1312 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in allocate_output_()
1319 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in allocate_output_()
1394 decoder->protected_->state = FLAC__STREAM_DECODER_READ_FRAME; in find_metadata_()
1405 decoder->protected_->state = FLAC__STREAM_DECODER_READ_METADATA; in find_metadata_()
1459 …decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;/*@@@@@@ maybe wrong err… in read_metadata_()
1485 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in read_metadata_()
1513 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in read_metadata_()
1578 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_metadata_()
1670 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in read_metadata_seektable_()
1718 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in read_metadata_vorbiscomment_()
1742 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in read_metadata_vorbiscomment_()
1770 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in read_metadata_vorbiscomment_()
1828 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in read_metadata_cuesheet_()
1861 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in read_metadata_cuesheet_()
1898 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in read_metadata_picture_()
1911 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in read_metadata_picture_()
1940 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in read_metadata_picture_()
1982 decoder->protected_->state = FLAC__STREAM_DECODER_END_OF_STREAM; in frame_sync_()
2015 decoder->protected_->state = FLAC__STREAM_DECODER_READ_FRAME; in frame_sync_()
2046 …if(decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC) /* means we didn't sy… in read_frame_()
2082 …if(decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC) /* means bad sync or … in read_frame_()
2087 …if(decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC) /* means bad sync or … in read_frame_()
2154 decoder->protected_->channels = decoder->private_->frame.header.channels; in read_frame_()
2155 decoder->protected_->channel_assignment = decoder->private_->frame.header.channel_assignment; in read_frame_()
2156 decoder->protected_->bits_per_sample = decoder->private_->frame.header.bits_per_sample; in read_frame_()
2157 decoder->protected_->sample_rate = decoder->private_->frame.header.sample_rate; in read_frame_()
2158 decoder->protected_->blocksize = decoder->private_->frame.header.blocksize; in read_frame_()
2169 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_frame_()
2223 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_frame_header_()
2308 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_frame_header_()
2384 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_frame_header_()
2397 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_frame_header_()
2444 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_frame_header_()
2475 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_frame_header_()
2509 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_subframe_()
2522 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_subframe_()
2528 …if(decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC) /* means bad sync or … in read_subframe_()
2533 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_subframe_()
2539 …if(decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC) /* means bad sync or … in read_subframe_()
2607 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_subframe_fixed_()
2615 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_subframe_fixed_()
2663 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_subframe_lpc_()
2673 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_subframe_lpc_()
2696 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_subframe_lpc_()
2704 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_subframe_lpc_()
2771 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; in read_residual_partitioned_rice_()
2810 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC; in read_zero_padding_()
2828 decoder->protected_->state = FLAC__STREAM_DECODER_END_OF_STREAM; in read_callback_()
2843 decoder->protected_->state = FLAC__STREAM_DECODER_ABORTED; in read_callback_()
2855 decoder->protected_->state = FLAC__STREAM_DECODER_ABORTED; in read_callback_()
2869 decoder->protected_->state = FLAC__STREAM_DECODER_END_OF_STREAM; in read_callback_()
2881 decoder->protected_->state = FLAC__STREAM_DECODER_ABORTED; in read_callback_()
2899 …switch(FLAC__ogg_decoder_aspect_read_callback_wrapper(&decoder->protected_->ogg_decoder_aspect, bu… in read_callback_ogg_aspect_()
3121 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR; in seek_to_absolute_sample_()
3138 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR; in seek_to_absolute_sample_()
3153 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR; in seek_to_absolute_sample_()
3160 …if(decoder->protected_->state != FLAC__SEEKABLE_STREAM_DECODER_SEEKING && decoder->protected_->sta… in seek_to_absolute_sample_()
3172 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR; in seek_to_absolute_sample_()
3184 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR; in seek_to_absolute_sample_()
3193 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR; in seek_to_absolute_sample_()
3201 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR; in seek_to_absolute_sample_()
3266 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR; in seek_to_absolute_sample_ogg_()
3280 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR; in seek_to_absolute_sample_ogg_()
3296 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR; in seek_to_absolute_sample_ogg_()
3321 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR; in seek_to_absolute_sample_ogg_()
3330 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR; in seek_to_absolute_sample_ogg_()