Searched refs:colors (Results 1 - 25 of 145) sorted by relevance

123456

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavcodec/
H A Dmsvideo1.c95 unsigned char colors[8]; local
136 colors[0] = s->buf[stream_ptr++];
137 colors[1] = s->buf[stream_ptr++];
141 pixels[pixel_ptr++] = colors[(flags & 0x1) ^ 1];
149 memcpy(colors, &s->buf[stream_ptr], 8);
155 colors[((pixel_y & 0x2) << 1) +
161 colors[0] = byte_a;
165 pixels[pixel_ptr++] = colors[0];
200 unsigned short colors[8]; local
241 colors[
[all...]
H A Dqdrw.c44 int colors; local
63 colors = AV_RB32(buf);
66 if(colors < 0 || colors > 256) {
67 av_log(avctx, AV_LOG_ERROR, "Error color count - %i(0x%X)\n", colors, colors);
72 for (i = 0; i <= colors; i++) {
H A Ds3tc.c33 uint32_t colors[4], pixels; local
47 colors[0] = rb0 + g0 + a;
48 colors[1] = rb1 + g1 + a;
55 colors[3] = rb3 + g3 + a;
59 colors[3] = 0;
62 colors[2] = rb2 + g2 + a;
69 d[x] = a + colors[pixels&3];
H A Dtarga.c104 int first_clr, colors, csize; local
111 colors = AV_RL16(buf); buf += 2;
171 if(colors){
172 if((colors + first_clr) > 256){
173 av_log(avctx, AV_LOG_ERROR, "Incorrect palette: %i colors with offset %i\n", colors, first_clr);
181 buf += colors * ((csize + 1) >> 3);
185 for(t = 0; t < colors; t++){
H A Dbmp.c234 int colors = 1 << depth; local
240 av_log(avctx, AV_LOG_ERROR, "Incorrect number of colors - %X for bitdepth %d\n", t, depth);
242 colors = t;
246 if((hsize-ihsize-14) < (colors << 2)){ // OS/2 bitmap, 3 bytes per palette entry
247 for(i = 0; i < colors; i++)
250 for(i = 0; i < colors; i++)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/libavcodec/
H A Dmsvideo1.c95 unsigned char colors[8]; local
136 colors[0] = s->buf[stream_ptr++];
137 colors[1] = s->buf[stream_ptr++];
141 pixels[pixel_ptr++] = colors[(flags & 0x1) ^ 1];
149 memcpy(colors, &s->buf[stream_ptr], 8);
155 colors[((pixel_y & 0x2) << 1) +
161 colors[0] = byte_a;
165 pixels[pixel_ptr++] = colors[0];
200 unsigned short colors[8]; local
241 colors[
[all...]
H A Dqdrw.c44 int colors; local
63 colors = AV_RB32(buf);
66 if(colors < 0 || colors > 256) {
67 av_log(avctx, AV_LOG_ERROR, "Error color count - %i(0x%X)\n", colors, colors);
72 for (i = 0; i <= colors; i++) {
H A Ds3tc.c33 uint32_t colors[4], pixels; local
47 colors[0] = rb0 + g0 + a;
48 colors[1] = rb1 + g1 + a;
55 colors[3] = rb3 + g3 + a;
59 colors[3] = 0;
62 colors[2] = rb2 + g2 + a;
69 d[x] = a + colors[pixels&3];
H A Dtarga.c104 int first_clr, colors, csize; local
111 colors = AV_RL16(buf); buf += 2;
171 if(colors){
172 if((colors + first_clr) > 256){
173 av_log(avctx, AV_LOG_ERROR, "Incorrect palette: %i colors with offset %i\n", colors, first_clr);
181 buf += colors * ((csize + 1) >> 3);
185 for(t = 0; t < colors; t++){
H A Dbmp.c234 int colors = 1 << depth; local
240 av_log(avctx, AV_LOG_ERROR, "Incorrect number of colors - %X for bitdepth %d\n", t, depth);
242 colors = t;
246 if((hsize-ihsize-14) < (colors << 2)){ // OS/2 bitmap, 3 bytes per palette entry
247 for(i = 0; i < colors; i++)
250 for(i = 0; i < colors; i++)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/libavcodec/
H A Dmsvideo1.c95 unsigned char colors[8]; local
136 colors[0] = s->buf[stream_ptr++];
137 colors[1] = s->buf[stream_ptr++];
141 pixels[pixel_ptr++] = colors[(flags & 0x1) ^ 1];
149 memcpy(colors, &s->buf[stream_ptr], 8);
155 colors[((pixel_y & 0x2) << 1) +
161 colors[0] = byte_a;
165 pixels[pixel_ptr++] = colors[0];
200 unsigned short colors[8]; local
241 colors[
[all...]
H A Dqdrw.c44 int colors; local
63 colors = AV_RB32(buf);
66 if(colors < 0 || colors > 256) {
67 av_log(avctx, AV_LOG_ERROR, "Error color count - %i(0x%X)\n", colors, colors);
72 for (i = 0; i <= colors; i++) {
H A Ds3tc.c33 uint32_t colors[4], pixels; local
47 colors[0] = rb0 + g0 + a;
48 colors[1] = rb1 + g1 + a;
55 colors[3] = rb3 + g3 + a;
59 colors[3] = 0;
62 colors[2] = rb2 + g2 + a;
69 d[x] = a + colors[pixels&3];
H A Dtarga.c104 int first_clr, colors, csize; local
111 colors = AV_RL16(buf); buf += 2;
171 if(colors){
172 if((colors + first_clr) > 256){
173 av_log(avctx, AV_LOG_ERROR, "Incorrect palette: %i colors with offset %i\n", colors, first_clr);
181 buf += colors * ((csize + 1) >> 3);
185 for(t = 0; t < colors; t++){
H A Dbmp.c234 int colors = 1 << depth; local
240 av_log(avctx, AV_LOG_ERROR, "Incorrect number of colors - %X for bitdepth %d\n", t, depth);
242 colors = t;
246 if((hsize-ihsize-14) < (colors << 2)){ // OS/2 bitmap, 3 bytes per palette entry
247 for(i = 0; i < colors; i++)
250 for(i = 0; i < colors; i++)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/flac/src/share/grabbag/
H A Dpicture.c72 picture->width = picture->height = picture->depth = picture->colors = 0;
107 picture->colors = val;
110 if(picture->depth < 32 && 1u<<picture->depth < picture->colors)
134 FLAC__bool need_palette = false; /* if IHDR has color_type=3, we need to also read the PLTE chunk to get the #colors */
165 picture->colors = 0;
170 picture->colors = clen / 3u;
217 picture->colors = 0;
243 /* according to the GIF spec, even if the GCTF is 0, the low 3 bits should still tell the total # colors used */
256 picture->colors = 1u << ((FLAC__uint32)(data[10] & 0x07) + 1u);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/flac/src/share/grabbag/
H A Dpicture.c72 picture->width = picture->height = picture->depth = picture->colors = 0;
107 picture->colors = val;
110 if(picture->depth < 32 && 1u<<picture->depth < picture->colors)
134 FLAC__bool need_palette = false; /* if IHDR has color_type=3, we need to also read the PLTE chunk to get the #colors */
165 picture->colors = 0;
170 picture->colors = clen / 3u;
217 picture->colors = 0;
243 /* according to the GIF spec, even if the GCTF is 0, the low 3 bits should still tell the total # colors used */
256 picture->colors = 1u << ((FLAC__uint32)(data[10] & 0x07) + 1u);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/flac/src/share/grabbag/
H A Dpicture.c72 picture->width = picture->height = picture->depth = picture->colors = 0;
107 picture->colors = val;
110 if(picture->depth < 32 && 1u<<picture->depth < picture->colors)
134 FLAC__bool need_palette = false; /* if IHDR has color_type=3, we need to also read the PLTE chunk to get the #colors */
165 picture->colors = 0;
170 picture->colors = clen / 3u;
217 picture->colors = 0;
243 /* according to the GIF spec, even if the GCTF is 0, the low 3 bits should still tell the total # colors used */
256 picture->colors = 1u << ((FLAC__uint32)(data[10] & 0x07) + 1u);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/flac/src/test_grabbag/picture/
H A Dmain.c34 FLAC__uint32 colors; member in struct:__anon1705
98 obj->data.picture.colors,
114 if(obj->data.picture.colors != pf->colors)
115 return failed_("picture colors mismatch");
165 /* invalid spec: #colors exceeds color depth */
202 picturefiles[0].colors = 2;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/flac/src/test_grabbag/picture/
H A Dmain.c34 FLAC__uint32 colors; member in struct:__anon2610
98 obj->data.picture.colors,
114 if(obj->data.picture.colors != pf->colors)
115 return failed_("picture colors mismatch");
165 /* invalid spec: #colors exceeds color depth */
202 picturefiles[0].colors = 2;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/flac/src/test_grabbag/picture/
H A Dmain.c34 FLAC__uint32 colors; member in struct:__anon36635
98 obj->data.picture.colors,
114 if(obj->data.picture.colors != pf->colors)
115 return failed_("picture colors mismatch");
165 /* invalid spec: #colors exceeds color depth */
202 picturefiles[0].colors = 2;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/media/video/gspca/
H A Dmars.c36 u8 colors; member in struct:sd
181 sd->colors = COLOR_DEF;
262 data[2] = sd->colors << 3;
263 data[3] = ((sd->colors >> 2) & 0xf8) | 0x04;
378 sd->colors = val;
383 gspca_dev->usb_buf[1] = sd->colors << 3;
384 gspca_dev->usb_buf[2] = ((sd->colors >> 2) & 0xf8) | 0x04;
394 *val = sd->colors;
H A Detoms.c35 unsigned char colors; member in struct:sd
382 /* colors setting */
491 __u8 colors = sd->colors; local
493 I2cc[3] = colors; /* red */
494 I2cc[0] = 15 - colors; /* blue */
512 sd->colors = gspca_dev->usb_buf[0] & 0x0f;
563 /* colors setting */
621 /* now set by fifo the whole colors setting */
646 sd->colors
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/media/video/gspca/
H A Dmars.c36 u8 colors; member in struct:sd
181 sd->colors = COLOR_DEF;
262 data[2] = sd->colors << 3;
263 data[3] = ((sd->colors >> 2) & 0xf8) | 0x04;
378 sd->colors = val;
383 gspca_dev->usb_buf[1] = sd->colors << 3;
384 gspca_dev->usb_buf[2] = ((sd->colors >> 2) & 0xf8) | 0x04;
394 *val = sd->colors;
H A Detoms.c35 unsigned char colors; member in struct:sd
382 /* colors setting */
491 __u8 colors = sd->colors; local
493 I2cc[3] = colors; /* red */
494 I2cc[0] = 15 - colors; /* blue */
512 sd->colors = gspca_dev->usb_buf[0] & 0x0f;
563 /* colors setting */
621 /* now set by fifo the whole colors setting */
646 sd->colors
[all...]

Completed in 145 milliseconds

123456