• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/libFLAC/

Lines Matching refs:protected_

193 	FLAC__bool do_md5_checking; /* initially gets protected_->md5_checking but is turned off after a seek or if the metadata has a zero MD5 */
289 decoder->protected_ = (FLAC__StreamDecoderProtected*)calloc(1, sizeof(FLAC__StreamDecoderProtected));
290 if(decoder->protected_ == 0) {
297 free(decoder->protected_);
305 free(decoder->protected_);
314 free(decoder->protected_);
335 decoder->protected_->state = FLAC__STREAM_DECODER_UNINITIALIZED;
345 FLAC__ASSERT(0 != decoder->protected_);
360 free(decoder->protected_);
386 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
404 if(is_ogg && !FLAC__ogg_decoder_aspect_init(&decoder->protected_->ogg_decoder_aspect))
405 return decoder->protected_->state = FLAC__STREAM_DECODER_OGG_ERROR;
452 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
470 decoder->private_->do_md5_checking = decoder->protected_->md5_checking;
551 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
552 return decoder->protected_->state = FLAC__STREAM_DECODER_INIT_STATUS_ALREADY_INITIALIZED;
555 return decoder->protected_->state = FLAC__STREAM_DECODER_INIT_STATUS_INVALID_CALLBACKS;
625 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
626 return decoder->protected_->state = FLAC__STREAM_DECODER_INIT_STATUS_ALREADY_INITIALIZED;
629 return decoder->protected_->state = FLAC__STREAM_DECODER_INIT_STATUS_INVALID_CALLBACKS;
670 FLAC__ASSERT(0 != decoder->protected_);
672 if(decoder->protected_->state == FLAC__STREAM_DECODER_UNINITIALIZED)
707 FLAC__ogg_decoder_aspect_finish(&decoder->protected_->ogg_decoder_aspect);
724 decoder->protected_->state = FLAC__STREAM_DECODER_UNINITIALIZED;
733 FLAC__ASSERT(0 != decoder->protected_);
734 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
738 FLAC__ogg_decoder_aspect_set_serial_number(&decoder->protected_->ogg_decoder_aspect, value);
749 FLAC__ASSERT(0 != decoder->protected_);
750 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
752 decoder->protected_->md5_checking = value;
760 FLAC__ASSERT(0 != decoder->protected_);
765 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
777 FLAC__ASSERT(0 != decoder->protected_);
779 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
789 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
806 FLAC__ASSERT(0 != decoder->protected_);
807 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
819 FLAC__ASSERT(0 != decoder->protected_);
824 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
836 FLAC__ASSERT(0 != decoder->protected_);
838 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
848 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
864 FLAC__ASSERT(0 != decoder->protected_);
865 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
875 FLAC__ASSERT(0 != decoder->protected_);
876 return decoder->protected_->state;
881 return FLAC__StreamDecoderStateString[decoder->protected_->state];
887 FLAC__ASSERT(0 != decoder->protected_);
888 return decoder->protected_->md5_checking;
894 FLAC__ASSERT(0 != decoder->protected_);
901 FLAC__ASSERT(0 != decoder->protected_);
902 return decoder->protected_->channels;
908 FLAC__ASSERT(0 != decoder->protected_);
909 return decoder->protected_->channel_assignment;
915 FLAC__ASSERT(0 != decoder->protected_);
916 return decoder->protected_->bits_per_sample;
922 FLAC__ASSERT(0 != decoder->protected_);
923 return decoder->protected_->sample_rate;
929 FLAC__ASSERT(0 != decoder->protected_);
930 return decoder->protected_->blocksize;
959 FLAC__ASSERT(0 != decoder->protected_);
966 FLAC__ogg_decoder_aspect_flush(&decoder->protected_->ogg_decoder_aspect);
970 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
973 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
982 FLAC__ASSERT(0 != decoder->protected_);
992 FLAC__ogg_decoder_aspect_reset(&decoder->protected_->ogg_decoder_aspect);
1009 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_METADATA;
1017 decoder->private_->do_md5_checking = decoder->protected_->md5_checking;
1042 FLAC__ASSERT(0 != decoder->protected_);
1045 switch(decoder->protected_->state) {
1078 FLAC__ASSERT(0 != decoder->protected_);
1081 switch(decoder->protected_->state) {
1106 FLAC__ASSERT(0 != decoder->protected_);
1109 switch(decoder->protected_->state) {
1140 FLAC__ASSERT(0 != decoder->protected_);
1143 switch(decoder->protected_->state) {
1174 decoder->protected_->state != FLAC__STREAM_DECODER_SEARCH_FOR_METADATA &&
1175 decoder->protected_->state != FLAC__STREAM_DECODER_READ_METADATA &&
1176 decoder->protected_->state != FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC &&
1177 decoder->protected_->state != FLAC__STREAM_DECODER_READ_FRAME &&
1178 decoder->protected_->state != FLAC__STREAM_DECODER_END_OF_STREAM
1206 decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_METADATA ||
1207 decoder->protected_->state == FLAC__STREAM_DECODER_READ_METADATA
1273 decoder->protected_->md5_checking = false;
1276 FLAC__ogg_decoder_aspect_set_defaults(&decoder->protected_->ogg_decoder_aspect);
1331 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1341 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1412 decoder->protected_->state = FLAC__STREAM_DECODER_READ_FRAME;
1423 decoder->protected_->state = FLAC__STREAM_DECODER_READ_METADATA;
1476 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;/*@@@@@@ maybe wrong error? need to resync?*/
1501 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1529 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1591 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
1683 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1722 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1740 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1749 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1795 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1828 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1865 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1878 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1907 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1949 decoder->protected_->state = FLAC__STREAM_DECODER_END_OF_STREAM;
1982 decoder->protected_->state = FLAC__STREAM_DECODER_READ_FRAME;
2013 if(decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC) /* means we didn't sync on a valid header */
2049 if(decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC) /* means bad sync or got corruption */
2054 if(decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC) /* means bad sync or got corruption (i.e. "zero bits" were not all zeroes) */
2121 decoder->protected_->channels = decoder->private_->frame.header.channels;
2122 decoder->protected_->channel_assignment = decoder->private_->frame.header.channel_assignment;
2123 decoder->protected_->bits_per_sample = decoder->private_->frame.header.bits_per_sample;
2124 decoder->protected_->sample_rate = decoder->private_->frame.header.sample_rate;
2125 decoder->protected_->blocksize = decoder->private_->frame.header.blocksize;
2136 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2190 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2275 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2351 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2364 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2411 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2442 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2476 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2489 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2495 if(decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC) /* means bad sync or got corruption */
2500 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2506 if(decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC) /* means bad sync or got corruption */
2575 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2623 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2654 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2728 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2735 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2741 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
2780 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2798 decoder->protected_->state = FLAC__STREAM_DECODER_END_OF_STREAM;
2813 decoder->protected_->state = FLAC__STREAM_DECODER_ABORTED;
2825 decoder->protected_->state = FLAC__STREAM_DECODER_ABORTED;
2839 decoder->protected_->state = FLAC__STREAM_DECODER_END_OF_STREAM;
2851 decoder->protected_->state = FLAC__STREAM_DECODER_ABORTED;
2869 switch(FLAC__ogg_decoder_aspect_read_callback_wrapper(&decoder->protected_->ogg_decoder_aspect, buffer, bytes, read_callback_proxy_, decoder, decoder->private_->client_data)) {
3091 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3113 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3128 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3135 if(decoder->protected_->state != FLAC__SEEKABLE_STREAM_DECODER_SEEKING && decoder->protected_->state != FLAC__STREAM_DECODER_END_OF_STREAM)
3147 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3159 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3168 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3176 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3246 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3260 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3276 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3301 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3310 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;