Displaying 20 results from an estimated 600 matches similar to: "voribs_analysis() question"
2001 Jan 09
1
Question re: vorbis_block_clear()
I'm running into memory leak and read-from/write-to unallocated errors in
the cleanup phase of parallel oggenc.
I see in vorbis_block_clear() that it references some fields on the
vorbis_dsp_state that it cached during vorbis_block_init(), and
conditionally does some cleanup based on the values of those fields.
Does this fact effectively mean that you can't have multiple vorbis_block
2001 Jan 26
1
Thread issues: clarification
Monty --
I'm still running into problems with my threaded encoded, and I think I
just figured out why.
I have N threads running in parallel calling vorbis_analysis_blockout()
and vorbis_analysis() to do the number crunching on the input samples.
They all share a single vorbis_dsp_state -- my understanding was that this
was ok; they only *read* from the vorbis_dsp_state, therefore not
2009 Mar 15
1
Add vorbis_dsp_init() ?
Hi,
This mozilla bug report is a crash triggered by a Vorbis file with
corrupt headers:
https://bugzilla.mozilla.org/show_bug.cgi?id=481601
The patch to fix the crash adds a new vorbis_dsp_init() function to
libvorbis, and calls
that from fs_vorbis_init() in libfishsound:
https://bug481601.bugzilla.mozilla.org/attachment.cgi?id=366150
The public function it adds is:
void
2003 Feb 13
2
Are vorbis_blocks really independent?
I read some lines in libvorbis/include/vorbis/codec.h:
/* vorbis_block is a single block of data to be processed as part of
the analysis/synthesis stream; it belongs to a specific logical
bitstream, but is independant from other vorbis_blocks belonging to
that logical bitstream. *************************************************/
My question. Does this imply that vorbis_analysis
2004 Jun 29
3
Struct Fields Description
Hello all
Can anyone point me to some form of description for the fields in the
following structures :
1/ vorbis_dsp_state
2/ vorbis_block
Thank you.
regards
~previr
_____________________________________________________________
Previr Rangroo STMicroelectronics
Associate Systems Lab Engineer Plot No. 2 & 3,
Audio Competence Center Sector 16A,
2004 Jun 29
3
Struct Fields Description
Hello all
Can anyone point me to some form of description for the fields in the
following structures :
1/ vorbis_dsp_state
2/ vorbis_block
Thank you.
regards
~previr
_____________________________________________________________
Previr Rangroo STMicroelectronics
Associate Systems Lab Engineer Plot No. 2 & 3,
Audio Competence Center Sector 16A,
2001 Sep 02
0
Encoding process
I apologize for bugging you all again, but I've been trying to wrap my head
around the encoding process and I'm about to have an aneurysm :P
I've gone through oggenc.c, encode.c, and audio.c and I think I have a basic
idea of what happens. I got it down in pseudocode as follows:
---
1 get parameters
2 init vorbis_comment -- vorbis_comment_init()
3 init vorbis_info --
2000 Dec 24
0
State of Vorbis: Monty's current offline development
Nothing on a branch yet; I'll be building a temp branch for my changes
soon.
First, I'm eliminating ordering dependancies in vorbis_block
structures. They'll be totally sepreate and vorbis_analysis won't
have a global state in vorbis_dsp_state that requires them being done
in order. That way, a parallel-threaded encoder can run multiple
vorbis_blocks through multiple
2001 Mar 11
1
vorbis_analysis() dependencies?
Per Monty's suggestions from a while ago, I have [finally] gotten around
to playing with different schemes for parallel oggenc. Monty's main
suggestion was to have a single thread loop over reading samples and
calling vorbis_analysis_blockout(), and then queueing up the resulting
blocks to be processed through vorbis_analysis() in other threads (in
parallel).
To verify that this works, I
2003 Oct 09
0
Vorbis plugin for RealOne Player
Hi All,
I am trying to build an Ogg/Vorbis plugin for RealOne Player through the
HelixCommunity source. During runtime, however, I saw an access violation.
I did some debugging and narrowed it down to the following function in the
Vorbis source..
int vorbis_synthesis(vorbis_block *vb,ogg_packet *op){
vorbis_dsp_state *vd=vb->vd;
backend_lookup_state *b=vd->backend_state;
2012 May 14
0
Memory Leak in vorbis_info_clear()
I'm having trouble tracking down why it leaks, but below is an example
program which shows--using valgrind--that vorbis_info_clear() leaks memory
if called before vorbis_dsp_clear(), but not if called after
vorbis_dsp_clear(). Just compile and run under valgrind, using the -l switch
to the example program to trigger a leak. Tested under OS X 10.7 and Ubuntu
12.04.
This may be by design, or
2007 Aug 10
5
[Patch] Const correct tags functions
Hi all,
I tend to compile my code with all GCC warnings turned on. However,
when I do this :
vorbis_comment_add_tag(&vdata->vc,"ENCODER","libsndfile");
I get the following warning messages:
warning: passing argument 2 of 'vorbis_comment_add_tag' discards
qualifiers from pointer target type
warning: passing argument 3 of
2017 Feb 06
3
libvorbis without encapulsation
Using libvorbis (1.3.5) I wish to extract the raw vorbis packets.
I've built some simple code on the excellent libvorbis API overview on
the xiph.org site, but the example relies on the ogg_packet struct for
final output and input to decoder, and shows now examples on how to do
without it.
Taking a look at the vorbis_bitstream_flush() function, which in the
overview is the last step before
1999 Oct 04
3
Detailed decoder pseudocode (was: Re: ETA?)
> > Which part?
>
> Well, my biggest problem is dealing with files. As you have mentioned
> that fill_buffer() is obsolete, what has replaced it? ogg_sync_buffer()
> didn't seem to be what I was looking for, as far as I can tell... am I
> headed in completely the wrong direction?
Ah, OK, I understand where you're headed now.
The libvorbis API is different than
2003 Sep 11
1
Flushing audio
Hi there again..
I'm still writing my particular-case-vorbis-encoder-and-player, and it
worked fine until now.
I'm having a problem trying to encoding the audio. I need to send the data
very quickly, as soon as i capture it from the sound card.
Currently i have the following (audio captured 16 bits, mono):
void VorbisEncoder::encode(void *data, int r)
{
char *buf = (char *)
2006 Oct 09
1
Vorbis primitive API examples (LONG)
Okay, how do I drop a changeset/patchset/tag for you folks from SVN?
At this point, I have written three examples of how to use the basics of
the ogg streaming and decoding in Tremor. I heartily welcome any
suggestions, improvements and corrections that you can point out in the
code.
The examples required me to make some small modifications to the main
tremor library. However, the changes
2002 Aug 06
0
Getting a GUI to work with Vorbis code
I am trying to create a Graphical User Interface for a Vorbis Player under
MS Visual C++ 6.0
I was initially trting to use the code from decoder_example.c but I keep
getting linker errors.
I have set up my project as told to by James Boer on this mailing list.
This is as follows:
This document was prepared from an email received from James Boer on the Ogg
Vorbis mailing list. It gives a
2015 May 15
1
Extension to libvorbis for lossless volume changes
I added a new function to libvorbis that allows lossless changes of the
volume to an vorbis_block. This can help to get reasonable loudness on
hardware players that do not support the Replay Gain tags.
int vorbis_gainadj(vorbis_block *vb, ogg_packet *op, float* dbgain);
dbgain contains the relative adjustment for each channel.
The trick is quite simple. I adjust the first 2 floor values for
2014 Sep 10
4
[RFC PATCH v1 0/3] Introducing ARM SIMD Support
libvorbis does not currently have any simd/vectorization.
Following patches add generic framework for simd/vectorization
and on top, add ARM-NEON simd vectorization using intrinsics.
I was able to get over 34% performance improvement on my
Beaglebone Black which is single Cortex-A8 based CPU.
You can find more information on metrics and procedure I used
to measure at
2008 Sep 12
4
[Patch] New function of libvorbis
This patch offers interface to get the library name which software uses.
Function:
char *vorbis_version_string(void);
PATCH (for libvorbis-1.2.1RC2):
diff -crN libvorbis-1.2.1RC2/include/vorbis/codec.h libvorbis-1.2.1RC2_NI/include/vorbis/codec.h
*** libvorbis-1.2.1RC2/include/vorbis/codec.h Mon Aug 25 05:57:44 2008
--- libvorbis-1.2.1RC2_NI/include/vorbis/codec.h Sat Sep 13 05:00:22 2008