Displaying 6 results from an estimated 6 matches for "r_end".
Did you mean:
_end
2004 Dec 29
0
libFLAC bitbuffer optimizations
...uch
> as possible */
> if(bb->total_consumed_bits >= FLAC__BITS_PER_BLURB) {
> +#if FLAC__BITS_PER_BLURB == 8
> + /*
> + * memset and memcpy are usually implemented in assembly language
> + * by the system libc, and they can be much faster
> + */
> + unsigned r_end = (bb->blurbs + (bb->bits? 1:0)),
> + r = bb->consumed_blurbs, l = r_end - r;
> + FLAC__blurb * rbuffer = &bb->buffer[r];
> + memcpy(&bb->buffer[0], rbuffer, r_end/4 + r_end%4);
> + memset(++rbuffer, 0, l/4 + l%4);
> +#elif FLAC__BITS_PER_BLURB ==...
2004 Dec 28
2
libFLAC bitbuffer optimizations
...nsumed buffer data toward the front as much as possible */
if(bb->total_consumed_bits >= FLAC__BITS_PER_BLURB) {
+#if FLAC__BITS_PER_BLURB == 8
+ /*
+ * memset and memcpy are usually implemented in assembly language
+ * by the system libc, and they can be much faster
+ */
+ unsigned r_end = (bb->blurbs + (bb->bits? 1:0)),
+ r = bb->consumed_blurbs, l = r_end - r;
+ FLAC__blurb * rbuffer = &bb->buffer[r];
+ memcpy(&bb->buffer[0], rbuffer, r_end/4 + r_end%4);
+ memset(++rbuffer, 0, l/4 + l%4);
+#elif FLAC__BITS_PER_BLURB == 32
+ /* the original ver...
2005 Jan 24
0
libFLAC bitbuffer optimizations
...5 Jan 2005 02:37:08 -0000 1.55
+++ bitbuffer.c 25 Jan 2005 02:39:52 -0000
@@ -228,11 +228,27 @@
/* first shift the unconsumed buffer data toward the front as much
as possible */
if(bb->total_consumed_bits >= FLAC__BITS_PER_BLURB) {
- unsigned l = 0, r = bb->consumed_blurbs, r_end = bb->blurbs +
(bb->bits? 1:0);
+#if FLAC__BITS_PER_BLURB == 8
+ /*
+ * memset and memcpy are usually implemented in assembly
language
+ * by the system libc, and they can be much faster
+ */
+ const unsigned r_end = bb->blurbs + (bb->bits? 1:0);
+...
2005 Jan 01
2
libFLAC bitbuffer optimizations
Josh Coalson <xflac@yahoo.com> wrote:
> thanks for the patch.
No prob :)
> also, if you have miroslav's patch again a more updated version
> of bitbuffer.c that would be great. I have been meaning to get
> around to applying it for a long time.
This is Miroslav's patch, from the mailing list post I dug up in the archives:
--- orig/src/libFLAC/bitbuffer.c
+++
2009 Mar 27
42
[PATCH 00/42] ocfs2: Add reflink file support. V1
Hi all,
So I have finally finished the v1 of reflink for ocfs2. It has some
bugs that I am still investigating, but the schema is almost there. So
I'd like to send it out first for review. And Tristan and I will
continue to work on the stability of the code.
The general information for reflink, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/Reflink.
For the design doc, please
2009 Apr 03
42
[PATCH 00/42] ocfs2: Add reflink file support. V2
Hi all,
Change from v1 to v2: bug fix and metadata/credits reservation
improvement.
The general information for reflink, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/Reflink.
For the design doc, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/RefcountTrees
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/ReflinkOperation