Displaying 3 results from an estimated 3 matches for "dstvalue".
2014 Jul 29
2
[LLVMdev] to lower "write to argument pointer"
...ring it with INTRINSIC_W_CHAIN, so the return value and the value to write to dst are generated with some operations using src:
"
// it is the frame index node corresponding to input pointer
SDvalue frindex = Op.getoperand(3);
…
SDValue returnValue = DAG.getNode(myNode1, DL, VT….);
SDValue dstValue = DAG.getNode(myNode2, DL, VT….);
// to save the value to dst pointer, I think I need some call like
SDValue dstOut = DAG.getStore(chain, DL, dstValue, FrameIndex, MachinePointerInfo(), false, false, 0);
“
I have two questions here:
(1) should I return some merges values( returnValue, DstValu...
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...mples > 0) {
pcmSamples = vorbis_synthesis_pcmout(vd, &pcm);
/* Interleaver for output PCM */
for(ii=0; ii<pcmSamples; ++ii) {
for(jj=0; jj<numChannels; ++jj) {
ogg_int32_t *srcChannelArray = pcm[jj];
ogg_int32_t srcValue = srcChannelArray[ii];
short dstValue = CLIP_TO_15(srcValue>>9);
long bytesWritten = fwrite(&dstValue, 2, 1, stdout);
}
}
/* Let the decoder know how many samples we actually consumed */
vorbis_synthesis_read(vd, pcmSamples);
}
}
}
}
} /* Packet valid */
} /* Iterates...
2009 Dec 15
2
[PATCH 1/2] drm/nouveau: Kill global state in NvShadowBIOS
---
drivers/gpu/drm/nouveau/nouveau_bios.c | 47 ++++++++++++++-----------------
1 files changed, 21 insertions(+), 26 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c
index 5eec5ed..04ac564 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bios.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bios.c
@@ -181,43 +181,42 @@ struct methods {
const char