• Home
  • Raw
  • Download

Lines Matching refs:FLAC__ASSERT

509 	FLAC__ASSERT(sizeof(int) >= 4); /* we want to die right away if this is not true */  in FLAC__stream_encoder_new()
583 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_delete()
584 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_delete()
585 FLAC__ASSERT(0 != encoder->private_->frame); in FLAC__stream_encoder_delete()
631 FLAC__ASSERT(0 != encoder); in init_stream_internal_()
707 FLAC__ASSERT(encoder->protected_->qlp_coeff_precision <= FLAC__MAX_QLP_COEFF_PRECISION); in init_stream_internal_()
857 FLAC__ASSERT(FLAC__MAX_SAMPLE_RATE <= 655350); in init_stream_internal_()
858 FLAC__ASSERT(FLAC__MAX_BLOCK_SIZE <= 65535); in init_stream_internal_()
859 FLAC__ASSERT(encoder->protected_->sample_rate <= 655350); in init_stream_internal_()
860 FLAC__ASSERT(encoder->protected_->blocksize <= 65535); in init_stream_internal_()
920 FLAC__ASSERT(encoder->private_->cpuinfo.type == FLAC__CPUINFO_TYPE_IA32); in init_stream_internal_()
1014 FLAC__ASSERT(encoder->private_->cpuinfo.type == FLAC__CPUINFO_TYPE_X86_64); in init_stream_internal_()
1338 FLAC__ASSERT(0 != encoder); in init_FILE_internal_()
1339 FLAC__ASSERT(0 != file); in init_FILE_internal_()
1391 FLAC__ASSERT(blocksize != 0); in init_FILE_internal_()
1428 FLAC__ASSERT(0 != encoder); in init_file_internal_()
1475 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_finish()
1476 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_finish()
1540 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_ogg_serial_number()
1541 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_ogg_serial_number()
1542 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_ogg_serial_number()
1557 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_verify()
1558 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_verify()
1559 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_verify()
1570 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_streamable_subset()
1571 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_streamable_subset()
1572 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_streamable_subset()
1581 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_do_md5()
1582 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_do_md5()
1583 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_do_md5()
1592 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_channels()
1593 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_channels()
1594 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_channels()
1603 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_bits_per_sample()
1604 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_bits_per_sample()
1605 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_bits_per_sample()
1614 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_sample_rate()
1615 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_sample_rate()
1616 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_sample_rate()
1626 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_compression_level()
1627 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_compression_level()
1628 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_compression_level()
1658 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_blocksize()
1659 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_blocksize()
1660 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_blocksize()
1669 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_do_mid_side_stereo()
1670 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_do_mid_side_stereo()
1671 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_do_mid_side_stereo()
1680 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_loose_mid_side_stereo()
1681 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_loose_mid_side_stereo()
1682 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_loose_mid_side_stereo()
1692 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_apodization()
1693 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_apodization()
1694 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_apodization()
1695 FLAC__ASSERT(0 != specification); in FLAC__stream_encoder_set_apodization()
1805 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_max_lpc_order()
1806 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_max_lpc_order()
1807 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_max_lpc_order()
1816 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_qlp_coeff_precision()
1817 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_qlp_coeff_precision()
1818 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_qlp_coeff_precision()
1827 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_do_qlp_coeff_prec_search()
1828 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_do_qlp_coeff_prec_search()
1829 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_do_qlp_coeff_prec_search()
1838 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_do_escape_coding()
1839 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_do_escape_coding()
1840 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_do_escape_coding()
1854 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_do_exhaustive_model_search()
1855 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_do_exhaustive_model_search()
1856 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_do_exhaustive_model_search()
1865 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_min_residual_partition_order()
1866 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_min_residual_partition_order()
1867 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_min_residual_partition_order()
1876 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_max_residual_partition_order()
1877 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_max_residual_partition_order()
1878 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_max_residual_partition_order()
1887 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_rice_parameter_search_dist()
1888 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_rice_parameter_search_dist()
1889 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_rice_parameter_search_dist()
1903 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_total_samples_estimate()
1904 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_total_samples_estimate()
1905 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_total_samples_estimate()
1915 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_set_metadata()
1916 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_set_metadata()
1917 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_set_metadata()
1951 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_disable_constant_subframes()
1952 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_disable_constant_subframes()
1953 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_disable_constant_subframes()
1962 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_disable_fixed_subframes()
1963 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_disable_fixed_subframes()
1964 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_disable_fixed_subframes()
1973 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_disable_verbatim_subframes()
1974 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_disable_verbatim_subframes()
1975 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_disable_verbatim_subframes()
1984 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_state()
1985 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_state()
1986 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_state()
1992 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_verify_decoder_state()
1993 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_verify_decoder_state()
1994 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_verify_decoder_state()
2003 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_resolved_state_string()
2004 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_resolved_state_string()
2005 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_resolved_state_string()
2014 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_verify_decoder_error_stats()
2015 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_verify_decoder_error_stats()
2016 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_verify_decoder_error_stats()
2033 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_verify()
2034 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_verify()
2035 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_verify()
2041 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_streamable_subset()
2042 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_streamable_subset()
2043 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_streamable_subset()
2049 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_do_md5()
2050 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_do_md5()
2051 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_do_md5()
2057 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_channels()
2058 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_channels()
2059 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_channels()
2065 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_bits_per_sample()
2066 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_bits_per_sample()
2067 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_bits_per_sample()
2073 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_sample_rate()
2074 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_sample_rate()
2075 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_sample_rate()
2081 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_blocksize()
2082 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_blocksize()
2083 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_blocksize()
2089 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_do_mid_side_stereo()
2090 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_do_mid_side_stereo()
2091 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_do_mid_side_stereo()
2097 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_loose_mid_side_stereo()
2098 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_loose_mid_side_stereo()
2099 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_loose_mid_side_stereo()
2105 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_max_lpc_order()
2106 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_max_lpc_order()
2107 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_max_lpc_order()
2113 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_qlp_coeff_precision()
2114 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_qlp_coeff_precision()
2115 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_qlp_coeff_precision()
2121 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_do_qlp_coeff_prec_search()
2122 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_do_qlp_coeff_prec_search()
2123 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_do_qlp_coeff_prec_search()
2129 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_do_escape_coding()
2130 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_do_escape_coding()
2131 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_do_escape_coding()
2137 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_do_exhaustive_model_search()
2138 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_do_exhaustive_model_search()
2139 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_do_exhaustive_model_search()
2145 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_min_residual_partition_order()
2146 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_min_residual_partition_order()
2147 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_min_residual_partition_order()
2153 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_max_residual_partition_order()
2154 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_max_residual_partition_order()
2155 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_max_residual_partition_order()
2161 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_rice_parameter_search_dist()
2162 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_rice_parameter_search_dist()
2163 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_rice_parameter_search_dist()
2169 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_get_total_samples_estimate()
2170 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_get_total_samples_estimate()
2171 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_get_total_samples_estimate()
2180 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_process()
2181 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_process()
2182 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_process()
2183 FLAC__ASSERT(encoder->protected_->state == FLAC__STREAM_ENCODER_OK); in FLAC__stream_encoder_process()
2199 FLAC__ASSERT(channels == 2); in FLAC__stream_encoder_process()
2213 FLAC__ASSERT(encoder->private_->current_sample_number == blocksize+OVERREAD_); in FLAC__stream_encoder_process()
2214FLAC__ASSERT(OVERREAD_ == 1); /* assert we only overread 1 sample which simplifies the rest of the… in FLAC__stream_encoder_process()
2237 FLAC__ASSERT(0 != encoder); in FLAC__stream_encoder_process_interleaved()
2238 FLAC__ASSERT(0 != encoder->private_); in FLAC__stream_encoder_process_interleaved()
2239 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_process_interleaved()
2240 FLAC__ASSERT(encoder->protected_->state == FLAC__STREAM_ENCODER_OK); in FLAC__stream_encoder_process_interleaved()
2272 FLAC__ASSERT(i == blocksize+OVERREAD_); in FLAC__stream_encoder_process_interleaved()
2273FLAC__ASSERT(OVERREAD_ == 1); /* assert we only overread 1 sample which simplifies the rest of the… in FLAC__stream_encoder_process_interleaved()
2301 FLAC__ASSERT(i == blocksize+OVERREAD_); in FLAC__stream_encoder_process_interleaved()
2302FLAC__ASSERT(OVERREAD_ == 1); /* assert we only overread 1 sample which simplifies the rest of the… in FLAC__stream_encoder_process_interleaved()
2321 FLAC__ASSERT(0 != encoder); in set_defaults_()
2377 FLAC__ASSERT(0 != encoder); in free_()
2459 FLAC__ASSERT(new_blocksize > 0); in resize_buffers_()
2460 FLAC__ASSERT(encoder->protected_->state == FLAC__STREAM_ENCODER_OK); in resize_buffers_()
2461 FLAC__ASSERT(encoder->private_->current_sample_number == 0); in resize_buffers_()
2577 FLAC__ASSERT(0); in resize_buffers_()
2599 FLAC__ASSERT(FLAC__bitwriter_is_byte_aligned(encoder->private_->frame)); in write_bitbuffer_()
2747 FLAC__ASSERT(metadata->type == FLAC__METADATA_TYPE_STREAMINFO); in update_metadata_()
2851 FLAC__ASSERT(FLAC__format_seektable_is_legal(encoder->private_->seek_table)); in update_metadata_()
2911 FLAC__ASSERT(metadata->type == FLAC__METADATA_TYPE_STREAMINFO); in update_ogg_metadata_()
2912 FLAC__ASSERT(0 != encoder->private_->seek_callback); in update_ogg_metadata_()
3032 FLAC__ASSERT(FLAC__format_seektable_is_legal(encoder->private_->seek_table)); in update_ogg_metadata_()
3085 FLAC__ASSERT(encoder->protected_->state == FLAC__STREAM_ENCODER_OK); in process_frame_()
3114 FLAC__ASSERT(FLAC__bitwriter_is_byte_aligned(encoder->private_->frame)); in process_frame_()
3194 FLAC__ASSERT(do_independent || do_mid_side); in process_subframes_()
3210 FLAC__ASSERT(encoder->protected_->channels == 2); in process_subframes_()
3249 FLAC__ASSERT(encoder->protected_->channels == 2); in process_subframes_()
3279 FLAC__ASSERT(encoder->protected_->channels == 2); in process_subframes_()
3289 FLAC__ASSERT(FLAC__CHANNEL_ASSIGNMENT_INDEPENDENT == 0); in process_subframes_()
3290 FLAC__ASSERT(FLAC__CHANNEL_ASSIGNMENT_LEFT_SIDE == 1); in process_subframes_()
3291 FLAC__ASSERT(FLAC__CHANNEL_ASSIGNMENT_RIGHT_SIDE == 2); in process_subframes_()
3292 FLAC__ASSERT(FLAC__CHANNEL_ASSIGNMENT_MID_SIDE == 3); in process_subframes_()
3293 FLAC__ASSERT(do_independent && do_mid_side); in process_subframes_()
3336 FLAC__ASSERT(0); in process_subframes_()
3357 FLAC__ASSERT(0); in process_subframes_()
3424 FLAC__ASSERT(frame_header->blocksize > 0); in process_subframe_()
3619 FLAC__ASSERT(_best_subframe == 0); in process_subframe_()
3663 FLAC__ASSERT(0); in add_subframe_()
3690 FLAC__ASSERT(ret); in spotcheck_subframe_estimate_()
3813 FLAC__ASSERT(order > 0); in evaluate_lpc_subframe_()
3814 FLAC__ASSERT(order <= FLAC__MAX_LPC_ORDER); in evaluate_lpc_subframe_()
3950 FLAC__ASSERT(best_residual_bits != 0); in find_best_partition_order_()
4006 FLAC__ASSERT(default_partition_samples > predictor_order); in precompute_partition_info_sums_()
4071 FLAC__ASSERT(default_partition_samples > predictor_order); in precompute_partition_info_escapes_()
4176FLAC__ASSERT(suggested_rice_parameter < FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE2_ESCAPE_PARAM…
4177FLAC__ASSERT(rice_parameter_limit <= FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE2_ESCAPE_PARAMETE…
4374 FLAC__ASSERT(fifo->tail <= fifo->size);
4391 FLAC__ASSERT(fifo->tail <= fifo->size);
4401 FLAC__ASSERT(*bytes >= FLAC__STREAM_SYNC_LENGTH);
4412 FLAC__ASSERT(0);
4448 FLAC__ASSERT(i < blocksize);
4449 FLAC__ASSERT(frame->header.number_type == FLAC__FRAME_NUMBER_TYPE_SAMPLE_NUMBER);
4462 FLAC__ASSERT(encoder->private_->verify.input_fifo.tail <= OVERREAD_);