Displaying 13 results from an estimated 13 matches for "bits2".
Did you mean:
bits
2007 Mar 06
1
Merging stats from multiple databases for expand
In matcher/expandweight.cc we have:
OmExpandBits
operator+(const OmExpandBits &bits1, const OmExpandBits &bits2)
{
OmExpandBits sum(bits1);
sum.multiplier += bits2.multiplier;
sum.rtermfreq += bits2.rtermfreq;
// FIXME - try to share this information rather than pick half of it
if (bits2.dbsize > sum.dbsize) {
DEBUGLINE(WTCALC, "OmExpandBits::operator+ using second o...
2007 Sep 27
1
Need some clarifications about "speex_preprocess_run"
...h line should I insert "speex_preprocess_run", assume init and destroy are handled properly?encode part.
.
.speex_bits_reset(&bits);speex_encode_int(encoder, (spx_int16_t* )bytes, &bits);count = speex_bits_write(&bits, bytes, len);.
.
.decode part.
.
.speex_bits_read_from(&bits2, bytes, enc_count);speex_decode_int(decoder, &bits2, bytes);.
.
.Thanks in advanceHAI YUN TAO
_________________________________________________________________
Connect to the next generation of MSN Messenger?
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailt...
2015 Feb 23
1
[PATCH] opus_demo: remove unused but set values
...opus_demo.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/opus_demo.c b/src/opus_demo.c
index 72506b5..5a75679 100644
--- a/src/opus_demo.c
+++ b/src/opus_demo.c
@@ -245,14 +245,14 @@ int main(int argc, char *argv[])
double bits=0.0, bits_max=0.0, bits_act=0.0, bits2=0.0, nrg;
double tot_samples=0;
opus_uint64 tot_in, tot_out;
- int bandwidth=-1;
+ int bandwidth=OPUS_AUTO;
const char *bandwidth_string;
int lost = 0, lost_prev = 1;
int toggle = 0;
opus_uint32 enc_final_range[2];
opus_uint32 dec_final_range;
int encod...
2013 Feb 11
2
[LLVMdev] DFAPacketizer
...ject:* [LLVMdev] DFAPacketizer
Hi,
I am having problems writing the ProcessorItineraries list. As
instructions on my VLIW target have varying size I want to model both
cpu units and bundle bits as FUs. The following does not work, to my
surprise:
InstrItinData<ALU, [InstrStage<1, [BITS1,BITS2, BITS3, BITS4], 0>,
InstrStage<1, [ALU1, ALU2]>]>
I want to express that there are two ALU's, and four bundle slots, and
in this case while allocating this type of instructions several times, I
would like to be allowed only two such instructions per cycle.
ResourceTracker->r...
2013 Feb 12
2
[LLVMdev] DFAPacketizer
...,
>
> I am having problems writing the ProcessorItineraries list. As
> instructions on my VLIW target have varying size I want to model both
> cpu units and bundle bits as FUs. The following does not work, to my
> surprise:
>
> InstrItinData<ALU, [InstrStage<1, [BITS1,BITS2, BITS3, BITS4], 0>,
>
> InstrStage<1, [ALU1, ALU2]>]>
>
> I want to express that there are two ALU's, and four bundle slots, and
> in this case while allocating this type of instructions several times,
> I would like to be allowed only two such instructions per c...
2013 Feb 12
0
[LLVMdev] DFAPacketizer
...Subject: [LLVMdev] DFAPacketizer
Hi,
I am having problems writing the ProcessorItineraries list. As instructions on my VLIW target have varying size I want to model both cpu units and bundle bits as FUs. The following does not work, to my surprise:
InstrItinData<ALU, [InstrStage<1, [BITS1,BITS2, BITS3, BITS4], 0>,
InstrStage<1, [ALU1, ALU2]>]>
I want to express that there are two ALU's, and four bundle slots, and in this case while allocating this type of instructions several times, I would like to be allowed only two such instructions per c...
2013 Feb 18
0
[LLVMdev] DFAPacketizer
...Subject: [LLVMdev] DFAPacketizer
Hi,
I am having problems writing the ProcessorItineraries list. As instructions on my VLIW target have varying size I want to model both cpu units and bundle bits as FUs. The following does not work, to my surprise:
InstrItinData<ALU, [InstrStage<1, [BITS1,BITS2, BITS3, BITS4], 0>,
InstrStage<1, [ALU1, ALU2]>]>
I want to express that there are two ALU's, and four bundle slots, and in this case while allocating this type of instructions several times, I would like to be allowed only two such instructions per c...
2013 Feb 11
0
[LLVMdev] DFAPacketizer
Hi,
I am having problems writing the ProcessorItineraries list. As instructions on my VLIW target have varying size I want to model both cpu units and bundle bits as FUs. The following does not work, to my surprise:
InstrItinData<ALU, [InstrStage<1, [BITS1,BITS2, BITS3, BITS4], 0>,
InstrStage<1, [ALU1, ALU2]>]>
I want to express that there are two ALU's, and four bundle slots, and in this case while allocating this type of instructions several times, I would like to be allowed only two such instructions per c...
2007 Apr 17
0
8 commits - configure.ac doc/Makefile.am libswfdec/jpeg libswfdec/swfdec_debug.h libswfdec/swfdec_image.c
...der_restart (JpegDecoder * dec, JpegBits * bits)
{
- OIL_DEBUG ("restart");
+ SWFDEC_DEBUG ("restart");
return 0;
}
void
-jpeg_decoder_decode_entropy_segment (JpegDecoder * dec, bits_t * bits)
+jpeg_decoder_decode_entropy_segment (JpegDecoder * dec)
{
- bits_t b2, *bits2 = &b2;
+ JpegBits * bits = &dec->bits;
+ JpegBits b2, *bits2 = &b2;
short block[64];
short block2[64];
unsigned char *newptr;
@@ -648,7 +396,7 @@ jpeg_decoder_decode_entropy_segment (Jpe
}
len++;
}
- OIL_DEBUG ("entropy length = %d", len);
+ SWFDEC...
2007 Feb 13
0
9 commits - libswfdec/js libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_codec_screen.c libswfdec/swfdec_image.c libswfdec/swfdec_script.c test/Makefile.am test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c
...->type, def->hint);
+ } else {
+ guint length = GPOINTER_TO_UINT (entry->value);
+ SwfdecBuffer *buffer = swfdec_bits_get_buffer (bits, length);
+ if (buffer == NULL) {
+ swfedit_tag_add_token (token, def->name, def->type, def->hint);
+ } else {
+ SwfdecBits bits2;
+ swfdec_bits_init (&bits2, buffer);
+ swfedit_tag_read_token (token, &bits2, def->name, def->type, def->hint);
+ swfdec_buffer_unref (buffer);
+ }
+ }
+ } else {
+ swfedit_tag_read_token (token, bits, def->name, def->type, def->hint);
+ }
+}
+
SwfeditTag *...
2007 Apr 18
2
libswfdec/jpeg
libswfdec/jpeg/jpeg_rgb_decoder.c | 1 -
1 files changed, 1 deletion(-)
New commits:
diff-tree 15ed4a69b4ffc265fe103ba79a0b60af7e42a9fa (from 2073f39bc0b0aa90f1f67def9bb3f0c6b68018ae)
Author: Benjamin Otte <otte@gnome.org>
Date: Wed Apr 18 10:47:06 2007 +0200
remove leftover debugging statement
diff --git a/libswfdec/jpeg/jpeg_rgb_decoder.c b/libswfdec/jpeg/jpeg_rgb_decoder.c
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
...->type, def->hint);
- } else {
- guint length = GPOINTER_TO_UINT (entry->value);
- SwfdecBuffer *buffer = swfdec_bits_get_buffer (bits, length);
- if (buffer == NULL) {
- swfedit_tag_add_token (token, def->name, def->type, def->hint);
- } else {
- SwfdecBits bits2;
- swfdec_bits_init (&bits2, buffer);
- swfedit_tag_read_token (token, &bits2, def->name, def->type, def->hint);
- swfdec_buffer_unref (buffer);
- }
- }
- } else {
- swfedit_tag_read_token (token, bits, def->name, def->type, def->hint);
- }
-}
-
-SwfeditTag *...
2007 Feb 13
0
libswfdec/jpeg libswfdec/swfdec_image.c
...x, y,
dec->scan_list[i].component_index,
dec->scan_list[i].dc_table, dec->scan_list[i].ac_table);
@@ -721,7 +695,7 @@ jpeg_decoder_decode_entropy_segment (Jpe
dec->dc_huff_table[dc_table_index],
dec->ac_huff_table[ac_table_index], bits2);
if (ret < 0) {
- JPEG_LOG ("%d,%d: component=%d dc_table=%d ac_table=%d",
+ OIL_DEBUG ("%d,%d: component=%d dc_table=%d ac_table=%d",
x, y,
dec->scan_list[i].component_index,
dec->scan_list[i].dc_table, dec-&...