[FFmpeg-devel] [PATCH] Blackfin MPEGVIDEO DCT Quantization, Last Non Zero optimization

Marc Hoffman mmhoffm
Wed Jun 13 14:38:34 CEST 2007


On 6/13/07, M?ns Rullg?rd <mans at mansr.com> wrote:
>
> Marc Hoffman wrote:
> > I followed all your instructions/suggestions accept for the specific
> > blackfin profile stuff which I'm very sorry about.  I can fix the __
> > name stuff although I'm currently stumped on that because __ is what
> > compilers and low level things use to implement transparent
> > functionality which is kind of what this is.  I will fix this latter
> > today with ff__t0 ff__lab even though I believe this is an acceptable
> > use of a variable prefixed with _ because its a block local label.
>
> Names starting with __ or _[A-Z] are reserved for any use.  Names starting
> with _[a-z] are reserved in the global scope.  Unless you are writing libc
> or the kernel, you must stay out of the reserved namespaces.

I will change it to this.

#define PROF(lab,e) { int xx_e = e; char*xx_lab = lab; uint64_t xx_t0
= read_time();
#define EPROF()       xx_t0 = read_time()-xx_t0; Telem[xx_e] =
Telem[xx_e] + xx_t0; TelemNames[xx_e] = xx_lab; }

Marc




More information about the ffmpeg-devel mailing list