Searched refs:img (Results 1 - 25 of 96) sorted by relevance

1234

/asuswrt-rt-n18u-9.0.0.4.380.2695/toolchain/tools/firmware-utils/src/
H A Ddgfirmware.c20 fprintf(stderr, "usage: dgfirmware [<opts>] <img>\n");
21 fprintf(stderr, " <img> firmware image filename\n");
36 unsigned char *img; local
55 img = malloc(IMG_SIZE);
56 if (img == NULL) {
62 if (fread(img, 1, IMG_SIZE, fp) != IMG_SIZE) {
69 return img;
73 void write_img(unsigned char* img, const char *fname) argument
83 if (fwrite(img, 1, IMG_SIZE, fp) != IMG_SIZE) {
91 void write_rootfs(unsigned char* img, cons argument
109 write_kernel(unsigned char* img, const char *fname) argument
127 read_rootfs(unsigned char* img, const char *fname) argument
164 read_kernel(unsigned char* img, const char *fname) argument
201 get_checksum(unsigned char* img) argument
218 compute_checksum(unsigned char* img) argument
245 unsigned char *img; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavcodec/
H A Dlibvpxdec.c65 struct vpx_image *img; local
79 if ((img = vpx_codec_get_frame(&ctx->decoder, &iter))) {
80 if (img->fmt != VPX_IMG_FMT_I420) {
82 img->fmt);
86 if ((int) img->d_w != avctx->width || (int) img->d_h != avctx->height) {
88 avctx->width, avctx->height, img->d_w, img->d_h);
89 if (avcodec_check_dimensions(avctx, img->d_w, img
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/libavcodec/
H A Dlibvpxdec.c65 struct vpx_image *img; local
79 if ((img = vpx_codec_get_frame(&ctx->decoder, &iter))) {
80 if (img->fmt != VPX_IMG_FMT_I420) {
82 img->fmt);
86 if ((int) img->d_w != avctx->width || (int) img->d_h != avctx->height) {
88 avctx->width, avctx->height, img->d_w, img->d_h);
89 if (avcodec_check_dimensions(avctx, img->d_w, img
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/libavcodec/
H A Dlibvpxdec.c65 struct vpx_image *img; local
79 if ((img = vpx_codec_get_frame(&ctx->decoder, &iter))) {
80 if (img->fmt != VPX_IMG_FMT_I420) {
82 img->fmt);
86 if ((int) img->d_w != avctx->width || (int) img->d_h != avctx->height) {
88 avctx->width, avctx->height, img->d_w, img->d_h);
89 if (avcodec_check_dimensions(avctx, img->d_w, img
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/scripts/
H A Dextract-ikconfig31 img=$1
32 if [ $# -ne 1 -o ! -s "$img" ]
39 dump_config "$img"
44 for pos in `tr "$gz1\n$gz2" "\n$gz2=" < "$img" | grep -abo "^$gz2"`
47 tail -c+$pos "$img" | zcat 2> /dev/null > $tmp
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/msm/
H A Dmdp_cursor.c44 struct fb_image *img = &cursor->image; local
49 if ((img->width > MDP_CURSOR_WIDTH) ||
50 (img->height > MDP_CURSOR_HEIGHT) ||
51 (img->depth != 32))
55 MDP_OUTP(MDP_BASE + 0x9004c, (img->dy << 16) | img->dx);
58 ret = copy_from_user(mfd->cursor_buf, img->data,
59 img->width*img->height*4);
63 if (img
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/scripts/
H A Dextract-ikconfig31 img=$1
32 if [ $# -ne 1 -o ! -s "$img" ]
39 dump_config "$img"
44 for pos in `tr "$gz1\n$gz2" "\n$gz2=" < "$img" | grep -abo "^$gz2"`
47 tail -c+$pos "$img" | zcat 2> /dev/null > $tmp
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/msm/
H A Dmdp_cursor.c44 struct fb_image *img = &cursor->image; local
49 if ((img->width > MDP_CURSOR_WIDTH) ||
50 (img->height > MDP_CURSOR_HEIGHT) ||
51 (img->depth != 32))
55 MDP_OUTP(MDP_BASE + 0x9004c, (img->dy << 16) | img->dx);
58 ret = copy_from_user(mfd->cursor_buf, img->data,
59 img->width*img->height*4);
63 if (img
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/mtd/
H A Dredboot.c45 struct fis_image_desc *img; member in struct:fis_list
52 static inline int redboot_checksum(struct fis_image_desc *img) argument
199 new_fl->img = &buf[i];
210 while(*prev && (*prev)->img->flash_base < new_fl->img->flash_base)
218 if (fl->img->flash_base) {
224 if (tmp_fl->img->flash_base + tmp_fl->img->size + master->erasesize <= tmp_fl->next->img->flash_base) {
248 if (fl->img
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/mtd/
H A Dredboot.c45 struct fis_image_desc *img; member in struct:fis_list
52 static inline int redboot_checksum(struct fis_image_desc *img) argument
199 new_fl->img = &buf[i];
210 while(*prev && (*prev)->img->flash_base < new_fl->img->flash_base)
218 if (fl->img->flash_base) {
224 if (tmp_fl->img->flash_base + tmp_fl->img->size + master->erasesize <= tmp_fl->next->img->flash_base) {
248 if (fl->img
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/LPRng/DOCS/
H A Dupdateheader7 <img align=left SRC="LPRng.jpg" ALT="LPRngLogo" height=60>
12 <img align=right SRC="LPRngT-L.jpg" ALT="LPRngTool" height=75>
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/LPRng/PrintingCookbook/source/
H A Dupdateheader7 <img align=left SRC="LPRng.jpg" ALT="LPRngLogo" height=60>
12 <img align=right SRC="LPRngT-L.jpg" ALT="LPRngTool" height=75>
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/LPRng/DOCS/
H A Dupdateheader7 <img align=left SRC="LPRng.jpg" ALT="LPRngLogo" height=60>
12 <img align=right SRC="LPRngT-L.jpg" ALT="LPRngTool" height=75>
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/LPRng/PrintingCookbook/source/
H A Dupdateheader7 <img align=left SRC="LPRng.jpg" ALT="LPRngLogo" height=60>
12 <img align=right SRC="LPRngT-L.jpg" ALT="LPRngTool" height=75>
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/LPRng/DOCS/
H A Dupdateheader7 <img align=left SRC="LPRng.jpg" ALT="LPRngLogo" height=60>
12 <img align=right SRC="LPRngT-L.jpg" ALT="LPRngTool" height=75>
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/LPRng/PrintingCookbook/source/
H A Dupdateheader7 <img align=left SRC="LPRng.jpg" ALT="LPRngLogo" height=60>
12 <img align=right SRC="LPRngT-L.jpg" ALT="LPRngTool" height=75>
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/testsuite/
H A Dmount.testroot50 dd if=/dev/zero of=images/ext2.img bs=1M count=1 2> /dev/null
51 mkfs.ext2 -F -b 1024 images/ext2.img > /dev/null 2> /dev/null
52 dd if=/dev/zero of=images/vfat.img bs=1M count=1 2> /dev/null
53 mkfs.vfat images/vfat.img > /dev/null
58 "mount -t auto images/vfat.img images/vfat.dir && mount | tail -n 1 | grep -o 'vfat.dir type vfat'" \
61 "mount images/ext2.img images/ext2.dir 2> /dev/null && mount | tail -n 1" \
74 "mount images/ext2.img images/ext2.dir && mount | tail -n 1" \
98 /images/ext2.img /images/ext2.dir ext2 noatime,nodev 0 0
100 /images/vfat.img /images/vfat.dir auto ro 0 0
111 cat images/ext2.img > image
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/testsuite/
H A Dmount.testroot50 dd if=/dev/zero of=images/ext2.img bs=1M count=1 2> /dev/null
51 mkfs.ext2 -F -b 1024 images/ext2.img > /dev/null 2> /dev/null
52 dd if=/dev/zero of=images/vfat.img bs=1M count=1 2> /dev/null
53 mkfs.vfat images/vfat.img > /dev/null
58 "mount -t auto images/vfat.img images/vfat.dir && mount | tail -n 1 | grep -o 'vfat.dir type vfat'" \
61 "mount images/ext2.img images/ext2.dir 2> /dev/null && mount | tail -n 1" \
74 "mount images/ext2.img images/ext2.dir && mount | tail -n 1" \
98 /images/ext2.img /images/ext2.dir ext2 noatime,nodev 0 0
100 /images/vfat.img /images/vfat.dir auto ro 0 0
111 cat images/ext2.img > image
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/testsuite/
H A Dmount.testroot50 dd if=/dev/zero of=images/ext2.img bs=1M count=1 2> /dev/null
51 mkfs.ext2 -F -b 1024 images/ext2.img > /dev/null 2> /dev/null
52 dd if=/dev/zero of=images/vfat.img bs=1M count=1 2> /dev/null
53 mkfs.vfat images/vfat.img > /dev/null
58 "mount -t auto images/vfat.img images/vfat.dir && mount | tail -n 1 | grep -o 'vfat.dir type vfat'" \
61 "mount images/ext2.img images/ext2.dir 2> /dev/null && mount | tail -n 1" \
74 "mount images/ext2.img images/ext2.dir && mount | tail -n 1" \
98 /images/ext2.img /images/ext2.dir ext2 noatime,nodev 0 0
100 /images/vfat.img /images/vfat.dir auto ro 0 0
111 cat images/ext2.img > image
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/minidlna/
H A Dimage_utils.c236 FILE *img; local
244 img = fopen(path, "r");
245 if( !img )
248 fseek(img, 0, SEEK_END);
249 size = ftell(img);
250 rewind(img);
252 nread = fread(&buf, 2, 1, img);
255 fclose(img);
260 while( ftell(img) < size )
262 while( nread > 0 && buf[0] != 0xFF && !feof(img) )
301 FILE *img; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/minidlna/
H A Dimage_utils.c236 FILE *img; local
244 img = fopen(path, "r");
245 if( !img )
248 fseek(img, 0, SEEK_END);
249 size = ftell(img);
250 rewind(img);
252 nread = fread(&buf, 2, 1, img);
255 fclose(img);
260 while( ftell(img) < size )
262 while( nread > 0 && buf[0] != 0xFF && !feof(img) )
301 FILE *img; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/minidlna/
H A Dimage_utils.c236 FILE *img; local
244 img = fopen(path, "r");
245 if( !img )
248 fseek(img, 0, SEEK_END);
249 size = ftell(img);
250 rewind(img);
252 nread = fread(&buf, 2, 1, img);
255 fclose(img);
260 while( ftell(img) < size )
262 while( nread > 0 && buf[0] != 0xFF && !feof(img) )
301 FILE *img; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/video/msm/
H A Dmdp_hw.h545 #define IS_YCRCB(img) ((img == MDP_Y_CRCB_H2V2) | (img == MDP_Y_CBCR_H2V2) | \
546 (img == MDP_Y_CRCB_H2V1) | (img == MDP_Y_CBCR_H2V1) | \
547 (img == MDP_YCRYCB_H2V1))
548 #define IS_RGB(img) ((img == MDP_RGB_565) | (img == MDP_RGB_888) | \
549 (img
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/video/msm/
H A Dmdp_hw.h545 #define IS_YCRCB(img) ((img == MDP_Y_CRCB_H2V2) | (img == MDP_Y_CBCR_H2V2) | \
546 (img == MDP_Y_CRCB_H2V1) | (img == MDP_Y_CBCR_H2V1) | \
547 (img == MDP_YCRYCB_H2V1))
548 #define IS_RGB(img) ((img == MDP_RGB_565) | (img == MDP_RGB_888) | \
549 (img
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavformat/
H A Dimg2.c54 { CODEC_ID_MPEG1VIDEO, "mpg1-img"},
55 { CODEC_ID_MPEG2VIDEO, "mpg2-img"},
56 { CODEC_ID_MPEG4 , "mpg4-img"},
57 { CODEC_ID_FFV1 , "ffv1-img"},
324 VideoData *img = s->priv_data; local
326 img->img_number = 1;
327 av_strlcpy(img->path, s->filename, sizeof(img->path));
331 img->is_pipe = 0;
333 img
340 VideoData *img = s->priv_data; local
[all...]

Completed in 167 milliseconds

1234