Displaying 20 results from an estimated 102 matches for "_state".
Did you mean:
state
2014 Dec 02
0
[PATCH RFC v5 05/19] virtio: support more feature bits
...);
+ /* XXX features >= 32 */
+ qemu_put_be32s(f, (uint32_t *)&vdev->guest_features);
qemu_put_be32(f, vdev->config_len);
qemu_put_buffer(f, vdev->config, vdev->config_len);
@@ -958,12 +960,12 @@ void virtio_save(VirtIODevice *vdev, QEMUFile *f)
vmstate_save_state(f, &vmstate_virtio, vdev);
}
-int virtio_set_features(VirtIODevice *vdev, uint32_t val)
+int virtio_set_features(VirtIODevice *vdev, uint64_t val)
{
BusState *qbus = qdev_get_parent_bus(DEVICE(vdev));
VirtioBusClass *vbusk = VIRTIO_BUS_GET_CLASS(qbus);
VirtioDeviceClass *k =...
2014 Dec 02
0
[PATCH RFC v5 05/19] virtio: support more feature bits
...);
+ /* XXX features >= 32 */
+ qemu_put_be32s(f, (uint32_t *)&vdev->guest_features);
qemu_put_be32(f, vdev->config_len);
qemu_put_buffer(f, vdev->config, vdev->config_len);
@@ -958,12 +960,12 @@ void virtio_save(VirtIODevice *vdev, QEMUFile *f)
vmstate_save_state(f, &vmstate_virtio, vdev);
}
-int virtio_set_features(VirtIODevice *vdev, uint32_t val)
+int virtio_set_features(VirtIODevice *vdev, uint64_t val)
{
BusState *qbus = qdev_get_parent_bus(DEVICE(vdev));
VirtioBusClass *vbusk = VIRTIO_BUS_GET_CLASS(qbus);
VirtioDeviceClass *k =...
2005 Mar 23
0
[PATCH]
...t.c
--- theora-exp/lib/fragment.c 2005-03-23 08:54:44.163819664 +0100
+++ theora-rel/lib/fragment.c 2005-03-23 09:42:29.000000000 +0100
@@ -1,6 +1,11 @@
#include "internal.h"
-void oc_frag_recon_intra(unsigned char *_dst,int _dst_ystride,
+inline void oc_frag_recon_intra(const oc_theora_state *_state,unsigned char *_dst,int _dst_ystride,
+ const ogg_int16_t *_residue){
+_state->opt_vtable.oc_frag_recon_intra(_dst,_dst_ystride,_residue);
+}
+
+void oc_frag_recon_intra__c(unsigned char *_dst,int _dst_ystride,
const ogg_int16_t *_residue){
int i;
for(i=0;i<8;i++){
@@ -10,7 +1...
2014 Dec 11
0
[PATCH RFC v6 05/20] virtio: support more feature bits
...);
+ /* XXX features >= 32 */
+ qemu_put_be32s(f, (uint32_t *)&vdev->guest_features);
qemu_put_be32(f, vdev->config_len);
qemu_put_buffer(f, vdev->config, vdev->config_len);
@@ -958,12 +960,12 @@ void virtio_save(VirtIODevice *vdev, QEMUFile *f)
vmstate_save_state(f, &vmstate_virtio, vdev);
}
-int virtio_set_features(VirtIODevice *vdev, uint32_t val)
+int virtio_set_features(VirtIODevice *vdev, uint64_t val)
{
BusState *qbus = qdev_get_parent_bus(DEVICE(vdev));
VirtioBusClass *vbusk = VIRTIO_BUS_GET_CLASS(qbus);
VirtioDeviceClass *k =...
2014 Dec 11
0
[PATCH RFC v6 05/20] virtio: support more feature bits
...);
+ /* XXX features >= 32 */
+ qemu_put_be32s(f, (uint32_t *)&vdev->guest_features);
qemu_put_be32(f, vdev->config_len);
qemu_put_buffer(f, vdev->config, vdev->config_len);
@@ -958,12 +960,12 @@ void virtio_save(VirtIODevice *vdev, QEMUFile *f)
vmstate_save_state(f, &vmstate_virtio, vdev);
}
-int virtio_set_features(VirtIODevice *vdev, uint32_t val)
+int virtio_set_features(VirtIODevice *vdev, uint64_t val)
{
BusState *qbus = qdev_get_parent_bus(DEVICE(vdev));
VirtioBusClass *vbusk = VIRTIO_BUS_GET_CLASS(qbus);
VirtioDeviceClass *k =...
2005 Aug 17
2
MMX loop filter for theora-exp
Hello,
I would like to announce the semi-optimized oc_state_loop_filter_frag_rows
It gains like 7% speedup. Unfortunately it has some issues:
1) wont compile on 64bit (I will fix it later hopefully)
2) is not yet fully optimized (instruction stalls)
Here are the results.
CPU: Athlon, speed 1466.91 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Cycles o...
2005 Mar 23
3
[PATCH] promised MMX patches rc1
...t.c
--- theora-exp/lib/fragment.c 2005-03-23 08:54:44.163819664 +0100
+++ theora-rel/lib/fragment.c 2005-03-23 09:42:29.000000000 +0100
@@ -1,6 +1,11 @@
#include "internal.h"
-void oc_frag_recon_intra(unsigned char *_dst,int _dst_ystride,
+inline void oc_frag_recon_intra(const oc_theora_state *_state,unsigned char *_dst,int _dst_ystride,
+ const ogg_int16_t *_residue){
+_state->opt_vtable.oc_frag_recon_intra(_dst,_dst_ystride,_residue);
+}
+
+void oc_frag_recon_intra__c(unsigned char *_dst,int _dst_ystride,
const ogg_int16_t *_residue){
int i;
for(i=0;i<8;i++){
@@ -10,7 +1...
2011 May 19
2
[PATCHv2 0/2] virtio-net: 64 bit features, event index
OK, here's a patch that implements the virtio spec update that I
sent earlier. It supercedes the PUBLISH_USED_IDX patches
I sent out earlier.
Support is added in both userspace and vhost-net.
If you see issues or are just curious, you can
turn the new feature off. For example:
-global virtio-net-pci.event_idx=on
-global virtio-blk-pci.event_idx=off
Also, it's possible to try both
2011 May 19
2
[PATCHv2 0/2] virtio-net: 64 bit features, event index
OK, here's a patch that implements the virtio spec update that I
sent earlier. It supercedes the PUBLISH_USED_IDX patches
I sent out earlier.
Support is added in both userspace and vhost-net.
If you see issues or are just curious, you can
turn the new feature off. For example:
-global virtio-net-pci.event_idx=on
-global virtio-blk-pci.event_idx=off
Also, it's possible to try both
2011 May 04
4
[PATCH 0/3] virtio-net: 64 bit features, event index
OK, here's a patch that implements the virtio spec update that I
sent earlier. It supercedes the PUBLISH_USED_IDX patches
I sent out earlier.
Support is added in both userspace and vhost-net.
I see nice performance improvements: e.g. from 12 to 18 Gbit/s host
to guest with netperf, but did not spend a lot of time testing
performance. I hope others will try this out and report.
Note: there
2011 May 04
4
[PATCH 0/3] virtio-net: 64 bit features, event index
OK, here's a patch that implements the virtio spec update that I
sent earlier. It supercedes the PUBLISH_USED_IDX patches
I sent out earlier.
Support is added in both userspace and vhost-net.
I see nice performance improvements: e.g. from 12 to 18 Gbit/s host
to guest with netperf, but did not spend a lot of time testing
performance. I hope others will try this out and report.
Note: there
2005 Aug 20
0
[PATCH] remove some FZIGZAG
...;SIGN_SHIFT[_token]];
*_zzi=zzi;
}
diff -Naur ../mergeSTATE/test/lib/internal.h test/lib/internal.h
--- ../mergeSTATE/test/lib/internal.h 2005-08-17 10:05:34.000000000 +0200
+++ test/lib/internal.h 2005-08-20 11:39:38.797310000 +0200
@@ -239,7 +239,7 @@
void (*state_frag_copy)(const oc_theora_state *_state,
const int *_fragis,int _nfragis,int _dst_frame,int _src_frame,int _pli);
void (*state_frag_recon)(oc_theora_state *_state,const oc_fragment *_frag,
- int _pli,ogg_int16_t _dct_coeffs[64],int _last_zzi,int _ncoefs,
+ int _pli,ogg_int16_t _dct_coeffs[128],int _last_zzi,int _ncoefs...
2007 Sep 26
1
Theora decoding problem on PowerPC
...()********++,,,,,,,ht\025\020\036\020\0307"..., _dst_ystride=-192,
_src1=0x300270b0 "%lu\n", _src1_ystride=-192, _src2=0x30026ff1
<Address 0x30026ff1 out of bounds>,
_src2_ystride=-192, _residue=0x7fabb2c0) at dec/fragment.c:77
#1 0x0ffcfca0 in oc_frag_recon_inter2 (_state=0x25, _dst=0x37 <Address
0x37 out of bounds>, _dst_ystride=110,
_src1=0x0, _src1_ystride=0, _src2=0xffffffff <Address 0xffffffff out
of bounds>, _src2_ystride=55, _residue=0x6e)
at dec/fragment.c:64
#2 0x0ffcbfcc in oc_state_frag_recon_c (_state=0x1002f988, _frag=0x4,
_pli=8...
2010 Jul 24
2
theorarm build
Hi all--
I tried building the ARM-optimized theora codec from the theorarm-
merge-branch, and encountered the following compile and runtime
problems before getting something to run. If there is another way to
build it, it would be nice to know, but I got the sense that its
current state in svn is incomplete.
I'm using a gcc cross-compiler for ARM on an x86 Linux PC. After
running
2005 Jul 20
1
MMX IDCT for theora-exp
...2000
samples % samples % image name symbol name
124337 22.0173 91089 23.4683 dump theora_decode_packetin
83446 14.7764 114246 29.4345 libc-2.3.2.so (no symbols)
74011 13.1057 33746 8.6944 dump oc_state_loop_filter_frag_rows
57706 10.2185 9204 2.3713 libogg.so.0.5.2 (no symbols)
39182 6.9383 10146 2.6140 dump oc_state_frag_recon_mmx
31095 5.5062 38650 9.9578 dump oc_frag_recon_inter2_mmx
24133 4.2734 12945 3.33...
2012 Sep 28
0
[PATCH qemu] virtio-net: add feature bit for any header s/g
...TIO_NET_F_CTRL_RX_EXTRA 20 /* Extra RX mode control support */
+#define VIRTIO_NET_F_ANY_HEADER_SG 22 /* Host can handle any header s/g */
#define VIRTIO_NET_S_LINK_UP 1 /* Link is up */
@@ -186,5 +187,6 @@ struct virtio_net_ctrl_mac {
DEFINE_PROP_BIT("ctrl_vq", _state, _field, VIRTIO_NET_F_CTRL_VQ, true), \
DEFINE_PROP_BIT("ctrl_rx", _state, _field, VIRTIO_NET_F_CTRL_RX, true), \
DEFINE_PROP_BIT("ctrl_vlan", _state, _field, VIRTIO_NET_F_CTRL_VLAN, true), \
- DEFINE_PROP_BIT("ctrl_rx_extra", _state, _field, V...
2012 Sep 28
0
[PATCH qemu] virtio-net: add feature bit for any header s/g
...TIO_NET_F_CTRL_RX_EXTRA 20 /* Extra RX mode control support */
+#define VIRTIO_NET_F_ANY_HEADER_SG 22 /* Host can handle any header s/g */
#define VIRTIO_NET_S_LINK_UP 1 /* Link is up */
@@ -186,5 +187,6 @@ struct virtio_net_ctrl_mac {
DEFINE_PROP_BIT("ctrl_vq", _state, _field, VIRTIO_NET_F_CTRL_VQ, true), \
DEFINE_PROP_BIT("ctrl_rx", _state, _field, VIRTIO_NET_F_CTRL_RX, true), \
DEFINE_PROP_BIT("ctrl_vlan", _state, _field, VIRTIO_NET_F_CTRL_VLAN, true), \
- DEFINE_PROP_BIT("ctrl_rx_extra", _state, _field, V...
2014 Dec 02
24
[PATCH RFC v5 00/19] qemu: towards virtio-1 host support
Another iteration of virtio-1 patches for qemu, as always available on
git://github.com/cohuck/qemu virtio-1
This one seems to work together with the current vhost-next patches
(well, I can ping :)
Changes from v4:
- add helpers for feature bit manipulation and checking
- use 64 bit feature bits instead of 32 bit arrays
- infrastructure to allow devices to offer different sets of feature
bits
2014 Dec 02
24
[PATCH RFC v5 00/19] qemu: towards virtio-1 host support
Another iteration of virtio-1 patches for qemu, as always available on
git://github.com/cohuck/qemu virtio-1
This one seems to work together with the current vhost-next patches
(well, I can ping :)
Changes from v4:
- add helpers for feature bit manipulation and checking
- use 64 bit feature bits instead of 32 bit arrays
- infrastructure to allow devices to offer different sets of feature
bits
2007 Oct 10
0
encode return 0
Hi.
I?m trying to use the speex library in c#, everything seems to works right,
when I call the speex_encode_int function it always return 0, any help would
be appreciated.
Here?s the sequence of calls:
//Initialization
_Mode = speex_lib_get_mode(0);
_State = speex_encoder_init(_Mode);
fixed (int* __FrameSize = &_FrameSize, __Complexity = &_Complexity,
__SamplingRate = &_SamplingRate)
{
speex_encoder_ctl(_State, 3 /*SPEEX_GET_FRAME_SIZE*/, __FrameSize);
speex_encoder_ctl(_State, 16 /*SPEEX_SET_COMPLEXITY*...