search for: c2

Displaying 20 results from an estimated 1945 matches for "c2".

Did you mean: cr2
2015 Dec 19
2
[PATCH] nvc0: add hardware ETC2 and ASTC support where possible
...ium/drivers/nouveau/nv50/nv50_formats.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_formats.c @@ -84,6 +84,29 @@ #define NV50_TIC_0_FMT_BPTC_FLOAT NVC0_TIC_0_FMT_BPTC_FLOAT #define NV50_TIC_0_FMT_BPTC_UFLOAT NVC0_TIC_0_FMT_BPTC_UFLOAT +/* GK20A and GM107+ formats */ +#define NV50_TIC_0_FMT_ETC2_RGB 0x06 +#define NV50_TIC_0_FMT_ETC2_RGBA1 0x0a +#define NV50_TIC_0_FMT_ETC2_RGBA 0x0b +#define NV50_TIC_0_FMT_ETC2_R11 0x19 +#define NV50_TIC_0_FMT_ETC2_RG11 0x1a + +/* On GK20A, the high bit goes elsewhere */ +#define NV50_TIC_0_FMT_ASTC_2D_4X4 0x40 +#define NV50_TIC_0_FMT...
2005 Jan 04
3
AVM C2 capi.conf ?
Hi, i will use an AVM C2 controller with asterisk. How can i use both card ports ?? On the voip-info.org Wiki is only notice to: You will need a section for each controller in /etc/asterisk/capi.conf so the C2 will have 2 sections. But how is look like this ? Only on the first port is asterisk assume connections, but...
2016 Feb 15
1
[PATCH 09/23] nv50-: separate vertex formats from surface format descriptions
...MT_##sz, U_##u \ > } > > #define C4A(p, n, r, g, b, a, t, s, u, br) \ > @@ -308,6 +304,10 @@ const struct nv50_format > nv50_format_table[PIPE_FORMAT_COUNT] = > I3B(R32G32B32X32_SINT, RGBX32_SINT, C0, C1, C2, xx, SINT, 32_32_32_32, > TR), > I3B(R32G32B32X32_UINT, RGBX32_UINT, C0, C1, C2, xx, UINT, 32_32_32_32, > TR), > > + F3A(R32G32B32_FLOAT, NONE, C0, C1, C2, xx, FLOAT, 32_32_32, tV), > + I3A(R32G32B32_SINT, NONE, C0, C1, C2, xx, SINT, 32_32_32, tV), > + I3A(R32G32B32_U...
2015 Apr 15
2
[LLVMdev] Instruction combiner multiplication canonicalization
Hi, I observed below behavior with Instruction combiner (visitMul Canonicalization) It tries to convert "(X+C1)*C2" to "X*C2+C1*C2" While transforming if operation is guaranteed to not overflow it does not reflect same property to transformed instructions. Consider following scenarios: 1) If input is ((X+C1)*C2)<nsw> Then post canonicalization output should be (X*C2+C1*C2) <nsw> 2)...
2016 Feb 15
0
[PATCH 09/23] nv50-: separate vertex formats from surface format descriptions
...\ + NV50_TIC_0_FMT_##sz, U_##u \ } #define C4A(p, n, r, g, b, a, t, s, u, br) \ @@ -308,6 +304,10 @@ const struct nv50_format nv50_format_table[PIPE_FORMAT_COUNT] = I3B(R32G32B32X32_SINT, RGBX32_SINT, C0, C1, C2, xx, SINT, 32_32_32_32, TR), I3B(R32G32B32X32_UINT, RGBX32_UINT, C0, C1, C2, xx, UINT, 32_32_32_32, TR), + F3A(R32G32B32_FLOAT, NONE, C0, C1, C2, xx, FLOAT, 32_32_32, tV), + I3A(R32G32B32_SINT, NONE, C0, C1, C2, xx, SINT, 32_32_32, tV), + I3A(R32G32B32_UINT, NONE, C0, C1, C2, xx, UINT,...
2015 Dec 19
0
[PATCH] nvc0: add hardware ETC2 and ASTC support where possible
...mats.c > +++ b/src/gallium/drivers/nouveau/nv50/nv50_formats.c > @@ -84,6 +84,29 @@ > #define NV50_TIC_0_FMT_BPTC_FLOAT NVC0_TIC_0_FMT_BPTC_FLOAT > #define NV50_TIC_0_FMT_BPTC_UFLOAT NVC0_TIC_0_FMT_BPTC_UFLOAT > > +/* GK20A and GM107+ formats */ > +#define NV50_TIC_0_FMT_ETC2_RGB 0x06 > +#define NV50_TIC_0_FMT_ETC2_RGBA1 0x0a > +#define NV50_TIC_0_FMT_ETC2_RGBA 0x0b > +#define NV50_TIC_0_FMT_ETC2_R11 0x19 > +#define NV50_TIC_0_FMT_ETC2_RG11 0x1a > + > +/* On GK20A, the high bit goes elsewhere */ > +#define NV50_TIC_0_FMT_ASTC_2D...
2011 Sep 02
0
No subject
...nt color=3D"#663366" face= =3D"tahoma, sans-serif"><br> </font></div><div><font color=3D"#663366" face=3D"tahoma, sans-serif">this = has been a weekend destroyer for me. I&#39;ve struggled this all day and mo= st of today.=C2=A0</font></div></div></blockquote><div><br></div><div>From = your discussion below, it sounds like the real problem is the Asterisk cras= hing.<br> </div><div>So, as a first step to solving **that** problem, make sure aster= isk is c...
2007 May 21
1
list element names in S4 class extending list
...be so but only if the containment relationship is direct ... see below. > setClass("c1", contains="list") [1] "c1" > l1 = list(a=1, b=2) > o1 = new("c1", l1) > names(o1) # pleasant surprise [1] "a" "b" > setClass("c2", contains="c1") [1] "c2" > o2 = new("c2", l1) > names(o2) # sad NULL > sessionInfo() R version 2.6.0 Under development (unstable) (2007-05-11 r41535) powerpc-apple-darwin8.9.0 locale: C attached base packages: [1] "stats" "graphi...
2002 Sep 05
2
FQDN
Hi, I've a question about a FQDN VS Shorewall configuration: I'd like to install a firewall that should forward the web requests to different web servers (iis, apache, and so on...); all web sites are registered with the same ip to internic (eg. www.example1.com-->151.99.234.3-->apache-server, www.example2.com-- >151.99.234.3-->iis-server, etc...) so I'm wondering if I
2011 Feb 04
3
[LLVMdev] ConstantBuilder proposal
...static Constant *GetNeg(Constant *C) { return ConstantExpr::getNeg(C); } static Constant *GetFNeg(Constant *C) { return ConstantExpr::getFNeg(C); } static Constant *GetNot(Constant *C) { return ConstantExpr::getNot(C); } static Constant *GetAdd(Constant *C1, Constant *C2) { return ConstantExpr::getAdd(C1, C2); } static Constant *GetFAdd(Constant *C1, Constant *C2) { return ConstantExpr::getFAdd(C1, C2); } static Constant *GetSub(Constant *C1, Constant *C2) { return ConstantExpr::getSub(C1, C2); } static Constant *GetFSub(Constant *C1, Con...
2005 Aug 13
1
Problem with numeric variable
Hello all, I posted a question some days ago without getting any answers, perhaps, as one of you kindly pointed out, because the question was not clearly stated. Let me reformulate it: In a frame, a column named C2 represents a numeric variable (checked with is.numeric(C2)). Some rows in the frame have an undefined value for C2, represented in the table by a ? sign. The remaining rows have numeric values with 2 decimals. For example, row 10 has 43.70 for C2, while row 1 has ?. The problem is that when I list...
2003 Feb 03
1
summary.table bug in parameter (and fix) (PR#2526)
...an old version, but it's in latest version as well. The fix is simple. In the summary.table function, the parameter is calculated incorrectly for a test of independence among all cells when the table is more than 2-way table. Example: Consider X: > X a b c 1 A1 B2 C1 2 A3 BA3 C2 3 A2 B1 C4 4 A1 B2 C3 5 A3 BA3 C2 6 A1 BA3 C1 7 A2 BA3 C2 8 A1 BA3 C3 9 A1 B2 C1 10 A1 BA3 C2 11 A2 B1 C2 12 A1 B2 C3 13 A3 BA3 C4 14 A2 B1 C3 15 A2 B1 C2 16 A2 BA3 C4 17 A3 BA3 C3 18 A3 BA3 C4 19 A2 BA3 C4 20 A1 B2 C3 21 A1 BA3 C1 22 A2 B1 C2 23 A2 BA3 C3 24 A...
2010 Jan 08
3
Print data frame as list including row/column name
Hi all, I have the following problem: I have a data frame (actually it is a prop.table) which I want to print as a list, e.g.: C1 C2 C3 R1 0.0 0.0 1.0 R2 1.0 0.0 0.0 R3 0.0 0.0 0.0 R4 0.0 1.0 0.0 should be printed like C1;R1;0.0 C2;R1;0.0 C3;R1;1.0 C1;R2;1.0 C2;R2;0.0 ..... Is there any existing solution out there or could somebody please give me a hint on how to solve the problem? Many thanks in advance,...
2016 Feb 15
24
[PATCH 01/23] nv50: import updated g80_defs.xml.h from rnndb
...+#define G80_TIC_TYPE_FLOAT 0x00000007 +#define G80_SURFACE_FORMAT_BITMAP 0x0000001c +#define G80_SURFACE_FORMAT_UNK1D 0x0000001d +#define G80_SURFACE_FORMAT_RGBA32_FLOAT 0x000000c0 +#define G80_SURFACE_FORMAT_RGBA32_SINT 0x000000c1 +#define G80_SURFACE_FORMAT_RGBA32_UINT 0x000000c2 +#define G80_SURFACE_FORMAT_RGBX32_FLOAT 0x000000c3 +#define G80_SURFACE_FORMAT_RGBX32_SINT 0x000000c4 +#define G80_SURFACE_FORMAT_RGBX32_UINT 0x000000c5 +#define G80_SURFACE_FORMAT_RGBA16_UNORM 0x000000c6 +#define G80_SURFACE_FORMAT_RGBA16_SNORM 0x000000c7 +#define G80_SURFACE_FORMA...
2010 Feb 10
1
looping problem
Hi R-users,   I have this code here: library(numDeriv)   fprime <- function(z) { alp  <- 2.0165;   rho  <- 0.868;   # simplified expressions   a      <- alp-0.5   c1     <- sqrt(pi)/(gamma(alp)*(1-rho)^alp)   c2     <- sqrt(rho)/(1-rho)   t1     <- exp(-z/(1-rho))   t2     <- (z/(2*c2))^a   bes1   <- besselI(z*c2,a)   t1bes1 <- t1*bes1   c1*t1bes1*t2 }   ## Newton iteration newton_gam <- function(z) { n   <- length(z)   r   <- runif(n)   tol <- 1E-6   cdf <- vector(length=n, m...
2007 Aug 27
1
use apply function with which
...up data frame' (in this example Y). The for-loop works but is very time-consuming because 'X' in reality is very big. Therefore I would like to have a solution with apply. However, I do not succeed. Any suggestions? Thanks in advance, Hanneke c1=c('a','a','b') c2=c('j','k','k') V1=c('a','a','a','a','b','b','b','b')) V2=c('i','j','k','l','i','j','k','l') V3=c(4,3,2,1,8,5,2,-1) X=NULL X$c1=c1 X$c2=c2 X=as.d...
2009 Jul 01
1
How should I denormalise a data frame list of lists column?
...here one column is a list of lists. I would like to subset the data frame based on membership of the lists in that column and be able to 'denormalise' the data frame so that a row is duplicated for each of its list elements. Example code follows: # The data is read in in this form with the c2 list values in single strings which I then split to give lists: > f1 <- data.frame(c1=0:2, c2=c("A,B,C", "A,E", "F,G,H")) > f1$Split <- strsplit(as.character(f1$c2), ",") > f1 c1 c2 Split 1 0 A,B,C A, B, C 2 1 A,E A, E 3 2 F,G,H...
2009 Mar 20
4
how to make aggregation in R ?
...quot;c", "d", "d", "d", "d", "d"), v2 = c("a1", "a1", "a1", "a2", "a3", "b1", "b1", "b2", "b2", "b2", "c1", "c2", "c2", "c2", "c3", "d1", "d2", "d3", "d4", "d4"), n1 = 1:20, n2 = 21:40 ) testDF <- orderBy( ~ v1+v2, data = testDF) rownames(testDF) <- NULL > testDF v1 v2...
2009 Feb 17
2
Chromatogram deconvolution and peak matching
...ne. Can someone put me on the right way? Here is my code to generate the dummy chroms, which also plots the 2 chroms and the spectra of the 3 peaks: #2D chromatogram generation par(mfrow=c(3,1)) time <- seq(0,20,by=0.05) f <- function(x,rt) dnorm((x-rt),mean=0,sd=rt/35) c1 <- f(time,6.1) c2 <- f(time,5.6) c3 <- f(time,15) plot(c1+c2+c3~time,type="l",main="chrom1") #spectrum generation spectra <- function(x,a,b,c,d,e) a + b*(x-e) + c*((x-e)^2) + d*((x-e)^3) x <- 220:300 s1 <- spectra(x,(-194.2),2.386,(-0.009617),(1.275e-05),0) s2 <- spectra(x,(-1...
2011 Dec 20
5
Help with code
...the groups more uniformly using this code: for( i in 1:dim(c1)[1]) { num_comp<-0 for (j in 1:dim(c1)[2]) if (c1[i,j]==2) num_comp=num_comp+1 #"Y"=2 for (j in 1:dim(c1)[2]) if(num_comp>0) { if (data$t1d_ptype[i] == "T1D" && c1[i ,j] == 2) c2[i,j]<-"T1D_w" if (data$t1d_ptype[i] == "T1D" && c1[i, j] == 1) c2[i,j]<-"T1D_oc" if(substr(data$t1d_ptype[i],1,4) == "Ctrl" && c1[i,j] == 2) c2[i,j]<-"Ctrl_w" if (substr(data$t1d_ptype[i],1,4) == &qu...