line 104 fftools/cmdutils.c char line[1024]; line 109 fftools/cmdutils.c av_log_format_line(ptr, level, fmt, vl2, line, sizeof(line), &print_prefix); line 112 fftools/cmdutils.c fputs(line, report_file); line 1331 fftools/ffmpeg_opt.c AVIOContext *line; line 1335 fftools/ffmpeg_opt.c if (avio_open_dyn_buf(&line) < 0) { line 1341 fftools/ffmpeg_opt.c avio_w8(line, c); line 1342 fftools/ffmpeg_opt.c avio_w8(line, 0); line 1343 fftools/ffmpeg_opt.c avio_close_dyn_buf(line, &buf); line 2976 fftools/ffmpeg_opt.c char filename[1000], line[1000], tmp_line[1000]; line 2991 fftools/ffmpeg_opt.c while (fgets(line, sizeof(line), f)) { line 2994 fftools/ffmpeg_opt.c if (strcspn(line, "#\n\r") == 0) line 2996 fftools/ffmpeg_opt.c av_strlcpy(tmp_line, line, sizeof(tmp_line)); line 2999 fftools/ffmpeg_opt.c av_log(NULL, AV_LOG_FATAL, "%s: Invalid syntax: '%s'\n", filename, line); line 3010 fftools/ffmpeg_opt.c filename, line, key, value); line 306 fftools/ffprobe.c char line[1024]; line 312 fftools/ffprobe.c av_log_format_line(ptr, level, fmt, vl2, line, sizeof(line), &print_prefix); line 331 fftools/ffprobe.c msg = log_buffer[log_buffer_size].log_message = av_strdup(line); line 41 libavcodec/012v.c int line, ret; line 71 libavcodec/012v.c for (line = 0; line < avctx->height; line++) { line 76 libavcodec/012v.c y = (uint16_t *)(pic->data[0] + line * pic->linesize[0]); line 77 libavcodec/012v.c u = (uint16_t *)(pic->data[1] + line * pic->linesize[1]); line 78 libavcodec/012v.c v = (uint16_t *)(pic->data[2] + line * pic->linesize[2]); line 130 libavcodec/012v.c y = x + (uint16_t *)(pic->data[0] + line * pic->linesize[0]); line 131 libavcodec/012v.c u = x/2 + (uint16_t *)(pic->data[1] + line * pic->linesize[1]); line 132 libavcodec/012v.c v = x/2 + (uint16_t *)(pic->data[2] + line * pic->linesize[2]); line 265 libavcodec/dxtory.c int line, int height, uint8_t lru[3][8]); line 277 libavcodec/dxtory.c int nslices, slice, line = 0; line 316 libavcodec/dxtory.c line += decode_slice(&gb2, pic, line, avctx->height - line, lru); line 321 libavcodec/dxtory.c if (avctx->height - line) { line 330 libavcodec/dxtory.c int line, int left, uint8_t lru[3][8], line 337 libavcodec/dxtory.c uint8_t *dst = frame->data[0] + stride * line; line 370 libavcodec/dxtory.c int line, int left, uint8_t lru[3][8]) line 372 libavcodec/dxtory.c return dx2_decode_slice_5x5(gb, frame, line, left, lru, 0); line 376 libavcodec/dxtory.c int line, int left, uint8_t lru[3][8]) line 378 libavcodec/dxtory.c return dx2_decode_slice_5x5(gb, frame, line, left, lru, 1); line 398 libavcodec/dxtory.c int line, int left, uint8_t lru[3][8]) line 403 libavcodec/dxtory.c uint8_t *dst = frame->data[0] + stride * line; line 436 libavcodec/dxtory.c int line, int left, line 446 libavcodec/dxtory.c uint8_t *Y = frame->data[0] + ystride * line; line 447 libavcodec/dxtory.c uint8_t *U = frame->data[1] + (ustride >> 2) * line; line 448 libavcodec/dxtory.c uint8_t *V = frame->data[2] + (vstride >> 2) * line; line 478 libavcodec/dxtory.c int line, int left, line 489 libavcodec/dxtory.c uint8_t *Y = frame->data[0] + ystride * line; line 490 libavcodec/dxtory.c uint8_t *U = frame->data[1] + (ustride >> 1) * line; line 491 libavcodec/dxtory.c uint8_t *V = frame->data[2] + (vstride >> 1) * line; line 522 libavcodec/dxtory.c int line, int left, line 533 libavcodec/dxtory.c uint8_t *Y = frame->data[0] + ystride * line; line 534 libavcodec/dxtory.c uint8_t *U = frame->data[1] + ustride * line; line 535 libavcodec/dxtory.c uint8_t *V = frame->data[2] + vstride * line; line 998 libavcodec/exr.c uint64_t line, col = 0; line 1037 libavcodec/exr.c line = s->tile_attr.ySize * tile_y; line 1040 libavcodec/exr.c if (line < s->ymin || line > s->ymax || line 1061 libavcodec/exr.c line = AV_RL32(src - 8); line 1063 libavcodec/exr.c if (line < s->ymin || line > s->ymax) line 1070 libavcodec/exr.c td->ysize = FFMIN(s->scan_lines_per_block, s->ymax - line + 1); /* s->ydelta - line ?? */ line 1147 libavcodec/exr.c ptr = p->data[plane] + line * p->linesize[plane] + (col * 4); line 1198 libavcodec/exr.c ptr = p->data[0] + line * p->linesize[0] + (col * s->desc->nb_components * 2); line 108 libavcodec/fits.c int avpriv_fits_header_parse_line(void *avcl, FITSHeader *header, const uint8_t line[80], AVDictionary ***metadata) line 115 libavcodec/fits.c read_keyword_value(line, keyword, value); line 81 libavcodec/fits.h int avpriv_fits_header_parse_line(void *avcl, FITSHeader *header, const uint8_t line[80], AVDictionary ***metadata); line 188 libavcodec/flashsv.c uint8_t *line = s->tmpblock; line 230 libavcodec/flashsv.c line, width * 3); line 232 libavcodec/flashsv.c line += width * 3; line 566 libavcodec/golomb.h int line) line 575 libavcodec/golomb.h bits, len, i, pos, file, func, line); line 581 libavcodec/golomb.h int line) line 590 libavcodec/golomb.h bits, len, i, pos, file, func, line); line 596 libavcodec/golomb.h int line) line 605 libavcodec/golomb.h bits, len, i, pos, file, func, line); line 433 libavcodec/indeo3.c int x, y, line, num_lines; line 461 libavcodec/indeo3.c for (line = 0; line < 4;) { line 463 libavcodec/indeo3.c is_top_of_cell = is_first_row && !line; line 467 libavcodec/indeo3.c delta_tab = delta[line & 1]; line 484 libavcodec/indeo3.c if (swap_quads[line & 1]) line 505 libavcodec/indeo3.c num_lines = 257 - code - line; line 521 libavcodec/indeo3.c num_lines = 4 - line; /* enforce next block processing */ line 535 libavcodec/indeo3.c if (line) line 551 libavcodec/indeo3.c line += num_lines; line 920 libavcodec/interplayvideo.c int line; line 923 libavcodec/interplayvideo.c for (line = 0; line < 8; ++line) { line 994 libavcodec/interplayvideo.c int line; line 997 libavcodec/interplayvideo.c for (line = 0; line < 8; ++line) { line 453 libavcodec/j2kenc.c uint8_t *line; line 460 libavcodec/j2kenc.c line = s->picture->data[compno] line 464 libavcodec/j2kenc.c uint8_t *ptr = line; line 467 libavcodec/j2kenc.c line += s->picture->linesize[compno]; line 471 libavcodec/j2kenc.c line = s->picture->data[0] + tile->comp[0].coord[1][0] * s->picture->linesize[0] line 476 libavcodec/j2kenc.c uint8_t *ptr = line; line 482 libavcodec/j2kenc.c line += s->picture->linesize[0]; line 1926 libavcodec/jpeg2000dec.c PIXEL *line; \ line 1937 libavcodec/jpeg2000dec.c line = (PIXEL *)picture->data[plane] + y * (picture->linesize[plane] / sizeof(PIXEL));\ line 1942 libavcodec/jpeg2000dec.c dst = line + x * pixelsize + compno*!planar; \ line 1963 libavcodec/jpeg2000dec.c line += picture->linesize[plane] / sizeof(PIXEL); \ line 101 libavcodec/jpeg2000dwt.c int *line = s->i_linebuf; line 102 libavcodec/jpeg2000dwt.c line += 3; line 113 libavcodec/jpeg2000dwt.c l = line + mv; line 120 libavcodec/jpeg2000dwt.c sd_1d53(line, mv, mv + lv); line 130 libavcodec/jpeg2000dwt.c l = line + mh; line 137 libavcodec/jpeg2000dwt.c sd_1d53(line, mh, mh + lh); line 176 libavcodec/jpeg2000dwt.c float *line = s->f_linebuf; line 177 libavcodec/jpeg2000dwt.c line += 5; line 188 libavcodec/jpeg2000dwt.c l = line + mh; line 195 libavcodec/jpeg2000dwt.c sd_1d97_float(line, mh, mh + lh); line 205 libavcodec/jpeg2000dwt.c l = line + mv; line 212 libavcodec/jpeg2000dwt.c sd_1d97_float(line, mv, mv + lv); line 254 libavcodec/jpeg2000dwt.c int *line = s->i_linebuf; line 255 libavcodec/jpeg2000dwt.c line += 5; line 269 libavcodec/jpeg2000dwt.c l = line + mv; line 276 libavcodec/jpeg2000dwt.c sd_1d97_int(line, mv, mv + lv); line 286 libavcodec/jpeg2000dwt.c l = line + mh; line 293 libavcodec/jpeg2000dwt.c sd_1d97_int(line, mh, mh + lh); line 330 libavcodec/jpeg2000dwt.c int32_t *line = s->i_linebuf; line 331 libavcodec/jpeg2000dwt.c line += 3; line 342 libavcodec/jpeg2000dwt.c l = line + mh; line 351 libavcodec/jpeg2000dwt.c sr_1d53(line, mh, mh + lh); line 358 libavcodec/jpeg2000dwt.c l = line + mv; line 367 libavcodec/jpeg2000dwt.c sr_1d53(line, mv, mv + lv); line 406 libavcodec/jpeg2000dwt.c float *line = s->f_linebuf; line 409 libavcodec/jpeg2000dwt.c line += 5; line 419 libavcodec/jpeg2000dwt.c l = line + mh; line 428 libavcodec/jpeg2000dwt.c sr_1d97_float(line, mh, mh + lh); line 435 libavcodec/jpeg2000dwt.c l = line + mv; line 444 libavcodec/jpeg2000dwt.c sr_1d97_float(line, mv, mv + lv); line 485 libavcodec/jpeg2000dwt.c int32_t *line = s->i_linebuf; line 488 libavcodec/jpeg2000dwt.c line += 5; line 501 libavcodec/jpeg2000dwt.c l = line + mh; line 510 libavcodec/jpeg2000dwt.c sr_1d97_int(line, mh, mh + lh); line 517 libavcodec/jpeg2000dwt.c l = line + mv; line 526 libavcodec/jpeg2000dwt.c sr_1d97_int(line, mv, mv + lv); line 266 libavcodec/lagarith.c int width, int stride, int line) line 270 libavcodec/lagarith.c if (!line) { line 277 libavcodec/lagarith.c if (line == 1) { line 292 libavcodec/lagarith.c int width, int stride, int line, line 297 libavcodec/lagarith.c if (!line) { line 306 libavcodec/lagarith.c if (line == 1) { line 67 libavcodec/libdavs2.c int line = 0; line 117 libavcodec/libdavs2.c for (line = 0; line < pic->lines[plane]; ++line) line 118 libavcodec/libdavs2.c memcpy(frame->data[plane] + line * size_line, line 119 libavcodec/libdavs2.c pic->planes[plane] + line * pic->strides[plane], line 600 libavcodec/libzvbi-teletextdec.c ctx->sliced[lines].line = (line_offset > 0 ? (line_offset + (field_parity ? 0 : 313)) : 0); line 81 libavcodec/m101.c uint8_t *line = frame->data[0] + y*frame->linesize[0]; line 82 libavcodec/m101.c memcpy(line, buf + src_y*stride, 2*avctx->width); line 281 libavcodec/microdvddec.c char *line = avpkt->data; line 292 libavcodec/microdvddec.c while (line < end && *line) { line 295 libavcodec/microdvddec.c line = microdvd_load_tags(tags, line); line 299 libavcodec/microdvddec.c while (line < end && *line && *line != '|') { line 300 libavcodec/microdvddec.c av_bprint_chars(&new_line, *line, 1); line 301 libavcodec/microdvddec.c line++; line 305 libavcodec/microdvddec.c if (line < end && *line == '|') { line 308 libavcodec/microdvddec.c line++; line 2606 libavcodec/mjpegdec.c uint8_t *line = s->picture_ptr->data[p]; line 2620 libavcodec/mjpegdec.c if (is16bit) ((uint16_t*)line)[w - 1] = ((uint16_t*)line)[(w - 1) / 2]; line 2621 libavcodec/mjpegdec.c else line[w - 1] = line[(w - 1) / 2]; line 2624 libavcodec/mjpegdec.c ((uint16_t*)line)[index] = (((uint16_t*)line)[index / 2] + ((uint16_t*)line)[(index + 1) / 2]) >> 1; line 2626 libavcodec/mjpegdec.c line[index] = (line[index / 2] + line[(index + 1) / 2]) >> 1; line 2630 libavcodec/mjpegdec.c ((uint16_t*)line)[w - 1] = ((uint16_t*)line)[(w - 1) / 3]; line 2632 libavcodec/mjpegdec.c ((uint16_t*)line)[w - 2] = ((uint16_t*)line)[w - 1]; line 2634 libavcodec/mjpegdec.c line[w - 1] = line[(w - 1) / 3]; line 2636 libavcodec/mjpegdec.c line[w - 2] = line[w - 1]; line 2639 libavcodec/mjpegdec.c line[index] = (line[index / 3] + line[(index + 1) / 3] + line[(index + 2) / 3] + 1) / 3; line 2642 libavcodec/mjpegdec.c line += s->linesize[p]; line 40 libavcodec/msrledec.c int line = avctx->height - 1; line 43 libavcodec/msrledec.c while (line >= 0 && pixel_ptr <= avctx->width) { line 47 libavcodec/msrledec.c avctx->width - pixel_ptr, line); line 56 libavcodec/msrledec.c line--; line 66 libavcodec/msrledec.c line -= stream_byte; line 83 libavcodec/msrledec.c pic->data[0][line * pic->linesize[0] + pixel_ptr] = stream_byte >> 4; line 89 libavcodec/msrledec.c pic->data[0][line * pic->linesize[0] + pixel_ptr] = stream_byte & 0x0F; line 109 libavcodec/msrledec.c pic->data[0][line * pic->linesize[0] + pixel_ptr] = stream_byte >> 4; line 111 libavcodec/msrledec.c pic->data[0][line * pic->linesize[0] + pixel_ptr] = stream_byte & 0x0F; line 133 libavcodec/msrledec.c int p1, p2, line=avctx->height - 1, pos=0, i; line 146 libavcodec/msrledec.c if (--line < 0) { line 156 libavcodec/msrledec.c output = pic->data[0] + line * pic->linesize[0]; line 165 libavcodec/msrledec.c line -= p2; line 167 libavcodec/msrledec.c if (line < 0 || pos >= width){ line 171 libavcodec/msrledec.c output = pic->data[0] + line * pic->linesize[0] + pos * (depth >> 3); line 172 libavcodec/msrledec.c output_end = pic->data[0] + line * pic->linesize[0] + FFABS(pic->linesize[0]); line 135 libavcodec/qtrleenc.c static void qtrle_encode_line(QtrleEncContext *s, const AVFrame *p, int line, uint8_t **buf) line 158 libavcodec/qtrleenc.c uint8_t *this_line = p-> data[0] + line*p-> linesize[0] + line 160 libavcodec/qtrleenc.c uint8_t *prev_line = s->previous_frame->data[0] + line * s->previous_frame->linesize[0] + line 274 libavcodec/qtrleenc.c this_line = p-> data[0] + line*p->linesize[0]; line 458 libavcodec/rawdec.c uint8_t *line = frame->data[0]; line 461 libavcodec/rawdec.c line[2 * x + 1] ^= 0x80; line 462 libavcodec/rawdec.c line += frame->linesize[0]; line 38 libavcodec/snow_dwt.c buf->line = av_mallocz_array(line_count, sizeof(IDWTELEM *)); line 39 libavcodec/snow_dwt.c if (!buf->line) line 43 libavcodec/snow_dwt.c av_freep(&buf->line); line 53 libavcodec/snow_dwt.c av_freep(&buf->line); line 62 libavcodec/snow_dwt.c IDWTELEM *ff_slice_buffer_load_line(slice_buffer *buf, int line) line 68 libavcodec/snow_dwt.c if (buf->line[line]) line 69 libavcodec/snow_dwt.c return buf->line[line]; line 73 libavcodec/snow_dwt.c buf->line[line] = buffer; line 78 libavcodec/snow_dwt.c void ff_slice_buffer_release(slice_buffer *buf, int line) line 82 libavcodec/snow_dwt.c av_assert1(line >= 0 && line < buf->line_count); line 83 libavcodec/snow_dwt.c av_assert1(buf->line[line]); line 85 libavcodec/snow_dwt.c buffer = buf->line[line]; line 88 libavcodec/snow_dwt.c buf->line[line] = NULL; line 95 libavcodec/snow_dwt.c if (!buf->line) line 99 libavcodec/snow_dwt.c if (buf->line[i]) line 112 libavcodec/snow_dwt.c av_freep(&buf->line); line 45 libavcodec/snow_dwt.h IDWTELEM **line; ///< For use by idwt and predict_slices. line 90 libavcodec/snow_dwt.h ((slice_buf)->line[line_num] ? (slice_buf)->line[line_num] \ line 97 libavcodec/snow_dwt.h void ff_slice_buffer_release(slice_buffer *buf, int line); line 100 libavcodec/snow_dwt.h IDWTELEM *ff_slice_buffer_load_line(slice_buffer *buf, int line); line 57 libavcodec/snowdec.c IDWTELEM * line = sb->line[y]; line 60 libavcodec/snowdec.c int v= line[x] + (128<<FRAC_BITS) + (1<<(FRAC_BITS-1)); line 69 libavcodec/snowdec.c IDWTELEM * line = sb->line[y]; line 71 libavcodec/snowdec.c line[x] -= 128 << FRAC_BITS; line 138 libavcodec/snowdec.c IDWTELEM * line = slice_buffer_get_line(sb, y * b->stride_line + b->buf_y_offset) + b->buf_x_offset; line 139 libavcodec/snowdec.c memset(line, 0, b->width*sizeof(IDWTELEM)); line 145 libavcodec/snowdec.c line[x] = (t^u) - u; line 236 libavcodec/snowdec.c IDWTELEM * line = slice_buffer_get_line(sb, (y * b->stride_line) + b->buf_y_offset) + b->buf_x_offset; line 238 libavcodec/snowdec.c int i= line[x]; line 240 libavcodec/snowdec.c line[x]= -((-i*(unsigned)qmul + qadd)>>(QEXPSHIFT)); //FIXME try different bias line 242 libavcodec/snowdec.c line[x]= (( i*(unsigned)qmul + qadd)>>(QEXPSHIFT)); line 252 libavcodec/snowdec.c IDWTELEM * line=0; // silence silly "could be used without having been initialized" warning line 256 libavcodec/snowdec.c line = slice_buffer_get_line(sb, ((start_y - 1) * b->stride_line) + b->buf_y_offset) + b->buf_x_offset; line 259 libavcodec/snowdec.c prev = line; line 261 libavcodec/snowdec.c line = slice_buffer_get_line(sb, (y * b->stride_line) + b->buf_y_offset) + b->buf_x_offset; line 265 libavcodec/snowdec.c if(y && x+1<w) line[x] += mid_pred(line[x - 1], prev[x], prev[x + 1]); line 266 libavcodec/snowdec.c else line[x] += line[x - 1]; line 268 libavcodec/snowdec.c if(y) line[x] += mid_pred(line[x - 1], prev[x], line[x - 1] + prev[x] - prev[x - 1]); line 269 libavcodec/snowdec.c else line[x] += line[x - 1]; line 272 libavcodec/snowdec.c if(y) line[x] += prev[x]; line 598 libavcodec/snowdec.c IDWTELEM * line = slice_buffer_get_line(&s->sb, yq); line 600 libavcodec/snowdec.c line[x] *= 1<<FRAC_BITS; line 33 libavcodec/targa.c static uint8_t *advance_line(uint8_t *start, uint8_t *line, line 39 libavcodec/targa.c return line + interleave * stride; line 57 libavcodec/targa.c uint8_t *line = start; line 58 libavcodec/targa.c uint8_t *dst = line; line 79 libavcodec/targa.c dst = line = advance_line(start, line, stride, &y, h, interleave); line 95 libavcodec/targa.c dst = line = advance_line(start, line, stride, &y, h, interleave); line 254 libavcodec/targa.c uint8_t *line; line 261 libavcodec/targa.c line = dst; line 264 libavcodec/targa.c bytestream2_get_buffer(&s->gb, line, img_size); line 265 libavcodec/targa.c line = advance_line(dst, line, stride, &y, h, interleave); line 266 libavcodec/targa.c } while (line); line 272 libavcodec/targa.c void *line = &p->data[0][y * p->linesize[0]]; line 276 libavcodec/targa.c FFSWAP(uint32_t, ((uint32_t *)line)[x], ((uint32_t *)line)[w - x - 1]); line 279 libavcodec/targa.c FFSWAP(uint8_t, ((uint8_t *)line)[3 * x ], ((uint8_t *)line)[3 * w - 3 * x - 3]); line 280 libavcodec/targa.c FFSWAP(uint8_t, ((uint8_t *)line)[3 * x + 1], ((uint8_t *)line)[3 * w - 3 * x - 2]); line 281 libavcodec/targa.c FFSWAP(uint8_t, ((uint8_t *)line)[3 * x + 2], ((uint8_t *)line)[3 * w - 3 * x - 1]); line 284 libavcodec/targa.c FFSWAP(uint16_t, ((uint16_t *)line)[x], ((uint16_t *)line)[w - x - 1]); line 287 libavcodec/targa.c FFSWAP(uint8_t, ((uint8_t *)line)[x], ((uint8_t *)line)[w - x - 1]); line 327 libavcodec/tdsc.c int col, line; line 328 libavcodec/tdsc.c for (line = 0; line < height; line++) { line 335 libavcodec/tdsc.c srcu += srcuv_stride * (line & 1); line 336 libavcodec/tdsc.c srcv += srcuv_stride * (line & 1); line 417 libavcodec/tiff.c int ret, line; line 438 libavcodec/tiff.c for (line = 0; line < lines; line++) { line 445 libavcodec/tiff.c unpack_yuv(s, p, dst, strip_start + line); line 446 libavcodec/tiff.c line += s->subsampling[1] - 1; line 483 libavcodec/tiff.c int ret, line; line 503 libavcodec/tiff.c for (line = 0; line < lines; line++) { line 510 libavcodec/tiff.c unpack_yuv(s, p, dst, strip_start + line); line 511 libavcodec/tiff.c line += s->subsampling[1] - 1; line 525 libavcodec/tiff.c int line; line 547 libavcodec/tiff.c for (line = 0; line < lines; line++) { line 560 libavcodec/tiff.c int c, line, pixels, code, ret; line 638 libavcodec/tiff.c for (line = 0; line < lines; line++) { line 648 libavcodec/tiff.c unpack_yuv(s, p, dst, strip_start + line); line 649 libavcodec/tiff.c line += s->subsampling[1] - 1; line 651 libavcodec/tiff.c unpack_gray(s, p, dst, strip_start + line, width, s->bpp); line 685 libavcodec/tiff.c for (line = 0; line < lines; line++) { line 693 libavcodec/tiff.c bytestream2_seek_p(&pb, stride * line, SEEK_SET); line 771 libavcodec/tiff.c unpack_yuv(s, p, dst, strip_start + line); line 772 libavcodec/tiff.c line += s->subsampling[1] - 1; line 774 libavcodec/tiff.c unpack_gray(s, p, dst, strip_start + line, width, s->bpp); line 816 libavcodec/tiff.c int line, col; line 827 libavcodec/tiff.c for (line = 0; line < height / 2; line++) { line 850 libavcodec/tiff.c for (line = 0; line < height; line++) { line 861 libavcodec/tiff.c for (line = 0; line < height; line++) { line 1044 libavcodec/webp.c uint8_t *line; line 1047 libavcodec/webp.c line = av_malloc(img->frame->linesize[0] + AV_INPUT_BUFFER_PADDING_SIZE); line 1048 libavcodec/webp.c if (!line) line 1053 libavcodec/webp.c memcpy(line, p, img->frame->linesize[0]); line 1054 libavcodec/webp.c init_get_bits(&gb_g, line, img->frame->linesize[0] * 8); line 1067 libavcodec/webp.c av_free(line); line 610 libavcodec/x86/snowdsp.c IDWTELEM * * dst_array = sb->line + src_y;\ line 764 libavcodec/x86/snowdsp.c IDWTELEM * * dst_array = sb->line + src_y;\ line 212 libavdevice/decklink_dec.cpp static uint8_t calc_parity_and_line_offset(int line) line 214 libavdevice/decklink_dec.cpp uint8_t ret = (line < 313) << 5; line 215 libavdevice/decklink_dec.cpp if (line >= 7 && line <= 22) line 216 libavdevice/decklink_dec.cpp ret += line; line 217 libavdevice/decklink_dec.cpp if (line >= 320 && line <= 335) line 218 libavdevice/decklink_dec.cpp ret += (line - 313); line 222 libavdevice/decklink_dec.cpp static void fill_data_unit_head(int line, uint8_t *tgt) line 226 libavdevice/decklink_dec.cpp tgt[2] = calc_parity_and_line_offset(line); // field_parity, line_offset line 231 libavdevice/decklink_dec.cpp static uint8_t* teletext_data_unit_from_vbi_data(int line, uint8_t *src, uint8_t *tgt, vbi_pixfmt fmt) line 240 libavdevice/decklink_dec.cpp fill_data_unit_head(line, tgt); line 245 libavdevice/decklink_dec.cpp static uint8_t* teletext_data_unit_from_vbi_data_10bit(int line, uint8_t *src, uint8_t *tgt) line 259 libavdevice/decklink_dec.cpp return teletext_data_unit_from_vbi_data(line, y, tgt, VBI_PIXFMT_YUV420); line 263 libavdevice/decklink_dec.cpp static uint8_t* teletext_data_unit_from_op47_vbi_packet(int line, uint16_t *py, uint8_t *tgt) line 270 libavdevice/decklink_dec.cpp fill_data_unit_head(line, tgt); line 281 libavdevice/decklink_dec.cpp static int linemask_matches(int line, int64_t mask) line 284 libavdevice/decklink_dec.cpp if (line >= 6 && line <= 22) line 285 libavdevice/decklink_dec.cpp shift = line - 6; line 286 libavdevice/decklink_dec.cpp if (line >= 318 && line <= 335) line 287 libavdevice/decklink_dec.cpp shift = line - 318 + 17; line 299 libavdevice/decklink_dec.cpp int line = (descriptors[i] & 31) + (!(descriptors[i] & 128)) * 313; line 300 libavdevice/decklink_dec.cpp if (line && linemask_matches(line, wanted_lines)) line 301 libavdevice/decklink_dec.cpp tgt = teletext_data_unit_from_op47_vbi_packet(line, py, tgt); line 390 libavdevice/decklink_enc.cpp struct klvanc_line_s *line = vanc_lines.lines[i]; line 394 libavdevice/decklink_enc.cpp if (!line) line 399 libavdevice/decklink_enc.cpp real_line = line->line_number; line 408 libavdevice/decklink_enc.cpp result = klvanc_generate_vanc_line_v210(ctx->vanc_ctx, line, (uint8_t *) buf, line 32 libavfilter/bbox.c const uint8_t *line; line 51 libavfilter/bbox.c line = data; line 54 libavfilter/bbox.c if (line[x] > min_val) line 56 libavfilter/bbox.c line += linesize; line 61 libavfilter/bbox.c line = data + (h-1)*linesize; line 64 libavfilter/bbox.c if (line[x] > min_val) line 66 libavfilter/bbox.c line -= linesize; line 80 libavfilter/drawutils.c int ff_fill_line_with_color(uint8_t *line[4], int pixel_step[4], int w, uint8_t dst_color[4], line 100 libavfilter/drawutils.c line[0] = av_malloc_array(w, pixel_step[0]); line 101 libavfilter/drawutils.c if (!line[0]) line 104 libavfilter/drawutils.c memcpy(line[0] + i * pixel_step[0], dst_color, pixel_step[0]); line 121 libavfilter/drawutils.c line[plane] = av_malloc(line_size); line 122 libavfilter/drawutils.c if (!line[plane]) { line 123 libavfilter/drawutils.c while(plane && line[plane-1]) line 124 libavfilter/drawutils.c av_freep(&line[--plane]); line 127 libavfilter/drawutils.c memset(line[plane], dst_color[plane], line_size); line 33 libavfilter/drawutils.h int ff_fill_line_with_color(uint8_t *line[4], int pixel_step[4], int w, line 226 libavfilter/f_ebur128.c const int line = ebur128->y_line_ref[y] || y == ebur128->y_zero_lu; line 227 libavfilter/f_ebur128.c const int colorid = 8*below_opt_min+ 4*line + 2*reached + above_opt_max; line 39 libavfilter/vf_fieldhint.c int64_t line; line 138 libavfilter/vf_fieldhint.c s->line++; line 148 libavfilter/vf_fieldhint.c av_log(ctx, AV_LOG_ERROR, "Invalid entry at line %"PRId64".\n", s->line); line 155 libavfilter/vf_fieldhint.c av_log(ctx, AV_LOG_ERROR, "Out of range frames %"PRId64" and/or %"PRId64" on line %"PRId64" for %"PRId64". input frame.\n", tf, bf, s->line, inlink->frame_count_out); line 162 libavfilter/vf_fieldhint.c av_log(ctx, AV_LOG_ERROR, "Out of range %"PRId64" and/or %"PRId64" on line %"PRId64" for %"PRId64". input frame.\n", tf, bf, s->line, inlink->frame_count_out); line 82 libavfilter/vf_fieldorder.c int h, plane, src_line_step, dst_line_step, line_size, line; line 122 libavfilter/vf_fieldorder.c for (line = 0; line < h; line++) { line 123 libavfilter/vf_fieldorder.c if (1 + line < frame->height) { line 139 libavfilter/vf_fieldorder.c for (line = h - 1; line >= 0 ; line--) { line 140 libavfilter/vf_fieldorder.c if (line > 0) { line 241 libavfilter/vf_framerate.c int line, pixel; \ line 250 libavfilter/vf_framerate.c for (line = 0; line < height; line++) { \ line 224 libavfilter/vf_hqdn3d.c av_freep(&s->line[0]); line 225 libavfilter/vf_hqdn3d.c av_freep(&s->line[1]); line 226 libavfilter/vf_hqdn3d.c av_freep(&s->line[2]); line 275 libavfilter/vf_hqdn3d.c s->line[i] = av_malloc_array(inlink->w, sizeof(*s->line[i])); line 276 libavfilter/vf_hqdn3d.c if (!s->line[i]) line 308 libavfilter/vf_hqdn3d.c s->line[job_nr], &s->frame_prev[job_nr], line 34 libavfilter/vf_hqdn3d.h uint16_t *line[3]; line 201 libavfilter/vf_libopencv.c char *line; line 202 libavfilter/vf_libopencv.c if (!(line = av_malloc(*cols + 1))) line 206 libavfilter/vf_libopencv.c line[j] = (*values)[i * *cols + j] ? '@' : ' '; line 207 libavfilter/vf_libopencv.c line[j] = 0; line 208 libavfilter/vf_libopencv.c av_log(log_ctx, AV_LOG_DEBUG, "%3d: %s\n", i, line); line 210 libavfilter/vf_libopencv.c av_free(line); line 527 libavfilter/vf_lut3d.c if (!fgets(line, sizeof(line), f)) { \ line 534 libavfilter/vf_lut3d.c if (!fgets(line, sizeof(line), f)) { \ line 579 libavfilter/vf_lut3d.c char line[MAX_LINE_SIZE]; line 585 libavfilter/vf_lut3d.c NEXT_LINE(skip_line(line)); line 586 libavfilter/vf_lut3d.c if (!strncmp(line, "3DLUTSIZE ", 10)) { line 587 libavfilter/vf_lut3d.c size = strtol(line + 10, NULL, 0); line 589 libavfilter/vf_lut3d.c NEXT_LINE(skip_line(line)); line 601 libavfilter/vf_lut3d.c NEXT_LINE(skip_line(line)); line 602 libavfilter/vf_lut3d.c if (av_sscanf(line, "%f %f %f", &vec->r, &vec->g, &vec->b) != 3) line 614 libavfilter/vf_lut3d.c char line[MAX_LINE_SIZE]; line 618 libavfilter/vf_lut3d.c while (fgets(line, sizeof(line), f)) { line 619 libavfilter/vf_lut3d.c if (!strncmp(line, "LUT_3D_SIZE", 11)) { line 621 libavfilter/vf_lut3d.c const int size = strtol(line + 12, NULL, 0); line 636 libavfilter/vf_lut3d.c if (!strncmp(line, "DOMAIN_", 7)) { line 638 libavfilter/vf_lut3d.c if (!strncmp(line + 7, "MIN ", 4)) vals = min; line 639 libavfilter/vf_lut3d.c else if (!strncmp(line + 7, "MAX ", 4)) vals = max; line 642 libavfilter/vf_lut3d.c av_sscanf(line + 11, "%f %f %f", vals, vals + 1, vals + 2); line 646 libavfilter/vf_lut3d.c } else if (!strncmp(line, "TITLE", 5)) { line 649 libavfilter/vf_lut3d.c } while (skip_line(line)); line 650 libavfilter/vf_lut3d.c if (av_sscanf(line, "%f %f %f", &vec->r, &vec->g, &vec->b) != 3) line 670 libavfilter/vf_lut3d.c char line[MAX_LINE_SIZE]; line 683 libavfilter/vf_lut3d.c NEXT_LINE(skip_line(line)); line 690 libavfilter/vf_lut3d.c NEXT_LINE(skip_line(line)); line 691 libavfilter/vf_lut3d.c if (av_sscanf(line, "%d %d %d", &r, &g, &b) != 3) line 708 libavfilter/vf_lut3d.c char line[MAX_LINE_SIZE]; line 711 libavfilter/vf_lut3d.c while (fgets(line, sizeof(line), f)) { line 712 libavfilter/vf_lut3d.c if (!strncmp(line, "in", 2)) in = strtol(line + 2, NULL, 0); line 713 libavfilter/vf_lut3d.c else if (!strncmp(line, "out", 3)) out = strtol(line + 3, NULL, 0); line 714 libavfilter/vf_lut3d.c else if (!strncmp(line, "values", 6)) { line 715 libavfilter/vf_lut3d.c const char *p = line + 6; line 761 libavfilter/vf_lut3d.c if (av_sscanf(line, "%f %f %f", val, val + 1, val + 2) != 3) line 801 libavfilter/vf_lut3d.c if (!fget_next_word(line, sizeof(line) ,f)) { \ line 805 libavfilter/vf_lut3d.c if (av_sscanf(line, "%f", &value) != 1) { \ line 813 libavfilter/vf_lut3d.c char line[MAX_LINE_SIZE]; line 826 libavfilter/vf_lut3d.c NEXT_LINE_OR_GOTO(skip_line(line), end); line 827 libavfilter/vf_lut3d.c if (strncmp(line, "CSPLUTV100", 10)) { line 833 libavfilter/vf_lut3d.c NEXT_LINE_OR_GOTO(skip_line(line), end); line 834 libavfilter/vf_lut3d.c if (strncmp(line, "3D", 2)) { line 841 libavfilter/vf_lut3d.c NEXT_LINE_OR_GOTO(skip_line(line), end); line 843 libavfilter/vf_lut3d.c if (!strncmp(line, "BEGIN METADATA", 14)) { line 847 libavfilter/vf_lut3d.c if (!strncmp(line, "END METADATA", 12)) { line 855 libavfilter/vf_lut3d.c int npoints = strtol(line, NULL, 0); line 908 libavfilter/vf_lut3d.c NEXT_LINE_OR_GOTO(skip_line(line), end); line 909 libavfilter/vf_lut3d.c if (av_sscanf(line, "%f %f", &in_min[i], &in_max[i]) != 2) { line 913 libavfilter/vf_lut3d.c NEXT_LINE_OR_GOTO(skip_line(line), end); line 914 libavfilter/vf_lut3d.c if (av_sscanf(line, "%f %f", &out_min[i], &out_max[i]) != 2) { line 925 libavfilter/vf_lut3d.c NEXT_LINE_OR_GOTO(skip_line(line), end); line 928 libavfilter/vf_lut3d.c if (av_sscanf(line, "%d %d %d", &size_r, &size_g, &size_b) != 3) { line 953 libavfilter/vf_lut3d.c NEXT_LINE_OR_GOTO(skip_line(line), end); line 954 libavfilter/vf_lut3d.c if (av_sscanf(line, "%f %f %f", &vec->r, &vec->g, &vec->b) != 3) { line 1552 libavfilter/vf_lut3d.c char line[MAX_LINE_SIZE]; line 1559 libavfilter/vf_lut3d.c NEXT_LINE(skip_line(line)); line 1560 libavfilter/vf_lut3d.c if (strncmp(line, "CSPLUTV100", 10)) { line 1565 libavfilter/vf_lut3d.c NEXT_LINE(skip_line(line)); line 1566 libavfilter/vf_lut3d.c if (strncmp(line, "1D", 2)) { line 1572 libavfilter/vf_lut3d.c NEXT_LINE(skip_line(line)); line 1574 libavfilter/vf_lut3d.c if (!strncmp(line, "BEGIN METADATA", 14)) { line 1578 libavfilter/vf_lut3d.c if (!strncmp(line, "END METADATA", 12)) { line 1584 libavfilter/vf_lut3d.c int npoints = strtol(line, NULL, 0); line 1591 libavfilter/vf_lut3d.c NEXT_LINE(skip_line(line)); line 1592 libavfilter/vf_lut3d.c if (av_sscanf(line, "%f %f", &in_min[i], &in_max[i]) != 2) line 1594 libavfilter/vf_lut3d.c NEXT_LINE(skip_line(line)); line 1595 libavfilter/vf_lut3d.c if (av_sscanf(line, "%f %f", &out_min[i], &out_max[i]) != 2) line 1597 libavfilter/vf_lut3d.c NEXT_LINE(skip_line(line)); line 1600 libavfilter/vf_lut3d.c size = strtol(line, NULL, 0); line 1610 libavfilter/vf_lut3d.c NEXT_LINE(skip_line(line)); line 1611 libavfilter/vf_lut3d.c if (av_sscanf(line, "%f %f %f", &lut1d->lut[0][i], &lut1d->lut[1][i], &lut1d->lut[2][i]) != 3) line 1632 libavfilter/vf_lut3d.c char line[MAX_LINE_SIZE]; line 1636 libavfilter/vf_lut3d.c while (fgets(line, sizeof(line), f)) { line 1637 libavfilter/vf_lut3d.c if (!strncmp(line, "LUT_1D_SIZE", 11)) { line 1638 libavfilter/vf_lut3d.c const int size = strtol(line + 12, NULL, 0); line 1650 libavfilter/vf_lut3d.c if (!strncmp(line, "DOMAIN_", 7)) { line 1652 libavfilter/vf_lut3d.c if (!strncmp(line + 7, "MIN ", 4)) vals = min; line 1653 libavfilter/vf_lut3d.c else if (!strncmp(line + 7, "MAX ", 4)) vals = max; line 1656 libavfilter/vf_lut3d.c av_sscanf(line + 11, "%f %f %f", vals, vals + 1, vals + 2); line 1660 libavfilter/vf_lut3d.c } else if (!strncmp(line, "LUT_1D_INPUT_RANGE ", 19)) { line 1661 libavfilter/vf_lut3d.c av_sscanf(line + 19, "%f %f", min, max); line 1665 libavfilter/vf_lut3d.c } else if (!strncmp(line, "TITLE", 5)) { line 1668 libavfilter/vf_lut3d.c } while (skip_line(line)); line 1669 libavfilter/vf_lut3d.c if (av_sscanf(line, "%f %f %f", &lut1d->lut[0][i], &lut1d->lut[1][i], &lut1d->lut[2][i]) != 3) line 34 libavfilter/vf_pixdesctest.c uint32_t *line; line 40 libavfilter/vf_pixdesctest.c av_freep(&priv->line); line 49 libavfilter/vf_pixdesctest.c av_freep(&priv->line); line 50 libavfilter/vf_pixdesctest.c if (!(priv->line = av_malloc_array(sizeof(*priv->line), inlink->w))) line 92 libavfilter/vf_pixdesctest.c av_read_image_line2(priv->line, line 98 libavfilter/vf_pixdesctest.c av_write_image_line2(priv->line, line 73 libavfilter/vf_readeia608.c LineItem *line; line 124 libavfilter/vf_readeia608.c s->line = av_calloc(size, sizeof(*s->line)); line 126 libavfilter/vf_readeia608.c if (!s->line || !s->code) line 132 libavfilter/vf_readeia608.c static void build_histogram(ReadEIA608Context *s, const LineItem *line, int len) line 137 libavfilter/vf_readeia608.c s->histogram[line[i].input]++; line 182 libavfilter/vf_readeia608.c static float meanf(const LineItem *line, int len) line 187 libavfilter/vf_readeia608.c sum += line[i].filtered; line 194 libavfilter/vf_readeia608.c static float stddevf(const LineItem *line, int len) line 196 libavfilter/vf_readeia608.c float m = meanf(line, len); line 200 libavfilter/vf_readeia608.c standard_deviation += (line[i].filtered - m) * (line[i].filtered - m); line 205 libavfilter/vf_readeia608.c static void thresholding(ReadEIA608Context *s, LineItem *line, line 209 libavfilter/vf_readeia608.c line[i].unfiltered = line[i].input / 255.f; line 210 libavfilter/vf_readeia608.c line[i].filtered = line[i].unfiltered; line 214 libavfilter/vf_readeia608.c line[i].unfiltered = meanf(line, len * s->spw); line 215 libavfilter/vf_readeia608.c line[i].filtered = line[i].unfiltered; line 218 libavfilter/vf_readeia608.c line[lag - 1].average = meanf(line, lag); line 219 libavfilter/vf_readeia608.c line[lag - 1].deviation = stddevf(line, lag); line 222 libavfilter/vf_readeia608.c if (fabsf(line[i].unfiltered - line[i-1].average) > threshold * line[i-1].deviation) { line 223 libavfilter/vf_readeia608.c if (line[i].unfiltered > line[i-1].average) { line 224 libavfilter/vf_readeia608.c line[i].output = 255; line 226 libavfilter/vf_readeia608.c line[i].output = 0; line 229 libavfilter/vf_readeia608.c line[i].filtered = influence * line[i].unfiltered + (1.f - influence) * line[i-1].filtered; line 233 libavfilter/vf_readeia608.c distance_from_black = FFABS(line[i].input - s->black); line 234 libavfilter/vf_readeia608.c distance_from_white = FFABS(line[i].input - s->white); line 236 libavfilter/vf_readeia608.c line[i].output = distance_from_black <= distance_from_white ? 0 : 255; line 239 libavfilter/vf_readeia608.c line[i].average = meanf(line + i - lag, lag); line 240 libavfilter/vf_readeia608.c line[i].deviation = stddevf(line + i - lag, lag); line 244 libavfilter/vf_readeia608.c static int periods(const LineItem *line, CodeItem *code, int len) line 246 libavfilter/vf_readeia608.c int hold = line[LAG].output, cnt = 0; line 252 libavfilter/vf_readeia608.c if (line[i].output != hold) { line 255 libavfilter/vf_readeia608.c hold = line[i].output; line 281 libavfilter/vf_readeia608.c LineItem *line = s->line; line 289 libavfilter/vf_readeia608.c memset(line, 0, (w + LAG) * sizeof(*line)); line 301 libavfilter/vf_readeia608.c line[LAG + i].input = (src[a] + src[b] + src[c] + src[i] + src[d] + src[e] + src[f] + 6) / 7; line 305 libavfilter/vf_readeia608.c line[LAG + i].input = src[i]; line 309 libavfilter/vf_readeia608.c build_histogram(s, line, w); line 314 libavfilter/vf_readeia608.c thresholding(s, line, LAG, 1, 0, w); line 315 libavfilter/vf_readeia608.c len = periods(line, s->code, w); line 412 libavfilter/vf_readeia608.c av_freep(&s->line); line 65 libavfilter/vf_readvitc.c static uint8_t get_vitc_crc( uint8_t *line ) { line 68 libavfilter/vf_readvitc.c crc = 0x01 | (line[0] << 2); line 69 libavfilter/vf_readvitc.c crc ^= (line[0] >> 6) | 0x04 | (line[1] << 4); line 70 libavfilter/vf_readvitc.c crc ^= (line[1] >> 4) | 0x10 | (line[2] << 6); line 71 libavfilter/vf_readvitc.c crc ^= (line[2] >> 2) | 0x40; line 72 libavfilter/vf_readvitc.c crc ^= line[3]; line 73 libavfilter/vf_readvitc.c crc ^= 0x01 | (line[4] << 2); line 74 libavfilter/vf_readvitc.c crc ^= (line[4] >> 6) | 0x04 | (line[5] << 4); line 75 libavfilter/vf_readvitc.c crc ^= (line[5] >> 4) | 0x10 | (line[6] << 6); line 76 libavfilter/vf_readvitc.c crc ^= (line[6] >> 2) | 0x40; line 77 libavfilter/vf_readvitc.c crc ^= line[7]; line 83 libavfilter/vf_readvitc.c static inline uint8_t get_pit_avg3( uint8_t *line, int i ) { line 84 libavfilter/vf_readvitc.c return ((line[i-1] + line[i] + line[i+1]) / 3); line 146 libavfilter/vf_readvitc.c static char *make_vitc_tc_string(char *buf, uint8_t *line) line 148 libavfilter/vf_readvitc.c unsigned hh = bcd2uint(line[7] & 0x03, line[6] & 0x0f); // 6-bit hours line 149 libavfilter/vf_readvitc.c unsigned mm = bcd2uint(line[5] & 0x07, line[4] & 0x0f); // 7-bit minutes line 150 libavfilter/vf_readvitc.c unsigned ss = bcd2uint(line[3] & 0x07, line[2] & 0x0f); // 7-bit seconds line 151 libavfilter/vf_readvitc.c unsigned ff = bcd2uint(line[1] & 0x03, line[0] & 0x0f); // 6-bit frames line 152 libavfilter/vf_readvitc.c unsigned drop = (line[1] & 0x04); // 1-bit drop flag line 80 libavfilter/vf_waveform.c struct GraticuleLine line[4]; line 2891 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; line 2900 libavfilter/vf_waveform.c const char *name = s->glines[l].line[C].name; line 2901 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; line 2933 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; line 2942 libavfilter/vf_waveform.c const char *name = s->glines[l].line[C].name; line 2943 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; line 2974 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; line 2983 libavfilter/vf_waveform.c const char *name = s->glines[l].line[C].name; line 2984 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; line 3016 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; line 3025 libavfilter/vf_waveform.c const char *name = s->glines[l].line[C].name; line 3026 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; line 92 libavfilter/vsrc_cellauto.c char *line = av_malloc(s->w + 1); line 93 libavfilter/vsrc_cellauto.c if (!line) line 97 libavfilter/vsrc_cellauto.c line[i] = row[i] ? '@' : ' '; line 98 libavfilter/vsrc_cellauto.c line[i] = 0; line 99 libavfilter/vsrc_cellauto.c av_log(ctx, AV_LOG_DEBUG, "generation:%"PRId64" row:%s|\n", s->generation, line); line 100 libavfilter/vsrc_cellauto.c av_free(line); line 150 libavfilter/vsrc_life.c char *line = av_malloc(life->w + 1); line 151 libavfilter/vsrc_life.c if (!line) line 155 libavfilter/vsrc_life.c line[j] = life->buf[life->buf_idx][i*life->w + j] == ALIVE_CELL ? '@' : ' '; line 156 libavfilter/vsrc_life.c line[j] = 0; line 157 libavfilter/vsrc_life.c av_log(ctx, AV_LOG_DEBUG, "%3d: %s\n", i, line); line 159 libavfilter/vsrc_life.c av_free(line); line 1739 libavfilter/vsrc_testsrc.c uint8_t *line = frame->data[0]; line 1742 libavfilter/vsrc_testsrc.c uint8_t *dst = line; line 1749 libavfilter/vsrc_testsrc.c line += linesize; line 923 libavfilter/vulkan.c int line = 0; line 932 libavfilter/vulkan.c av_bprintf(&buf, "%i\t", ++line); line 65 libavformat/aqtitledec.c char line[4096]; line 66 libavformat/aqtitledec.c int len = ff_get_line(s->pb, line, sizeof(line)); line 71 libavformat/aqtitledec.c line[strcspn(line, "\r\n")] = 0; line 73 libavformat/aqtitledec.c if (sscanf(line, "-->> %"SCNd64, &frame) == 1) { line 80 libavformat/aqtitledec.c } else if (*line) { line 86 libavformat/aqtitledec.c sub = ff_subtitles_queue_insert(&aqt->q, line, strlen(line), !new_event); line 114 libavformat/assdec.c AVBPrint header, line, rline; line 128 libavformat/assdec.c av_bprint_init(&line, 0, AV_BPRINT_SIZE_UNLIMITED); line 134 libavformat/assdec.c int64_t pos = get_line(&line, &tr); line 139 libavformat/assdec.c if (!line.str[0]) // EOF line 142 libavformat/assdec.c if (read_dialogue(ass, &rline, line.str, &ts_start, &duration) < 0) { line 143 libavformat/assdec.c av_bprintf(&header, "%s", line.str); line 166 libavformat/assdec.c av_bprint_finalize(&line, NULL); line 30 libavformat/assenc.c char *line; line 97 libavformat/assenc.c avio_print(s->pb, "Dialogue: ", dialogue->line, "\r\n"); line 100 libavformat/assenc.c av_freep(&dialogue->line); line 189 libavformat/assenc.c dialogue->line = av_asprintf("%s%ld,%d:%02d:%02d.%02d,%d:%02d:%02d.%02d,%s", line 192 libavformat/assenc.c if (!dialogue->line) { line 401 libavformat/concatdec.c int line = 0, i; line 409 libavformat/concatdec.c line++; line 418 libavformat/concatdec.c av_log(avf, AV_LOG_ERROR, "Line %d: filename required\n", line); line 428 libavformat/concatdec.c line, keyword); line 433 libavformat/concatdec.c line, keyword, dur_str); line 446 libavformat/concatdec.c line, keyword); line 451 libavformat/concatdec.c av_log(avf, AV_LOG_ERROR, "Line %d: packet metadata required\n", line); line 455 libavformat/concatdec.c av_log(avf, AV_LOG_ERROR, "Line %d: failed to parse metadata string\n", line); line 466 libavformat/concatdec.c line); line 475 libavformat/concatdec.c av_log(avf, AV_LOG_ERROR, "Line %d: invalid version\n", line); line 482 libavformat/concatdec.c line, keyword); line 101 libavformat/ffmetadec.c uint8_t line[256]; line 105 libavformat/ffmetadec.c get_line(s->pb, line, sizeof(line)); line 107 libavformat/ffmetadec.c if (sscanf(line, "TIMEBASE=%d/%d", &tb.num, &tb.den)) line 108 libavformat/ffmetadec.c get_line(s->pb, line, sizeof(line)); line 109 libavformat/ffmetadec.c if (!sscanf(line, "START=%"SCNd64, &start)) { line 110 libavformat/ffmetadec.c av_log(s, AV_LOG_ERROR, "Expected chapter start timestamp, found %s.\n", line); line 114 libavformat/ffmetadec.c get_line(s->pb, line, sizeof(line)); line 116 libavformat/ffmetadec.c if (!sscanf(line, "END=%"SCNd64, &end)) { line 117 libavformat/ffmetadec.c av_log(s, AV_LOG_ERROR, "Expected chapter end timestamp, found %s.\n", line); line 142 libavformat/ffmetadec.c static int read_tag(const uint8_t *line, AVDictionary **m) line 145 libavformat/ffmetadec.c const uint8_t *p = line; line 160 libavformat/ffmetadec.c if (!(key = unescape(line, p - line))) line 118 libavformat/ftp.c static int ftp_get_line(FTPContext *s, char *line, int line_size) line 121 libavformat/ftp.c char *q = line; line 130 libavformat/ftp.c if (q > line && q[-1] == '\r') line 135 libavformat/ftp.c if ((q - line) < line_size - 1) line 146 libavformat/ftp.c static int ftp_status(FTPContext *s, char **line, const int response_codes[]) line 152 libavformat/ftp.c if (line) line 157 libavformat/ftp.c if (line) line 191 libavformat/ftp.c if (line) line 202 libavformat/ftp.c if (line) line 203 libavformat/ftp.c av_bprint_finalize(&line_buffer, line); line 957 libavformat/ftp.c static int ftp_parse_entry_nlst(char *line, AVIODirEntry *next) line 959 libavformat/ftp.c next->name = av_strdup(line); line 1001 libavformat/ftp.c static int ftp_parse_entry(URLContext *h, char *line, AVIODirEntry *next) line 1007 libavformat/ftp.c return ftp_parse_entry_mlsd(line, next); line 1009 libavformat/ftp.c return ftp_parse_entry_nlst(line, next); line 721 libavformat/hls.c char line[MAX_URL_SIZE]; line 770 libavformat/hls.c ff_get_chomp_line(in, line, sizeof(line)); line 771 libavformat/hls.c if (strcmp(line, "#EXTM3U")) { line 787 libavformat/hls.c ff_get_chomp_line(in, line, sizeof(line)); line 788 libavformat/hls.c if (av_strstart(line, "#EXT-X-STREAM-INF:", &ptr)) { line 793 libavformat/hls.c } else if (av_strstart(line, "#EXT-X-KEY:", &ptr)) { line 808 libavformat/hls.c } else if (av_strstart(line, "#EXT-X-MEDIA:", &ptr)) { line 813 libavformat/hls.c } else if (av_strstart(line, "#EXT-X-TARGETDURATION:", &ptr)) { line 818 libavformat/hls.c } else if (av_strstart(line, "#EXT-X-MEDIA-SEQUENCE:", &ptr)) { line 823 libavformat/hls.c } else if (av_strstart(line, "#EXT-X-PLAYLIST-TYPE:", &ptr)) { line 831 libavformat/hls.c } else if (av_strstart(line, "#EXT-X-MAP:", &ptr)) { line 865 libavformat/hls.c } else if (av_strstart(line, "#EXT-X-ENDLIST", &ptr)) { line 868 libavformat/hls.c } else if (av_strstart(line, "#EXTINF:", &ptr)) { line 871 libavformat/hls.c } else if (av_strstart(line, "#EXT-X-BYTERANGE:", &ptr)) { line 876 libavformat/hls.c } else if (av_strstart(line, "#", NULL)) { line 877 libavformat/hls.c av_log(c->ctx, AV_LOG_INFO, "Skip ('%s')\n", line); line 879 libavformat/hls.c } else if (line[0]) { line 881 libavformat/hls.c if (!new_variant(c, &variant_info, line, url)) { line 922 libavformat/hls.c ff_make_absolute_url(tmp_str, sizeof(tmp_str), url, line); line 1135 libavformat/hlsenc.c char line[MAX_URL_SIZE]; line 1144 libavformat/hlsenc.c ff_get_chomp_line(in, line, sizeof(line)); line 1145 libavformat/hlsenc.c if (strcmp(line, "#EXTM3U")) { line 1152 libavformat/hlsenc.c ff_get_chomp_line(in, line, sizeof(line)); line 1153 libavformat/hlsenc.c if (av_strstart(line, "#EXT-X-MEDIA-SEQUENCE:", &ptr)) { line 1164 libavformat/hlsenc.c } else if (av_strstart(line, "#EXT-X-DISCONTINUITY", &ptr)) { line 1167 libavformat/hlsenc.c } else if (av_strstart(line, "#EXTINF:", &ptr)) { line 1170 libavformat/hlsenc.c } else if (av_stristart(line, "#EXT-X-KEY:", &ptr)) { line 1171 libavformat/hlsenc.c ptr = av_stristr(line, "URI=\""); line 1182 libavformat/hlsenc.c ptr = av_stristr(line, "IV=0x"); line 1193 libavformat/hlsenc.c } else if (av_strstart(line, "#", NULL)) { line 1195 libavformat/hlsenc.c } else if (line[0]) { line 1197 libavformat/hlsenc.c char *new_file = av_strdup(line); line 109 libavformat/hlsproto.c char line[1024]; line 117 libavformat/hlsproto.c ff_get_chomp_line(in, line, sizeof(line)); line 118 libavformat/hlsproto.c if (strcmp(line, "#EXTM3U")) { line 126 libavformat/hlsproto.c ff_get_chomp_line(in, line, sizeof(line)); line 127 libavformat/hlsproto.c if (av_strstart(line, "#EXT-X-STREAM-INF:", &ptr)) { line 133 libavformat/hlsproto.c } else if (av_strstart(line, "#EXT-X-TARGETDURATION:", &ptr)) { line 135 libavformat/hlsproto.c } else if (av_strstart(line, "#EXT-X-MEDIA-SEQUENCE:", &ptr)) { line 137 libavformat/hlsproto.c } else if (av_strstart(line, "#EXT-X-ENDLIST", &ptr)) { line 139 libavformat/hlsproto.c } else if (av_strstart(line, "#EXTINF:", &ptr)) { line 142 libavformat/hlsproto.c } else if (av_strstart(line, "#", NULL)) { line 144 libavformat/hlsproto.c } else if (line[0]) { line 152 libavformat/hlsproto.c ff_make_absolute_url(seg->url, sizeof(seg->url), url, line); line 162 libavformat/hlsproto.c ff_make_absolute_url(var->url, sizeof(var->url), url, line); line 637 libavformat/http.c static int http_get_line(HTTPContext *s, char *line, int line_size) line 642 libavformat/http.c q = line; line 649 libavformat/http.c if (q > line && q[-1] == '\r') line 655 libavformat/http.c if ((q - line) < line_size - 1) line 908 libavformat/http.c static int process_line(URLContext *h, char *line, int line_count, line 917 libavformat/http.c if (line[0] == '\0') { line 922 libavformat/http.c p = line; line 999 libavformat/http.c tag = line; line 1157 libavformat/http.c char line[MAX_URL_SIZE]; line 1163 libavformat/http.c if ((err = http_get_line(s, line, sizeof(line))) < 0) line 1166 libavformat/http.c av_log(h, AV_LOG_TRACE, "header='%s'\n", line); line 1168 libavformat/http.c err = process_line(h, line, s->line_count, new_location); line 1393 libavformat/http.c char line[32]; line 1397 libavformat/http.c if ((err = http_get_line(s, line, sizeof(line))) < 0) line 1399 libavformat/http.c } while (!*line); /* skip CR LF from last chunk */ line 1401 libavformat/http.c s->chunksize = strtoull(line, NULL, 16); line 1408 libavformat/http.c http_get_line(s, line, sizeof(line)); // read empty chunk line 161 libavformat/jacosubdec.c char line[JSS_MAX_LINESIZE]; line 180 libavformat/jacosubdec.c const char *p = line; line 182 libavformat/jacosubdec.c int len = ff_get_line(pb, line, sizeof(line)); line 190 libavformat/jacosubdec.c sub = ff_subtitles_queue_insert(&jacosub->q, line, len, merge_line); line 196 libavformat/jacosubdec.c merge_line = len > 1 && !strcmp(&line[len - 2], "\\\n"); line 264 libavformat/libmodplug.c #define PRINT_INFO(line, name, idvalue) do { \ line 266 libavformat/libmodplug.c write_text(pkt->data, name ":", modplug->linesize, 0+1, line+1); \ line 267 libavformat/libmodplug.c write_text(pkt->data, intbuf, modplug->linesize, 10+1, line+1); \ line 159 libavformat/lrcdec.c AVBPrint line; line 170 libavformat/lrcdec.c av_bprint_init(&line, 0, AV_BPRINT_SIZE_UNLIMITED); line 173 libavformat/lrcdec.c int64_t pos = read_line(&line, s->pb); line 174 libavformat/lrcdec.c int64_t header_offset = find_header(line.str); line 176 libavformat/lrcdec.c char *comma_offset = strchr(line.str, ':'); line 178 libavformat/lrcdec.c char *right_bracket_offset = strchr(line.str, ']'); line 184 libavformat/lrcdec.c if(strcmp(line.str + 1, "offset") || line 186 libavformat/lrcdec.c av_dict_set(&s->metadata, line.str + 1, comma_offset + 1, 0); line 197 libavformat/lrcdec.c int64_t ts_strlength = count_ts(line.str); line 199 libavformat/lrcdec.c while((ts_stroffset_incr = read_ts(line.str + ts_stroffset, line 202 libavformat/lrcdec.c sub = ff_subtitles_queue_insert(&lrc->q, line.str + ts_strlength, line 203 libavformat/lrcdec.c line.len - ts_strlength, 0); line 216 libavformat/lrcdec.c av_bprint_finalize(&line, NULL); line 90 libavformat/lrcenc.c char *line; line 103 libavformat/lrcenc.c line = data; line 104 libavformat/lrcenc.c while(line[0] == '\n' || line[0] == '\r') { line 105 libavformat/lrcenc.c line++; // Skip first empty lines line 108 libavformat/lrcenc.c while(line) { line 109 libavformat/lrcenc.c delim = strchr(line, '\n'); line 111 libavformat/lrcenc.c if(delim > line && delim[-1] == '\r') { line 117 libavformat/lrcenc.c if(line[0] == '[') { line 135 libavformat/lrcenc.c avio_printf(s->pb, "%s\n", line); line 136 libavformat/lrcenc.c line = delim; line 96 libavformat/microdvddec.c char *line = line_buf; line 99 libavformat/microdvddec.c if (!strncmp(line, bom, 3)) line 100 libavformat/microdvddec.c line += 3; line 101 libavformat/microdvddec.c p = line; line 105 libavformat/microdvddec.c line[strcspn(line, "\r\n")] = 0; line 113 libavformat/microdvddec.c if ((sscanf(line, "{%d}{}%6lf", &frame, &fps) == 2 || line 114 libavformat/microdvddec.c sscanf(line, "{%d}{%*d}%6lf", &frame, &fps) == 2) line 120 libavformat/microdvddec.c if (!st->codecpar->extradata && sscanf(line, "{DEFAULT}{}%c", &c) == 1) { line 121 libavformat/microdvddec.c int size = strlen(line + 11); line 125 libavformat/microdvddec.c memcpy(st->codecpar->extradata, line + 11, size); line 133 libavformat/microdvddec.c " at line %d\n", line, i); \ line 141 libavformat/microdvddec.c pts = get_pts(line); line 151 libavformat/microdvddec.c sub->duration = get_duration(line); line 780 libavformat/mpeg.c char line[MAX_LINE_SIZE]; line 781 libavformat/mpeg.c int len = ff_get_line(s->pb, line, sizeof(line)); line 786 libavformat/mpeg.c line[strcspn(line, "\r\n")] = 0; line 788 libavformat/mpeg.c if (!strncmp(line, "id:", 3)) { line 789 libavformat/mpeg.c if (sscanf(line, "id: %63[^,], index: %u", id, &stream_id) != 2) { line 791 libavformat/mpeg.c "assuming 'id: und, index: 0'\n", line); line 809 libavformat/mpeg.c } else if (!strncmp(line, "timestamp:", 10)) { line 813 libavformat/mpeg.c const char *p = line + 10; line 839 libavformat/mpeg.c "abort parsing\n", line); line 855 libavformat/mpeg.c } else if (!strncmp(line, "alt:", 4)) { line 856 libavformat/mpeg.c const char *p = line + 4; line 864 libavformat/mpeg.c } else if (!strncmp(line, "delay:", 6)) { line 866 libavformat/mpeg.c const char *p = line + 6; line 877 libavformat/mpeg.c } else if (!strncmp(line, "langidx:", 8)) { line 878 libavformat/mpeg.c const char *p = line + 8; line 884 libavformat/mpeg.c if (line[0] && line[0] != '#') line 885 libavformat/mpeg.c av_bprintf(&header, "%s\n", line); line 52 libavformat/mpjpegdec.c static int get_line(AVIOContext *pb, char *line, int line_size) line 54 libavformat/mpjpegdec.c ff_get_line(pb, line, line_size); line 62 libavformat/mpjpegdec.c trim_right(line); line 68 libavformat/mpjpegdec.c static int split_tag_value(char **tag, char **value, char *line) line 70 libavformat/mpjpegdec.c char *p = line; line 87 libavformat/mpjpegdec.c *tag = line; line 176 libavformat/mpjpegdec.c char line[128]; line 183 libavformat/mpjpegdec.c ret = get_line(pb, line, sizeof(line)); line 190 libavformat/mpjpegdec.c while (!line[0]) { line 191 libavformat/mpjpegdec.c ret = get_line(pb, line, sizeof(line)); line 196 libavformat/mpjpegdec.c if (!av_strstart(line, expected_boundary, NULL)) { line 202 libavformat/mpjpegdec.c strlen(line)); line 210 libavformat/mpjpegdec.c ret = get_line(pb, line, sizeof(line)); line 217 libavformat/mpjpegdec.c if (line[0] == '\0') line 220 libavformat/mpjpegdec.c ret = split_tag_value(&tag, &value, line); line 58 libavformat/mpl2dec.c static int read_ts(char **line, int64_t *pts_start, int64_t *duration) line 64 libavformat/mpl2dec.c if (sscanf(*line, "[%"SCNd64"][]%c%n", line 67 libavformat/mpl2dec.c *line += len - 1; line 70 libavformat/mpl2dec.c if (sscanf(*line, "[%"SCNd64"][%"SCNd64"]%c%n", line 76 libavformat/mpl2dec.c *line += len - 1; line 98 libavformat/mpl2dec.c char line[4096]; line 99 libavformat/mpl2dec.c char *p = line; line 101 libavformat/mpl2dec.c int len = ff_get_line(s->pb, line, sizeof(line)); line 108 libavformat/mpl2dec.c line[strcspn(line, "\r\n")] = 0; line 56 libavformat/mpsubdec.c static int parse_line(const char *line, int64_t *value, int64_t *value2) line 62 libavformat/mpsubdec.c int n = av_sscanf(line, "%lld%n.%lld%n", &intval, &p1, &fracval, &p2); line 77 libavformat/mpsubdec.c line += p2; line 79 libavformat/mpsubdec.c line += p1; line 103 libavformat/mpsubdec.c char line[1024]; line 105 libavformat/mpsubdec.c int fps, len = ff_get_line(s->pb, line, sizeof(line)); line 110 libavformat/mpsubdec.c line[strcspn(line, "\r\n")] = 0; line 112 libavformat/mpsubdec.c if (sscanf(line, "FORMAT=%d", &fps) == 1 && fps > 3 && fps < 100) { line 115 libavformat/mpsubdec.c } else if (parse_line(line, &start, &duration) >= 0) { line 51 libavformat/pjsdec.c static int64_t read_ts(char **line, int *duration) line 55 libavformat/pjsdec.c if (sscanf(*line, "%"SCNd64",%"SCNd64, &start, &end) == 2) { line 56 libavformat/pjsdec.c *line += strcspn(*line, "\""); line 57 libavformat/pjsdec.c *line += !!**line; line 79 libavformat/pjsdec.c char line[4096]; line 80 libavformat/pjsdec.c char *p = line; line 82 libavformat/pjsdec.c int len = ff_get_line(s->pb, line, sizeof(line)); line 89 libavformat/pjsdec.c line[strcspn(line, "\r\n")] = 0; line 410 libavformat/rdt.c PayloadContext *rdt, const char *line) line 413 libavformat/rdt.c const char *p = line; line 516 libavformat/rdt.c const char *line) line 518 libavformat/rdt.c const char *p = line; line 54 libavformat/rpl.c static int read_line(AVIOContext * pb, char* line, int bufsize) line 62 libavformat/rpl.c line[i] = '\0'; line 65 libavformat/rpl.c line[i] = b; line 67 libavformat/rpl.c line[i] = '\0'; line 71 libavformat/rpl.c static int32_t read_int(const char* line, const char** endptr, int* error) line 74 libavformat/rpl.c for (; *line>='0' && *line<='9'; line++) { line 77 libavformat/rpl.c result = 10 * result + *line - '0'; line 79 libavformat/rpl.c *endptr = line; line 85 libavformat/rpl.c char line[RPL_LINE_LENGTH]; line 87 libavformat/rpl.c *error |= read_line(pb, line, sizeof(line)); line 88 libavformat/rpl.c return read_int(line, &endptr, error); line 95 libavformat/rpl.c static AVRational read_fps(const char* line, int* error) line 99 libavformat/rpl.c num = read_int(line, &line, error); line 100 libavformat/rpl.c if (*line == '.') line 101 libavformat/rpl.c line++; line 102 libavformat/rpl.c for (; *line>='0' && *line<='9'; line++) { line 106 libavformat/rpl.c num = 10 * num + *line - '0'; line 130 libavformat/rpl.c char line[RPL_LINE_LENGTH]; line 138 libavformat/rpl.c error |= read_line(pb, line, sizeof(line)); // ARMovie line 139 libavformat/rpl.c error |= read_line(pb, line, sizeof(line)); // movie name line 140 libavformat/rpl.c av_dict_set(&s->metadata, "title" , line, 0); line 141 libavformat/rpl.c error |= read_line(pb, line, sizeof(line)); // date/copyright line 142 libavformat/rpl.c av_dict_set(&s->metadata, "copyright", line, 0); line 143 libavformat/rpl.c error |= read_line(pb, line, sizeof(line)); // author and other line 144 libavformat/rpl.c av_dict_set(&s->metadata, "author" , line, 0); line 180 libavformat/rpl.c error |= read_line(pb, line, sizeof(line)); line 183 libavformat/rpl.c error |= read_line(pb, line, sizeof(line)); // video frames per second line 184 libavformat/rpl.c fps = read_fps(line, &error); line 201 libavformat/rpl.c error |= read_line(pb, line, sizeof(line)); line 202 libavformat/rpl.c ast->codecpar->bits_per_coded_sample = read_int(line, &endptr, &error); // audio bits per sample line 253 libavformat/rpl.c error |= read_line(pb, line, sizeof(line)); line 266 libavformat/rpl.c error |= read_line(pb, line, sizeof(line)); // "even" chunk size in bytes line 267 libavformat/rpl.c error |= read_line(pb, line, sizeof(line)); // "odd" chunk size in bytes line 270 libavformat/rpl.c error |= read_line(pb, line, sizeof(line)); // offset to "helpful" sprite line 271 libavformat/rpl.c error |= read_line(pb, line, sizeof(line)); // size of "helpful" sprite line 273 libavformat/rpl.c error |= read_line(pb, line, sizeof(line)); // offset to key frame list line 282 libavformat/rpl.c error |= read_line(pb, line, sizeof(line)); line 283 libavformat/rpl.c if (3 != sscanf(line, "%"SCNd64" , %"SCNd64" ; %"SCNd64, line 129 libavformat/rtpdec.h PayloadContext *priv_data, const char *line); line 160 libavformat/rtpdec_amr.c PayloadContext *data, const char *line) line 173 libavformat/rtpdec_amr.c if (av_strstart(line, "fmtp:", &p)) { line 154 libavformat/rtpdec_asf.c PayloadContext *asf, const char *line) line 158 libavformat/rtpdec_asf.c if (av_strstart(line, "stream:", &line)) { line 161 libavformat/rtpdec_asf.c s->streams[stream_index]->id = strtol(line, NULL, 10); line 73 libavformat/rtpdec_dv.c PayloadContext *dv_data, const char *line) line 76 libavformat/rtpdec_dv.c const char *sdp_line_ptr = line; line 390 libavformat/rtpdec_h264.c PayloadContext *h264_data, const char *line) line 393 libavformat/rtpdec_h264.c const char *p = line; line 132 libavformat/rtpdec_hevc.c PayloadContext *hevc_data, const char *line) line 136 libavformat/rtpdec_hevc.c const char *sdp_line_ptr = line; line 48 libavformat/rtpdec_ilbc.c PayloadContext *data, const char *line) line 57 libavformat/rtpdec_ilbc.c if (av_strstart(line, "fmtp:", &p)) { line 151 libavformat/rtpdec_latm.c PayloadContext *data, const char *line) line 158 libavformat/rtpdec_latm.c if (av_strstart(line, "fmtp:", &p)) line 336 libavformat/rtpdec_mpeg4.c PayloadContext *data, const char *line) line 343 libavformat/rtpdec_mpeg4.c if (av_strstart(line, "fmtp:", &p)) line 93 libavformat/rtpdec_rfc4175.c PayloadContext *data, const char *line) line 100 libavformat/rtpdec_rfc4175.c if (av_strstart(line, "fmtp:", &p)) { line 144 libavformat/rtpdec_rfc4175.c int length, line, offset, cont; line 197 libavformat/rtpdec_rfc4175.c line = ((headers[2] & 0x7f) << 8) | headers[3]; line 209 libavformat/rtpdec_rfc4175.c copy_offset = (line * data->width + offset) * data->pgroup / data->xinc; line 354 libavformat/rtpdec_xiph.c PayloadContext *data, const char *line) line 361 libavformat/rtpdec_xiph.c if (av_strstart(line, "fmtp:", &p)) { line 377 libavformat/rtsp.c int payload_type, const char *line) line 387 libavformat/rtsp.c rtsp_st->dynamic_protocol_context, line); line 360 libavformat/rtspdec.c static inline int parse_command_line(AVFormatContext *s, const char *line, line 367 libavformat/rtspdec.c linept = strchr(line, ' '); line 374 libavformat/rtspdec.c if (linept - line > methodsize - 1) { line 378 libavformat/rtspdec.c memcpy(method, line, linept - line); line 379 libavformat/rtspdec.c method[linept - line] = '\0'; line 399 libavformat/rtspdec.c line); line 406 libavformat/rtspdec.c line); line 413 libavformat/rtspdec.c " %s\n", line); line 66 libavformat/sccdec.c char line[4096], line2[4096]; line 91 libavformat/sccdec.c len = ff_subtitles_read_line(&tr, line, sizeof(line)); line 97 libavformat/sccdec.c if (!strncmp(line, "Scenarist_SCC V1.0", 18)) line 99 libavformat/sccdec.c if (av_sscanf(line, "%d:%d:%d%*[:;]%d", &hh1, &mm1, &ss1, &fs1) != 4) line 117 libavformat/sccdec.c lline = (char *)&line; line 144 libavformat/sccdec.c memmove(line, line2, sizeof(line)); line 149 libavformat/sccdec.c if (line[0]) { line 72 libavformat/srtdec.c static int get_event_info(const char *line, struct event_info *ei) line 80 libavformat/srtdec.c if (sscanf(line, "%d:%d:%d%*1[,.]%d --> %d:%d:%d%*1[,.]%d" line 132 libavformat/srtdec.c char line[4096], line_cache[4096]; line 151 libavformat/srtdec.c ptrdiff_t len = ff_subtitles_read_line(&tr, line, sizeof(line)); line 156 libavformat/srtdec.c if (!len || !line[0]) line 159 libavformat/srtdec.c if (get_event_info(line, &tmp_ei) < 0) { line 176 libavformat/srtdec.c if (strtol(line, &pline, 10) < 0 || line == pline) line 177 libavformat/srtdec.c av_bprintf(&buf, "%s\n", line); line 179 libavformat/srtdec.c strcpy(line_cache, line); line 84 libavformat/stldec.c char line[4096]; line 85 libavformat/stldec.c char *p = line; line 87 libavformat/stldec.c int len = ff_get_line(s->pb, line, sizeof(line)); line 94 libavformat/stldec.c line[strcspn(line, "\r\n")] = 0; line 57 libavformat/subviewer1dec.c char line[4096]; line 58 libavformat/subviewer1dec.c int len = ff_get_line(s->pb, line, sizeof(line)); line 64 libavformat/subviewer1dec.c if (!strncmp(line, "[DELAY]", 7)) { line 65 libavformat/subviewer1dec.c ff_get_line(s->pb, line, sizeof(line)); line 66 libavformat/subviewer1dec.c sscanf(line, "%d", &delay); line 69 libavformat/subviewer1dec.c if (sscanf(line, "[%d:%d:%d]", &hh, &mm, &ss) == 3) { line 73 libavformat/subviewer1dec.c len = ff_get_line(s->pb, line, sizeof(line)); line 74 libavformat/subviewer1dec.c line[strcspn(line, "\r\n")] = 0; line 75 libavformat/subviewer1dec.c if (!*line) { line 79 libavformat/subviewer1dec.c sub = ff_subtitles_queue_insert(&subviewer1->q, line, len, 0); line 104 libavformat/subviewerdec.c char line[2048]; line 106 libavformat/subviewerdec.c int len = ff_get_line(s->pb, line, sizeof(line)); line 111 libavformat/subviewerdec.c line[strcspn(line, "\r\n")] = 0; line 113 libavformat/subviewerdec.c if (line[0] == '[' && strncmp(line, "[br]", 4)) { line 116 libavformat/subviewerdec.c if (strstr(line, "[COLF]") || strstr(line, "[SIZE]") || line 117 libavformat/subviewerdec.c strstr(line, "[FONT]") || strstr(line, "[STYLE]")) line 121 libavformat/subviewerdec.c av_bprintf(&header, "%s\n", line); line 122 libavformat/subviewerdec.c if (!strncmp(line, "[END INFORMATION]", 17) || !strncmp(line, "[SUBTITLE]", 10)) { line 127 libavformat/subviewerdec.c } else if (strncmp(line, "[INFORMATION]", 13)) { line 132 libavformat/subviewerdec.c for (i = 1; i < sizeof(key) - 1 && line[i] && line[i] != ']'; i++) line 133 libavformat/subviewerdec.c key[i - 1] = av_tolower(line[i]); line 136 libavformat/subviewerdec.c if (line[i] == ']') line 138 libavformat/subviewerdec.c while (line[i] == ' ') line 140 libavformat/subviewerdec.c while (j < sizeof(value) - 1 && line[i] && line[i] != ']') line 141 libavformat/subviewerdec.c value[j++] = line[i++]; line 147 libavformat/subviewerdec.c } else if (read_ts(line, &pts_start, &duration) >= 0) { line 150 libavformat/subviewerdec.c } else if (*line) { line 158 libavformat/subviewerdec.c sub = ff_subtitles_queue_insert(&subviewer->q, line, strlen(line), !new_event); line 164 libavformat/tests/movenc.c static void check_func(int value, int line, const char *msg, ...) line 169 libavformat/tests/movenc.c printf("%d: ", line); line 54 libavformat/tls_openssl.c static void openssl_lock(int mode, int type, const char *file, int line) line 125 libavformat/vivo.c unsigned char *line, *line_end, *key, *value; line 155 libavformat/vivo.c line = vivo->text; line 156 libavformat/vivo.c while (*line) { line 157 libavformat/vivo.c line_end = strstr(line, "\r\n"); line 162 libavformat/vivo.c key = line; line 163 libavformat/vivo.c line = line_end + 2; // skip \r\n line 45 libavformat/vplayerdec.c static int64_t read_ts(char **line) line 50 libavformat/vplayerdec.c if (((n = sscanf(*line, "%d:%d:%d.%d%c%n", &hh, &mm, &ss, &ms, &c, &len)) >= 5 || line 51 libavformat/vplayerdec.c (n = sscanf(*line, "%d:%d:%d%c%n", &hh, &mm, &ss, &c, &len)) >= 4) && strchr(": =", c)) { line 52 libavformat/vplayerdec.c *line += len; line 70 libavformat/vplayerdec.c char line[4096]; line 71 libavformat/vplayerdec.c char *p = line; line 73 libavformat/vplayerdec.c int len = ff_get_line(s->pb, line, sizeof(line)); line 79 libavformat/vplayerdec.c line[strcspn(line, "\r\n")] = 0; line 127 libavutil/log.c uint16_t line[LINE_SZ]; line 130 libavutil/log.c uint16_t *buf = line; line 143 libavutil/log.c WriteConsoleW(con, line, nb_chars, &written, NULL); line 245 libavutil/log.c static void sanitize(uint8_t *line){ line 246 libavutil/log.c while(*line){ line 247 libavutil/log.c if(*line < 0x08 || (*line > 0x0D && *line < 0x20)) line 248 libavutil/log.c *line='?'; line 249 libavutil/log.c line++; line 329 libavutil/log.c char *line, int line_size, int *print_prefix) line 331 libavutil/log.c av_log_format_line2(ptr, level, fmt, vl, line, line_size, print_prefix); line 335 libavutil/log.c char *line, int line_size, int *print_prefix) line 341 libavutil/log.c ret = snprintf(line, line_size, "%s%s%s%s", part[0].str, part[1].str, part[2].str, part[3].str); line 352 libavutil/log.c char line[LINE_SZ]; line 367 libavutil/log.c snprintf(line, sizeof(line), "%s%s%s%s", part[0].str, part[1].str, part[2].str, part[3].str); line 374 libavutil/log.c if (print_prefix && (flags & AV_LOG_SKIP_REPEATED) && !strcmp(line, prev) && line 375 libavutil/log.c *line && line[strlen(line) - 1] != '\r'){ line 385 libavutil/log.c strcpy(prev, line); line 339 libavutil/log.h char *line, int line_size, int *print_prefix); line 356 libavutil/log.h char *line, int line_size, int *print_prefix); line 38 libswscale/gamma.c uint8_t ** src = desc->src->plane[0].line; line 47 libswscale/hscale.c uint8_t ** src = desc->src->plane[0].line; line 48 libswscale/hscale.c uint8_t ** dst = desc->dst->plane[0].line; line 66 libswscale/hscale.c src = desc->src->plane[3].line; line 67 libswscale/hscale.c dst = desc->dst->plane[3].line; line 101 libswscale/hscale.c const uint8_t * src[4] = { desc->src->plane[0].line[sp0], line 102 libswscale/hscale.c desc->src->plane[1].line[sp1], line 103 libswscale/hscale.c desc->src->plane[2].line[sp1], line 104 libswscale/hscale.c desc->src->plane[3].line[sp0]}; line 105 libswscale/hscale.c uint8_t * dst = desc->dst->plane[0].line[i]; line 115 libswscale/hscale.c dst = desc->dst->plane[3].line[i]; line 173 libswscale/hscale.c uint8_t ** src1 = desc->src->plane[1].line; line 174 libswscale/hscale.c uint8_t ** dst1 = desc->dst->plane[1].line; line 175 libswscale/hscale.c uint8_t ** src2 = desc->src->plane[2].line; line 176 libswscale/hscale.c uint8_t ** dst2 = desc->dst->plane[2].line; line 219 libswscale/hscale.c const uint8_t * src[4] = { desc->src->plane[0].line[sp0+i], line 220 libswscale/hscale.c desc->src->plane[1].line[sp1+i], line 221 libswscale/hscale.c desc->src->plane[2].line[sp1+i], line 222 libswscale/hscale.c desc->src->plane[3].line[sp0+i]}; line 224 libswscale/hscale.c uint8_t * dst1 = desc->dst->plane[1].line[i]; line 225 libswscale/hscale.c uint8_t * dst2 = desc->dst->plane[2].line[i]; line 30 libswscale/slice.c av_freep(&s->plane[i].line[j]); line 32 libswscale/slice.c s->plane[i].line[j+n] = NULL; line 37 libswscale/slice.c memset(s->plane[i].line, 0, sizeof(uint8_t*) * s->plane[i].available_lines * (s->is_ring ? 3 : 1)); line 62 libswscale/slice.c s->plane[i].line[j] = av_malloc(size * 2 + 32); line 63 libswscale/slice.c if (!s->plane[i].line[j]) { line 67 libswscale/slice.c s->plane[ii].line[j] = s->plane[i].line[j] + size + 16; line 69 libswscale/slice.c s->plane[i].line[j+n] = s->plane[i].line[j]; line 70 libswscale/slice.c s->plane[ii].line[j+n] = s->plane[ii].line[j]; line 94 libswscale/slice.c s->plane[i].line = av_mallocz_array(sizeof(uint8_t*), n); line 95 libswscale/slice.c if (!s->plane[i].line) line 98 libswscale/slice.c s->plane[i].tmp = ring ? s->plane[i].line + size[i] * 2 : NULL; line 113 libswscale/slice.c av_freep(&s->plane[i].line); line 178 libswscale/slice.c s->plane[i].line[start[i] - first + j] = src_[i] + j * stride[i]; line 184 libswscale/slice.c s->plane[i].line[j] = src_[i] + j * stride[i]; line 202 libswscale/slice.c ((int32_t*)(s->plane[i].line[j]))[k] = 1<<18; line 206 libswscale/slice.c ((int64_t*)(s->plane[i].line[j]))[k] = 1LL<<34; line 210 libswscale/slice.c ((int16_t*)(s->plane[i].line[j]))[k] = 1<<14; line 967 libswscale/swscale_internal.h uint8_t **line; ///< line buffer line 48 libswscale/vscale.c uint8_t **src = desc->src->plane[0].line + sp; line 49 libswscale/vscale.c uint8_t **dst = desc->dst->plane[0].line + dp; line 60 libswscale/vscale.c uint8_t **src = desc->src->plane[3].line + sp; line 61 libswscale/vscale.c uint8_t **dst = desc->dst->plane[3].line + dp; line 88 libswscale/vscale.c uint8_t **src1 = desc->src->plane[1].line + sp1; line 89 libswscale/vscale.c uint8_t **src2 = desc->src->plane[2].line + sp2; line 90 libswscale/vscale.c uint8_t **dst1 = desc->dst->plane[1].line + dp1; line 91 libswscale/vscale.c uint8_t **dst2 = desc->dst->plane[2].line + dp2; line 127 libswscale/vscale.c uint8_t **src0 = desc->src->plane[0].line + sp0; line 128 libswscale/vscale.c uint8_t **src1 = desc->src->plane[1].line + sp1; line 129 libswscale/vscale.c uint8_t **src2 = desc->src->plane[2].line + sp2; line 130 libswscale/vscale.c uint8_t **src3 = desc->alpha ? desc->src->plane[3].line + sp3 : NULL; line 131 libswscale/vscale.c uint8_t **dst = desc->dst->plane[0].line + dp; line 195 libswscale/vscale.c uint8_t **src0 = desc->src->plane[0].line + sp0; line 196 libswscale/vscale.c uint8_t **src1 = desc->src->plane[1].line + sp1; line 197 libswscale/vscale.c uint8_t **src2 = desc->src->plane[2].line + sp2; line 198 libswscale/vscale.c uint8_t **src3 = desc->alpha ? desc->src->plane[3].line + sp3 : NULL; line 199 libswscale/vscale.c uint8_t *dst[4] = { desc->dst->plane[0].line[dp0], line 200 libswscale/vscale.c desc->dst->plane[1].line[dp1], line 201 libswscale/vscale.c desc->dst->plane[2].line[dp2], line 202 libswscale/vscale.c desc->alpha ? desc->dst->plane[3].line[dp3] : NULL }; line 112 libswscale/x86/swscale.c const int16_t **lumSrcPtr = (const int16_t **)(void*) lumPlane->line + firstLumSrcY - lumPlane->sliceY; line 113 libswscale/x86/swscale.c const int16_t **chrUSrcPtr = (const int16_t **)(void*) chrUPlane->line + firstChrSrcY - chrUPlane->sliceY; line 114 libswscale/x86/swscale.c const int16_t **alpSrcPtr = (CONFIG_SWSCALE_ALPHA && hasAlpha) ? (const int16_t **)(void*) alpPlane->line + firstLumSrcY - alpPlane->sliceY : NULL; line 845 tests/checkasm/checkasm.c int checkasm_check_##type(const char *const file, const int line, \ line 858 tests/checkasm/checkasm.c checkasm_fail_func("%s:%d", file, line); \ line 267 tests/checkasm/checkasm.h int checkasm_check_##type(const char *const file, const int line, \ line 123 tests/rotozoom.c char line[3 * W]; line 133 tests/rotozoom.c if (fread(line, 1, 15, input_file) != 15) line 136 tests/rotozoom.c if (fread(line, 1, 3 * W, input_file) != 3 * W) line 139 tests/rotozoom.c tab_r[W * i + j] = line[3 * j ]; line 140 tests/rotozoom.c tab_g[W * i + j] = line[3 * j + 1]; line 141 tests/rotozoom.c tab_b[W * i + j] = line[3 * j + 2]; line 50 tools/graph2dot.c struct line *next; line 158 tools/graph2dot.c struct line *line, *last_line, *first_line; line 160 tools/graph2dot.c last_line = first_line = av_malloc(sizeof(struct line)); line 167 tools/graph2dot.c struct line *new_line = av_malloc(sizeof(struct line)); line 184 tools/graph2dot.c for (line = first_line; line->next; line = line->next) { line 185 tools/graph2dot.c size_t l = strlen(line->data); line 186 tools/graph2dot.c memcpy(p, line->data, l);