Displaying 19 results from an estimated 19 matches for "16bps".
Did you mean:
16kbps
2015 Apr 18
2
"keep qlp coeff precision such that only 32-bit math is required"
stream_encoder.c has the following code:
/* try to keep qlp coeff precision such that only 32-bit math is required for decode of <=16bps streams */
if(subframe_bps <= 16) {
...
But FLAC can convert 16-bit input to 17-bit if mid-side coding is used.
So, does it make sense to compare subframe_bps with 17?
(The patch is attached. What do you think about it?)
-------------- next part --------------
A non-text attachment was scrub...
2004 Sep 10
2
Re: Bug#119396: flac: Decoded data does not equal orginal data.
...ions: -P 0 -b 4608 -m -l 8 -q 0 -r 3,3 -R 0 -V
test: 101% complete, ratio=0.078
Which is clearly wrong (101%), and I think should probably trigger an error
(but doesn't). Based on a few quick tests, this kind of problem seems to
occur with any file smaller than 4k (at least when using
44100Hz/16bps/2chan).
--
- mdz
2004 Sep 10
0
Odd xmms plugin behavior
...> if you 'flac -t' the encoded 8-bit mono file, does it test ok?
>
> Yes, it does. Here is what file(1) says about it:
>...
> Everything looks fine until I try to play it with the xmms plugin.
>
Well, egg on my face... I just looked at the code, and I have only
written 16bps support into the plugin. From scraping my memory,
I think this was because I couldn't find enough info on how to
format the unencoded audio data when passing it up to the player
and the only example I had was for 16bps stereo. I'll look for some
more code somewhere or maybe just play some...
2014 Jul 28
1
Duplicate QLP coefficient restricting code
...es are usually 0.5%
larger then when not using the switch. I stumbled upon this code
in stream_encoder
> if(encoder->protected_->do_qlp_coeff_prec_search) {
> min_qlp_coeff_precision = FLAC__MIN_QLP_COEFF_PRECISION;
> /* try to ensure a 32-bit datapath throughout for
> 16bps(+1bps for side channel) or less */
> if(subframe_bps <= 17) {
> max_qlp_coeff_precision = flac_min(32 - subframe_bps -
> lpc_order, FLAC__MAX_QLP_COEFF_PRECISION);
> max_qlp_coeff_precision =
> flac_max(max_qlp_coeff_precision, min_qlp_coeff_precision);
>...
2014 Jul 28
0
[PATCH] Fix bug when using -p switch during compression
...coder.c
+++ b/src/libFLAC/stream_encoder.c
@@ -3428,9 +3428,9 @@ FLAC__bool process_subframe_(
}
if(encoder->protected_->do_qlp_coeff_prec_search) {
min_qlp_coeff_precision = FLAC__MIN_QLP_COEFF_PRECISION;
- /* try to ensure a 32-bit datapath throughout for 16bps(+1bps for side channel) or less */
- if(subframe_bps <= 17) {
- max_qlp_coeff_precision = flac_min(32 - subframe_bps - lpc_order, FLAC__MAX_QLP_COEFF_PRECISION);
+ /* try to keep qlp coeff precision such that only 32-bit math is required for decode of <=16bps streams...
2004 Sep 10
2
Re: Bug#119396: flac: Decoded data does not equal orginal data.
...t match original raw data
thanks
On Tue, Nov 13, 2001 at 02:38:32AM +0000, Adam M. Costello wrote:
> Matt Zimmerman <mdz@debian.org> wrote:
>
> > Based on a few quick tests, this kind of problem seems to occur with
> > any file smaller than 4k (at least when using 44100Hz/16bps/2chan).
>
> I don't think the problem is related to file size. The exact same
> thing happens when I use a file over 700 MB. That's actually where I
> discovered the problem, then I tried a small file to see if the behavior
> was consistent.
You are right; my test was fla...
2005 Apr 25
1
unsigned and signed ?
...as CHAR data, whereas my data is UNSIGNED CHAR... would this be an issue ?
If so, what would be the proper way for me to convert from char* to unsigned
char* ?
If it's not an issue, any ideas on what could be causing it ? (IE. the
format of my raw data etc which btw is 8000 samples/sec mono 16bps)
Thanks :)
_________________________________________________________________
Take charge with a pop-up guard built on patented Microsoft® SmartScreen
Technology
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_...
2015 Apr 18
2
"keep qlp coeff precision such that only 32-bit math is required"
...t 12:20 PM, Brian Willoughby <brianw at audiobanshee.com> wrote:
> Hmm, I don't know the history of the code, but flac 1.2.1 stream_encoder.c has
>
> min_qlp_coeff_precision = FLAC__MIN_QLP_COEFF_PRECISION;
> /* try to ensure a 32-bit datapath throughout for 16bps(+1bps for side channel) or less */
> if(subframe_bps <= 17) {
> max_qlp_coeff_precision = min(32 - subframe_bps - lpc_order, FLAC__MAX_QLP_COEFF_PRECISION);
> max_qlp_coeff_precision = max(max_qlp_coeff_precision, min_qlp_coeff_precision);
> }
&g...
2014 Aug 14
1
Encoder example for 24-bit files
...t argc, char *argv[])
@@ -73,14 +75,18 @@ int main(int argc, char *argv[])
memcmp(buffer+8, "WAVEfmt \020\000\000\000\001\000\002\000", 16) ||
memcmp(buffer+32, "\004\000\020\000data", 8)
) {
+#if BPS == 16
fprintf(stderr, "ERROR: invalid/unsupported WAVE file, only 16bps
stereo WAVE in canonical form allowed\n");
fclose(fin);
return 1;
+#elif BPS == 24
+ /* TODO: check wav header for 24bps */
+#endif
}
sample_rate = ((((((unsigned)buffer[27] << 8) | buffer[26]) << 8) |
buffer[25]) << 8) | buffer[24];
- channels = 2;
- bps = 16;
- tota...
2004 Sep 10
0
Winamp plugin problems?
...m passing this on to the list to get some feedback...
Mike is getting sped-up playback with the winamp2 plugin
(0.10) and for the life of me I can't reproduce it. I've
tried winamp 2.07 and 2.76 (I think the latest one). Is
anyone else having the same problem?
BTW Mike, are these 44.1kHz/16bps files? What version of
Winamp are you using?
Josh
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
2004 Sep 10
0
Re: Bug#119396: flac: Decoded data does not equal orginal data.
...n Tue, Nov 13, 2001 at 02:38:32AM +0000, Adam M. Costello wrote:
>
> > Matt Zimmerman <mdz@debian.org> wrote:
> >
> > > Based on a few quick tests, this kind of problem seems to occur
> with
> > > any file smaller than 4k (at least when using
> 44100Hz/16bps/2chan).
> >
> > I don't think the problem is related to file size. The exact same
> > thing happens when I use a file over 700 MB. That's actually where
> I
> > discovered the problem, then I tried a small file to see if the
> behavior
> > was consiste...
2004 Sep 10
1
trying to write encoder - need help!
Hi all,
I'm attempting to encode raw audio data using libFLAC++. My audio data
is 16 bit, mono, 16000Hz. I set all the appropriate parameters on the
encoder and then call init(). Everything appears to be ok.
I don't know how to properly convert from char *data to the FLAC__int32
*[] requested by the process function. I think this is where my problem
is.
If I call process() like this:
2015 Apr 22
2
"keep qlp coeff precision such that only 32-bit math is required"
Martijn van Beurden wrote:
> Yes, but that MAX value is used to loop over the
> qlp_coeff_precision values between MIN and MAX. So, if the
> qlp_coeff_precision value is limited in the loop but MAX is not
> limited, the loop does the exact same thing multiple times: a
> waste of time. Therefore, only the MAX should be limited.
>
> I don't think the logic is needed
2008 Jul 14
0
How to subscribe new stream.
...I am new in this community. Recently I build a new streaming station. This
stream in AAC. I want to subscribe this in the icecast stream directory. How
can I do this? please can anybody help me?
Stream information:
url: http://bd.rubel.googlepages.com/gCast_live.m3u
Stream Genre: Talk
Bitrate: 16bps
Thanks,
Salahuddin Ahmed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/icecast/attachments/20080714/f77044c2/attachment.htm
2008 Jul 17
1
How to subscribe new stream in icecast directory.
...I am new in this community. Recently I build a new streaming station. This
stream in AAC. I want to subscribe this in the icecast stream directory. How
can I do this? please can anybody help me?
Stream information:
url: http://bd.rubel.googlepages.com/gCast_live.m3u
Stream Genre: Talk
Bitrate: 16bps
Thanks,
Salahuddin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/icecast/attachments/20080717/ab5d46d0/attachment.htm
2014 Aug 14
6
Encoder example for 24-bit files
...gv[])
@@ -71,13 +71,15 @@
memcmp(buffer+8, "WAVEfmt \020\000\000\000\001\000\002\000", 16) ||
memcmp(buffer+32, "\004\000\020\000data", 8)
) {
+ /* Ignoring for now as I work towards supporting 24bps files.
fprintf(stderr, "ERROR: invalid/unsupported WAVE file, only 16bps
stereo WAVE in canonical form allowed\n");
fclose(fin);
return 1;
+ */
}
sample_rate = ((((((unsigned)buffer[27] << 8) | buffer[26]) << 8) |
buffer[25]) << 8) | buffer[24];
- channels = 2;
- bps = 16;
+ channels = ((unsigned)buffer[23] << 8) | buffer[22];
+ bps...
2008 May 19
1
Memory leaks due to Metadata object vorbis comment API ???
...t; memcmp(buffer, "RIFF", 4) ||
> memcmp(buffer+8, "WAVEfmt \020\000\000\000\001\000\002\000", 16) ||
> memcmp(buffer+32, "\004\000\020\000data", 8)
> ) {
> fprintf(stderr, "ERROR: invalid/unsupported WAVE file, only 16bps
> stereo WAVE in canonical form allowed\n");
> fclose(fin);
> return 1;
> }
> sample_rate = ((((((unsigned)buffer[27] << 8) | buffer[26]) << 8) |
> buffer[25]) << 8) | buffer[24];
> printf("sampleRate:%d\n", sample_ra...
2012 Apr 05
2
[PATCH 2/2] V2: Use a single definition of MIN and MAX in sources
...artition_order);
+ min_partition_order = flac_min(min_partition_order, max_partition_order);
/*
* Setup the frame
@@ -3332,8 +3323,8 @@ FLAC__bool process_subframe_(
min_qlp_coeff_precision = FLAC__MIN_QLP_COEFF_PRECISION;
/* try to ensure a 32-bit datapath throughout for 16bps(+1bps for side channel) or less */
if(subframe_bps <= 17) {
- max_qlp_coeff_precision = min(32 - subframe_bps - lpc_order, FLAC__MAX_QLP_COEFF_PRECISION);
- max_qlp_coeff_precision = max(max_qlp_coeff_precision, min_qlp_coeff_precision);
+ max_qlp_coeff_preci...
2020 Apr 24
0
Wine release 5.7
...r 32bppCMYK and 64bppCMYK formats to TIFF decoder.
windowscodecs: Add support for 3bps RGB format to TIFF decoder.
windowscodecs: Add support for 12bps RGB format to TIFF decoder.
windowscodecs: Add support for 4bps RGBA format to TIFF decoder.
windowscodecs: Add support for 16bps RGBA format to TIFF decoder.
windowscodecs: Add support for 96bppRGBFloat and 128bppPRGBAFloat formats to TIFF decoder.
windowscodecs/tests: Add some tests for various TIFF color formats.
windowscodecs/tests: Add a separate test for 4bps BGRA TIFF format.
Fran?ois Gouget (14):...