Searched refs:buf_end (Results 1 - 25 of 167) sorted by relevance

1234567

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavcodec/
H A Dmjpegbdec.c47 const uint8_t *buf_end, *buf_ptr; local
54 buf_end = buf + buf_size;
62 init_get_bits(&hgb, buf_ptr, /*buf_size*/(buf_end - buf_ptr)*8);
75 second_field_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "second_field_offs is %d and size is %d\n");
78 dqt_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "dqt is %d and size is %d\n");
82 init_get_bits(&s->gb, buf_ptr+dqt_offs, (buf_end - (buf_ptr+dqt_offs))*8);
87 dht_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "dht is %d and size is %d\n");
91 init_get_bits(&s->gb, buf_ptr+dht_offs, (buf_end - (buf_ptr+dht_offs))*8);
96 sof_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "sof is %d and size is %d\n");
100 init_get_bits(&s->gb, buf_ptr+sof_offs, (buf_end
[all...]
H A Deacmv.c50 static void cmv_decode_intra(CmvContext * s, const uint8_t *buf, const uint8_t *buf_end){ argument
54 for (i=0; i < s->avctx->height && buf+s->avctx->width<=buf_end; i++) {
80 static void cmv_decode_inter(CmvContext * s, const uint8_t *buf, const uint8_t *buf_end){ argument
86 for(x=0; x<s->avctx->width/4 && buf+i<buf_end; x++) {
89 if (raw+16<buf_end && *raw==0xFF) { /* intra */
96 }else if(raw<buf_end) { /* inter using second-last frame as reference */
115 static void cmv_process_header(CmvContext *s, const uint8_t *buf, const uint8_t *buf_end) argument
119 if(buf+16>=buf_end) {
136 for (i=pal_start; i<pal_start+pal_count && i<AVPALETTE_COUNT && buf+2<buf_end; i++) {
152 const uint8_t *buf_end local
[all...]
H A Diff.c135 const uint8_t *buf_end = buf+buf_size; local
147 for (plane = 0; plane < avctx->bits_per_coded_sample && buf < buf_end; plane++) {
148 decodeplane8(row, buf, FFMIN(s->planesize, buf_end - buf), avctx->bits_per_coded_sample, plane);
156 for (plane = 0; plane < avctx->bits_per_coded_sample && buf < buf_end; plane++) {
157 decodeplane32((uint32_t *) row, buf, FFMIN(s->planesize, buf_end - buf), avctx->bits_per_coded_sample, plane);
175 const uint8_t *buf_end = buf+buf_size; local
189 for(x = 0; x < s->planesize && buf < buf_end; ) {
194 memcpy(s->planebuf + x, buf, FFMIN3(length, s->planesize - x, buf_end - buf));
212 for(x = 0; x < s->planesize && buf < buf_end; ) {
217 memcpy(s->planebuf + x, buf, FFMIN3(length, s->planesize - x, buf_end
[all...]
H A Dmlp.c102 const uint8_t *buf_end = buf + buf_size; local
104 for (; ((intptr_t) buf & 3) && buf < buf_end; buf++)
106 for (; buf < buf_end - 3; buf += 4)
111 for (; buf < buf_end; buf++)
H A Dfrwu.c46 const uint8_t *buf_end = buf + avpkt->size; local
74 if (buf_end - buf < 8)
82 if (buf_end - buf < field_size) {
83 av_log(avctx, AV_LOG_ERROR, "Packet is too small, need %i, have %i\n", field_size, (int)(buf_end - buf));
H A D8svx.c52 const uint8_t *buf_end = buf + buf_size; local
65 while(buf < buf_end) {
H A Danm.c62 * @param buf, buf_end Source buffer (optional, see below)
75 const uint8_t **buf, const uint8_t *buf_end,
83 striplen = FFMIN(striplen, buf_end - *buf);
116 const uint8_t *buf_end = buf + buf_size; local
141 op(&dst, dst_end, (buf), buf_end, (pixel), (count), &s->x, avctx->width, s->frame.linesize[0])
171 } while (buf + 1 < buf_end);
74 op(uint8_t **dst, const uint8_t *dst_end, const uint8_t **buf, const uint8_t *buf_end, int pixel, int count, int *x, int width, int linesize) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/libavcodec/
H A Dmjpegbdec.c47 const uint8_t *buf_end, *buf_ptr; local
54 buf_end = buf + buf_size;
62 init_get_bits(&hgb, buf_ptr, /*buf_size*/(buf_end - buf_ptr)*8);
75 second_field_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "second_field_offs is %d and size is %d\n");
78 dqt_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "dqt is %d and size is %d\n");
82 init_get_bits(&s->gb, buf_ptr+dqt_offs, (buf_end - (buf_ptr+dqt_offs))*8);
87 dht_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "dht is %d and size is %d\n");
91 init_get_bits(&s->gb, buf_ptr+dht_offs, (buf_end - (buf_ptr+dht_offs))*8);
96 sof_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "sof is %d and size is %d\n");
100 init_get_bits(&s->gb, buf_ptr+sof_offs, (buf_end
[all...]
H A Deacmv.c50 static void cmv_decode_intra(CmvContext * s, const uint8_t *buf, const uint8_t *buf_end){ argument
54 for (i=0; i < s->avctx->height && buf+s->avctx->width<=buf_end; i++) {
80 static void cmv_decode_inter(CmvContext * s, const uint8_t *buf, const uint8_t *buf_end){ argument
86 for(x=0; x<s->avctx->width/4 && buf+i<buf_end; x++) {
89 if (raw+16<buf_end && *raw==0xFF) { /* intra */
96 }else if(raw<buf_end) { /* inter using second-last frame as reference */
115 static void cmv_process_header(CmvContext *s, const uint8_t *buf, const uint8_t *buf_end) argument
119 if(buf+16>=buf_end) {
136 for (i=pal_start; i<pal_start+pal_count && i<AVPALETTE_COUNT && buf+2<buf_end; i++) {
152 const uint8_t *buf_end local
[all...]
H A Diff.c135 const uint8_t *buf_end = buf+buf_size; local
147 for (plane = 0; plane < avctx->bits_per_coded_sample && buf < buf_end; plane++) {
148 decodeplane8(row, buf, FFMIN(s->planesize, buf_end - buf), avctx->bits_per_coded_sample, plane);
156 for (plane = 0; plane < avctx->bits_per_coded_sample && buf < buf_end; plane++) {
157 decodeplane32((uint32_t *) row, buf, FFMIN(s->planesize, buf_end - buf), avctx->bits_per_coded_sample, plane);
175 const uint8_t *buf_end = buf+buf_size; local
189 for(x = 0; x < s->planesize && buf < buf_end; ) {
194 memcpy(s->planebuf + x, buf, FFMIN3(length, s->planesize - x, buf_end - buf));
212 for(x = 0; x < s->planesize && buf < buf_end; ) {
217 memcpy(s->planebuf + x, buf, FFMIN3(length, s->planesize - x, buf_end
[all...]
H A Dfrwu.c46 const uint8_t *buf_end = buf + avpkt->size; local
74 if (buf_end - buf < 8)
82 if (buf_end - buf < field_size) {
83 av_log(avctx, AV_LOG_ERROR, "Packet is too small, need %i, have %i\n", field_size, (int)(buf_end - buf));
H A Dmlp.c102 const uint8_t *buf_end = buf + buf_size; local
104 for (; ((intptr_t) buf & 3) && buf < buf_end; buf++)
106 for (; buf < buf_end - 3; buf += 4)
111 for (; buf < buf_end; buf++)
H A D8svx.c52 const uint8_t *buf_end = buf + buf_size; local
65 while(buf < buf_end) {
H A Danm.c62 * @param buf, buf_end Source buffer (optional, see below)
75 const uint8_t **buf, const uint8_t *buf_end,
83 striplen = FFMIN(striplen, buf_end - *buf);
116 const uint8_t *buf_end = buf + buf_size; local
141 op(&dst, dst_end, (buf), buf_end, (pixel), (count), &s->x, avctx->width, s->frame.linesize[0])
171 } while (buf + 1 < buf_end);
74 op(uint8_t **dst, const uint8_t *dst_end, const uint8_t **buf, const uint8_t *buf_end, int pixel, int count, int *x, int width, int linesize) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/libavcodec/
H A Dmjpegbdec.c47 const uint8_t *buf_end, *buf_ptr; local
54 buf_end = buf + buf_size;
62 init_get_bits(&hgb, buf_ptr, /*buf_size*/(buf_end - buf_ptr)*8);
75 second_field_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "second_field_offs is %d and size is %d\n");
78 dqt_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "dqt is %d and size is %d\n");
82 init_get_bits(&s->gb, buf_ptr+dqt_offs, (buf_end - (buf_ptr+dqt_offs))*8);
87 dht_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "dht is %d and size is %d\n");
91 init_get_bits(&s->gb, buf_ptr+dht_offs, (buf_end - (buf_ptr+dht_offs))*8);
96 sof_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "sof is %d and size is %d\n");
100 init_get_bits(&s->gb, buf_ptr+sof_offs, (buf_end
[all...]
H A Deacmv.c50 static void cmv_decode_intra(CmvContext * s, const uint8_t *buf, const uint8_t *buf_end){ argument
54 for (i=0; i < s->avctx->height && buf+s->avctx->width<=buf_end; i++) {
80 static void cmv_decode_inter(CmvContext * s, const uint8_t *buf, const uint8_t *buf_end){ argument
86 for(x=0; x<s->avctx->width/4 && buf+i<buf_end; x++) {
89 if (raw+16<buf_end && *raw==0xFF) { /* intra */
96 }else if(raw<buf_end) { /* inter using second-last frame as reference */
115 static void cmv_process_header(CmvContext *s, const uint8_t *buf, const uint8_t *buf_end) argument
119 if(buf+16>=buf_end) {
136 for (i=pal_start; i<pal_start+pal_count && i<AVPALETTE_COUNT && buf+2<buf_end; i++) {
152 const uint8_t *buf_end local
[all...]
H A Diff.c135 const uint8_t *buf_end = buf+buf_size; local
147 for (plane = 0; plane < avctx->bits_per_coded_sample && buf < buf_end; plane++) {
148 decodeplane8(row, buf, FFMIN(s->planesize, buf_end - buf), avctx->bits_per_coded_sample, plane);
156 for (plane = 0; plane < avctx->bits_per_coded_sample && buf < buf_end; plane++) {
157 decodeplane32((uint32_t *) row, buf, FFMIN(s->planesize, buf_end - buf), avctx->bits_per_coded_sample, plane);
175 const uint8_t *buf_end = buf+buf_size; local
189 for(x = 0; x < s->planesize && buf < buf_end; ) {
194 memcpy(s->planebuf + x, buf, FFMIN3(length, s->planesize - x, buf_end - buf));
212 for(x = 0; x < s->planesize && buf < buf_end; ) {
217 memcpy(s->planebuf + x, buf, FFMIN3(length, s->planesize - x, buf_end
[all...]
H A Dfrwu.c46 const uint8_t *buf_end = buf + avpkt->size; local
74 if (buf_end - buf < 8)
82 if (buf_end - buf < field_size) {
83 av_log(avctx, AV_LOG_ERROR, "Packet is too small, need %i, have %i\n", field_size, (int)(buf_end - buf));
H A Dmlp.c102 const uint8_t *buf_end = buf + buf_size; local
104 for (; ((intptr_t) buf & 3) && buf < buf_end; buf++)
106 for (; buf < buf_end - 3; buf += 4)
111 for (; buf < buf_end; buf++)
H A D8svx.c52 const uint8_t *buf_end = buf + buf_size; local
65 while(buf < buf_end) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/gdb/
H A Ddwarf2expr.h135 gdb_byte *read_uleb128 (gdb_byte *buf, gdb_byte *buf_end, ULONGEST * r);
136 gdb_byte *read_sleb128 (gdb_byte *buf, gdb_byte *buf_end, LONGEST * r);
137 CORE_ADDR dwarf2_read_address (gdb_byte *buf, gdb_byte *buf_end,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/gdb/
H A Ddwarf2expr.h135 gdb_byte *read_uleb128 (gdb_byte *buf, gdb_byte *buf_end, ULONGEST * r);
136 gdb_byte *read_sleb128 (gdb_byte *buf, gdb_byte *buf_end, LONGEST * r);
137 CORE_ADDR dwarf2_read_address (gdb_byte *buf, gdb_byte *buf_end,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/gdb/
H A Ddwarf2expr.h135 gdb_byte *read_uleb128 (gdb_byte *buf, gdb_byte *buf_end, ULONGEST * r);
136 gdb_byte *read_sleb128 (gdb_byte *buf, gdb_byte *buf_end, LONGEST * r);
137 CORE_ADDR dwarf2_read_address (gdb_byte *buf, gdb_byte *buf_end,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/gpu/drm/via/
H A Dvia_verifier.c238 eat_words(const uint32_t **buf, const uint32_t *buf_end, unsigned num_words) argument
240 if ((buf_end - *buf) >= num_words) {
512 via_check_prim_list(uint32_t const **buffer, const uint32_t * buf_end, argument
522 while (buf < buf_end) {
524 if ((buf_end - buf) < 2) {
571 while (buf < buf_end) {
584 if (buf < buf_end && *buf == a_fire)
596 if ((ret = eat_words(&buf, buf_end, dw_count)))
599 if (buf >= buf_end && !have_fire) {
616 via_check_header2(uint32_t const **buffer, const uint32_t *buf_end, argument
708 via_parse_header2(drm_via_private_t *dev_priv, uint32_t const **buffer, const uint32_t *buf_end, int *fire_count) argument
775 verify_video_tail(uint32_t const **buffer, const uint32_t * buf_end, uint32_t dwords) argument
795 via_check_header1(uint32_t const **buffer, const uint32_t * buf_end) argument
827 via_parse_header1(drm_via_private_t *dev_priv, uint32_t const **buffer, const uint32_t *buf_end) argument
845 via_check_vheader5(uint32_t const **buffer, const uint32_t *buf_end) argument
878 via_parse_vheader5(drm_via_private_t *dev_priv, uint32_t const **buffer, const uint32_t *buf_end) argument
896 via_check_vheader6(uint32_t const **buffer, const uint32_t * buf_end) argument
933 via_parse_vheader6(drm_via_private_t *dev_priv, uint32_t const **buffer, const uint32_t *buf_end) argument
962 const uint32_t *buf_end = buf + (size >> 2); local
1036 const uint32_t *buf_end = buf + (size >> 2); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/gpu/drm/via/
H A Dvia_verifier.c238 eat_words(const uint32_t **buf, const uint32_t *buf_end, unsigned num_words) argument
240 if ((buf_end - *buf) >= num_words) {
512 via_check_prim_list(uint32_t const **buffer, const uint32_t * buf_end, argument
522 while (buf < buf_end) {
524 if ((buf_end - buf) < 2) {
571 while (buf < buf_end) {
584 if (buf < buf_end && *buf == a_fire)
596 if ((ret = eat_words(&buf, buf_end, dw_count)))
599 if (buf >= buf_end && !have_fire) {
616 via_check_header2(uint32_t const **buffer, const uint32_t *buf_end, argument
708 via_parse_header2(drm_via_private_t *dev_priv, uint32_t const **buffer, const uint32_t *buf_end, int *fire_count) argument
775 verify_video_tail(uint32_t const **buffer, const uint32_t * buf_end, uint32_t dwords) argument
795 via_check_header1(uint32_t const **buffer, const uint32_t * buf_end) argument
827 via_parse_header1(drm_via_private_t *dev_priv, uint32_t const **buffer, const uint32_t *buf_end) argument
845 via_check_vheader5(uint32_t const **buffer, const uint32_t *buf_end) argument
878 via_parse_vheader5(drm_via_private_t *dev_priv, uint32_t const **buffer, const uint32_t *buf_end) argument
896 via_check_vheader6(uint32_t const **buffer, const uint32_t * buf_end) argument
933 via_parse_vheader6(drm_via_private_t *dev_priv, uint32_t const **buffer, const uint32_t *buf_end) argument
962 const uint32_t *buf_end = buf + (size >> 2); local
1036 const uint32_t *buf_end = buf + (size >> 2); local
[all...]

Completed in 235 milliseconds

1234567