Lines Matching full:state
337 decoder->protected_->state = FLAC__STREAM_DECODER_UNINITIALIZED;
388 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
407 return decoder->protected_->state = FLAC__STREAM_DECODER_OGG_ERROR;
454 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
477 /* above call sets the state for us */
553 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
554 return decoder->protected_->state = FLAC__STREAM_DECODER_INIT_STATUS_ALREADY_INITIALIZED;
557 return decoder->protected_->state = FLAC__STREAM_DECODER_INIT_STATUS_INVALID_CALLBACKS;
627 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
628 return decoder->protected_->state = FLAC__STREAM_DECODER_INIT_STATUS_ALREADY_INITIALIZED;
631 return decoder->protected_->state = FLAC__STREAM_DECODER_INIT_STATUS_INVALID_CALLBACKS;
674 if(decoder->protected_->state == FLAC__STREAM_DECODER_UNINITIALIZED)
728 decoder->protected_->state = FLAC__STREAM_DECODER_UNINITIALIZED;
738 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
754 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
769 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
783 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
793 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
811 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
828 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
842 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
852 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
869 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED)
880 return decoder->protected_->state;
885 return FLAC__StreamDecoderStateString[decoder->protected_->state];
974 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
977 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
989 /* above call sets the state for us */
1013 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_METADATA;
1051 switch(decoder->protected_->state) {
1087 switch(decoder->protected_->state) {
1115 switch(decoder->protected_->state) {
1149 switch(decoder->protected_->state) {
1180 decoder->protected_->state != FLAC__STREAM_DECODER_SEARCH_FOR_METADATA &&
1181 decoder->protected_->state != FLAC__STREAM_DECODER_READ_METADATA &&
1182 decoder->protected_->state != FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC &&
1183 decoder->protected_->state != FLAC__STREAM_DECODER_READ_FRAME &&
1184 decoder->protected_->state != FLAC__STREAM_DECODER_END_OF_STREAM
1212 decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_METADATA ||
1213 decoder->protected_->state == FLAC__STREAM_DECODER_READ_METADATA
1216 /* above call sets the state for us */
1337 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1347 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1387 return false; /* read_callback_ sets the state for us */
1400 return false; /* skip_id3v2_tag_ sets the state for us */
1408 return false; /* read_callback_ sets the state for us */
1418 decoder->protected_->state = FLAC__STREAM_DECODER_READ_FRAME;
1429 decoder->protected_->state = FLAC__STREAM_DECODER_READ_METADATA;
1441 return false; /* read_callback_ sets the state for us */
1445 return false; /* read_callback_ sets the state for us */
1448 return false; /* read_callback_ sets the state for us */
1479 return false; /* read_callback_ sets the state for us */
1482 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;/*@@@@@@ maybe wrong error? need to resync?*/
1494 return false; /* read_callback_ sets the state for us */
1501 return false; /* read_callback_ sets the state for us */
1507 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1511 return false; /* read_callback_ sets the state for us */
1535 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1539 return false; /* read_callback_ sets the state for us */
1597 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
1616 return false; /* read_callback_ sets the state for us */
1622 return false; /* read_callback_ sets the state for us */
1628 return false; /* read_callback_ sets the state for us */
1634 return false; /* read_callback_ sets the state for us */
1640 return false; /* read_callback_ sets the state for us */
1646 return false; /* read_callback_ sets the state for us */
1652 return false; /* read_callback_ sets the state for us */
1658 return false; /* read_callback_ sets the state for us */
1662 return false; /* read_callback_ sets the state for us */
1669 return false; /* read_callback_ sets the state for us */
1689 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1694 return false; /* read_callback_ sets the state for us */
1698 return false; /* read_callback_ sets the state for us */
1702 return false; /* read_callback_ sets the state for us */
1710 return false; /* read_callback_ sets the state for us */
1725 return false; /* read_callback_ sets the state for us */
1728 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1732 return false; /* read_callback_ sets the state for us */
1741 return false; /* read_callback_ sets the state for us */
1746 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1752 return false; /* read_callback_ sets the state for us */
1755 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1759 return false; /* read_callback_ sets the state for us */
1783 return false; /* read_callback_ sets the state for us */
1786 return false; /* read_callback_ sets the state for us */
1789 return false; /* read_callback_ sets the state for us */
1793 return false; /* read_callback_ sets the state for us */
1796 return false; /* read_callback_ sets the state for us */
1801 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1807 return false; /* read_callback_ sets the state for us */
1810 return false; /* read_callback_ sets the state for us */
1815 return false; /* read_callback_ sets the state for us */
1818 return false; /* read_callback_ sets the state for us */
1822 return false; /* read_callback_ sets the state for us */
1826 return false; /* read_callback_ sets the state for us */
1829 return false; /* read_callback_ sets the state for us */
1834 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1840 return false; /* read_callback_ sets the state for us */
1843 return false; /* read_callback_ sets the state for us */
1847 return false; /* read_callback_ sets the state for us */
1864 return false; /* read_callback_ sets the state for us */
1869 return false; /* read_callback_ sets the state for us */
1871 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1876 return false; /* read_callback_ sets the state for us */
1882 return false; /* read_callback_ sets the state for us */
1884 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1889 return false; /* read_callback_ sets the state for us */
1895 return false; /* read_callback_ sets the state for us */
1899 return false; /* read_callback_ sets the state for us */
1903 return false; /* read_callback_ sets the state for us */
1907 return false; /* read_callback_ sets the state for us */
1911 return false; /* read_callback_ sets the state for us */
1913 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1918 return false; /* read_callback_ sets the state for us */
1931 return false; /* read_callback_ sets the state for us */
1936 return false; /* read_callback_ sets the state for us */
1942 return false; /* read_callback_ sets the state for us */
1955 decoder->protected_->state = FLAC__STREAM_DECODER_END_OF_STREAM;
1963 return false; /* read_callback_ sets the state for us */
1973 return false; /* read_callback_ sets the state for us */
1978 return false; /* read_callback_ sets the state for us */
1988 decoder->protected_->state = FLAC__STREAM_DECODER_READ_FRAME;
2019 if(decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC) /* means we didn't sync on a valid header */
2055 if(decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC) /* means bad sync or got corruption */
2060 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) */
2068 return false; /* read_callback_ sets the state for us */
2142 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2190 return false; /* read_callback_ sets the state for us */
2196 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2281 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2352 return false; /* read_callback_ sets the state for us */
2357 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2365 return false; /* read_callback_ sets the state for us */
2370 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2379 return false; /* read_callback_ sets the state for us */
2384 return false; /* read_callback_ sets the state for us */
2393 return false; /* read_callback_ sets the state for us */
2398 return false; /* read_callback_ sets the state for us */
2412 return false; /* read_callback_ sets the state for us */
2417 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2448 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2462 return false; /* read_callback_ sets the state for us */
2470 return false; /* read_callback_ sets the state for us */
2482 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2495 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2501 if(decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC) /* means bad sync or got corruption */
2506 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2512 if(decoder->protected_->state == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC) /* means bad sync or got corruption */
2535 return false; /* read_callback_ sets the state for us */
2563 return false; /* read_callback_ sets the state for us */
2569 return false; /* read_callback_ sets the state for us */
2575 return false; /* read_callback_ sets the state for us */
2581 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2620 return false; /* read_callback_ sets the state for us */
2626 return false; /* read_callback_ sets the state for us */
2629 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2636 return false; /* read_callback_ sets the state for us */
2642 return false; /* read_callback_ sets the state for us */
2648 return false; /* read_callback_ sets the state for us */
2654 return false; /* read_callback_ sets the state for us */
2660 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2709 return false; /* read_callback_ sets the state for us */
2734 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2741 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2747 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
2754 return false; /* read_callback_ sets the state for us */
2760 return false; /* read_callback_ sets the state for us */
2765 return false; /* read_callback_ sets the state for us */
2769 return false; /* read_callback_ sets the state for us */
2783 return false; /* read_callback_ sets the state for us */
2786 decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
2804 decoder->protected_->state = FLAC__STREAM_DECODER_END_OF_STREAM;
2819 decoder->protected_->state = FLAC__STREAM_DECODER_ABORTED;
2831 decoder->protected_->state = FLAC__STREAM_DECODER_ABORTED;
2845 decoder->protected_->state = FLAC__STREAM_DECODER_END_OF_STREAM;
2857 decoder->protected_->state = FLAC__STREAM_DECODER_ABORTED;
2868 * end-of-stream state when it is needed.
3099 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3121 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3125 /* above call sets the state for us */
3136 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3139 /* our write callback will change the state when it gets to the target frame */
3143 if(decoder->protected_->state != FLAC__SEEKABLE_STREAM_DECODER_SEEKING && decoder->protected_->state != FLAC__STREAM_DECODER_END_OF_STREAM)
3155 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3167 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3176 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3184 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3254 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3258 /* above call sets the state for us */
3268 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3284 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3288 /* our write callback will change the state when it gets to the target frame */
3309 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
3318 decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;