Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:FLAC__byte

109 	const FLAC__byte *data;
154 static FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, FLAC__bool is_last_block);
314 static FLAC__StreamDecoderReadStatus verify_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data);
319 static FLAC__StreamEncoderReadStatus file_read_callback_(const FLAC__StreamEncoder *encoder, FLAC__byte buffer[], size_t *bytes, void *client_data);
322 static FLAC__StreamEncoderWriteStatus file_write_callback_(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data);
2390 const FLAC__byte *buffer;
2435 FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, FLAC__bool is_last_block)
2527 FLAC__byte b[max(6, FLAC__STREAM_METADATA_SEEKPOINT_LENGTH)];
2587 b[0] = ((FLAC__byte)(bps-1) << 4) | (FLAC__byte)((samples >> 32) & 0x0F);
2588 b[1] = (FLAC__byte)((samples >> 24) & 0xFF);
2589 b[2] = (FLAC__byte)((samples >> 16) & 0xFF);
2590 b[3] = (FLAC__byte)((samples >> 8) & 0xFF);
2591 b[4] = (FLAC__byte)(samples & 0xFF);
2614 b[0] = (FLAC__byte)((min_framesize >> 16) & 0xFF);
2615 b[1] = (FLAC__byte)((min_framesize >> 8) & 0xFF);
2616 b[2] = (FLAC__byte)(min_framesize & 0xFF);
2617 b[3] = (FLAC__byte)((max_framesize >> 16) & 0xFF);
2618 b[4] = (FLAC__byte)((max_framesize >> 8) & 0xFF);
2619 b[5] = (FLAC__byte)(max_framesize & 0xFF);
2651 b[7] = (FLAC__byte)xx; xx >>= 8;
2652 b[6] = (FLAC__byte)xx; xx >>= 8;
2653 b[5] = (FLAC__byte)xx; xx >>= 8;
2654 b[4] = (FLAC__byte)xx; xx >>= 8;
2655 b[3] = (FLAC__byte)xx; xx >>= 8;
2656 b[2] = (FLAC__byte)xx; xx >>= 8;
2657 b[1] = (FLAC__byte)xx; xx >>= 8;
2658 b[0] = (FLAC__byte)xx; xx >>= 8;
2660 b[15] = (FLAC__byte)xx; xx >>= 8;
2661 b[14] = (FLAC__byte)xx; xx >>= 8;
2662 b[13] = (FLAC__byte)xx; xx >>= 8;
2663 b[12] = (FLAC__byte)xx; xx >>= 8;
2664 b[11] = (FLAC__byte)xx; xx >>= 8;
2665 b[10] = (FLAC__byte)xx; xx >>= 8;
2666 b[9] = (FLAC__byte)xx; xx >>= 8;
2667 b[8] = (FLAC__byte)xx; xx >>= 8;
2669 b[17] = (FLAC__byte)x; x >>= 8;
2670 b[16] = (FLAC__byte)x; x >>= 8;
2692 FLAC__byte b[max(6, FLAC__STREAM_METADATA_SEEKPOINT_LENGTH)];
2771 b[0] = (FLAC__byte)page.body[total_samples_byte_offset] & 0xF0;
2772 b[0] |= (FLAC__byte)((samples >> 32) & 0x0F);
2773 b[1] = (FLAC__byte)((samples >> 24) & 0xFF);
2774 b[2] = (FLAC__byte)((samples >> 16) & 0xFF);
2775 b[3] = (FLAC__byte)((samples >> 8) & 0xFF);
2776 b[4] = (FLAC__byte)(samples & 0xFF);
2797 b[0] = (FLAC__byte)((min_framesize >> 16) & 0xFF);
2798 b[1] = (FLAC__byte)((min_framesize >> 8) & 0xFF);
2799 b[2] = (FLAC__byte)(min_framesize & 0xFF);
2800 b[3] = (FLAC__byte)((max_framesize >> 16) & 0xFF);
2801 b[4] = (FLAC__byte)((max_framesize >> 8) & 0xFF);
2802 b[5] = (FLAC__byte)(max_framesize & 0xFF);
2816 FLAC__byte *p;
2838 b[7] = (FLAC__byte)xx; xx >>= 8;
2839 b[6] = (FLAC__byte)xx; xx >>= 8;
2840 b[5] = (FLAC__byte)xx; xx >>= 8;
2841 b[4] = (FLAC__byte)xx; xx >>= 8;
2842 b[3] = (FLAC__byte)xx; xx >>= 8;
2843 b[2] = (FLAC__byte)xx; xx >>= 8;
2844 b[1] = (FLAC__byte)xx; xx >>= 8;
2845 b[0] = (FLAC__byte)xx; xx >>= 8;
2847 b[15] = (FLAC__byte)xx; xx >>= 8;
2848 b[14] = (FLAC__byte)xx; xx >>= 8;
2849 b[13] = (FLAC__byte)xx; xx >>= 8;
2850 b[12] = (FLAC__byte)xx; xx >>= 8;
2851 b[11] = (FLAC__byte)xx; xx >>= 8;
2852 b[10] = (FLAC__byte)xx; xx >>= 8;
2853 b[9] = (FLAC__byte)xx; xx >>= 8;
2854 b[8] = (FLAC__byte)xx; xx >>= 8;
2856 b[17] = (FLAC__byte)x; x >>= 8;
2857 b[16] = (FLAC__byte)x; x >>= 8;
4170 FLAC__StreamDecoderReadStatus verify_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data)
4256 FLAC__StreamEncoderReadStatus file_read_callback_(const FLAC__StreamEncoder *encoder, FLAC__byte buffer[], size_t *bytes, void *client_data)
4309 FLAC__StreamEncoderWriteStatus file_write_callback_(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data)
4313 if(local__fwrite(buffer, sizeof(FLAC__byte), bytes, encoder->private_->file) == bytes) {