Home
last modified time | relevance | path

Searched refs:slice_y (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dffv1dec.c174 fs->slice_y = get_symbol(c, state, 0) * f->height; in decode_slice_header()
176 fs->slice_height = (get_symbol(c, state, 0) + 1) * f->height + fs->slice_y; in decode_slice_header()
179 fs->slice_y /= f->num_v_slices; in decode_slice_header()
181 fs->slice_height = fs->slice_height/f->num_v_slices - fs->slice_y; in decode_slice_header()
185 || (unsigned)fs->slice_y + (uint64_t)fs->slice_height > f->height) in decode_slice_header()
294 fs->slice_x = fs->slice_y = fs->slice_height = fs->slice_width = 0; in decode_slice()
307 y = fs->slice_y; in decode_slice()
768 fs->slice_y = get_symbol(c, state, 0) * f->height; in read_header()
770 fs->slice_height = (get_symbol(c, state, 0) + 1) * f->height + fs->slice_y; in read_header()
773 fs->slice_y /= f->num_v_slices; in read_header()
[all …]
Dvc2enc.c645 int i, j, slice_x, slice_y, bytes_left = 0; in calc_slice_sizes() local
654 for (slice_y = 0; slice_y < s->num_y; slice_y++) { in calc_slice_sizes()
656 SliceArgs *args = &enc_args[s->num_x*slice_y + slice_x]; in calc_slice_sizes()
659 args->y = slice_y; in calc_slice_sizes()
727 const int slice_y = slice_dat->y; in encode_hq_slice() local
751 encode_subband(s, pb, slice_x, slice_y, in encode_hq_slice()
780 int slice_x, slice_y, skip = 0; in encode_slices() local
786 for (slice_y = 0; slice_y < s->num_y; slice_y++) { in encode_slices()
788 SliceArgs *args = &enc_args[s->num_x*slice_y + slice_x]; in encode_slices()
Ddiracdec.c131 int slice_y; member
724 int slice_x, int slice_y, int bits_end, in decode_subband() argument
729 int top = b1->height * slice_y / s->num_y; in decode_subband()
730 int bottom = b1->height *(slice_y+1) / s->num_y; in decode_subband()
792 decode_subband(s, gb, quant, slice->slice_x, slice->slice_y, luma_end, in decode_lowdelay_slice()
805 decode_subband(s, gb, quant, slice->slice_x, slice->slice_y, chroma_end, in decode_lowdelay_slice()
878 coef_num = subband_coeffs(s, slice->slice_x, slice->slice_y, i, coeffs_num); in decode_hq_slice()
934 int slice_x, slice_y, bufsize; in decode_lowdelay() local
976 for (slice_y = 0; bufsize > 0 && slice_y < s->num_y; slice_y++) { in decode_lowdelay()
990 slices[slice_num].slice_y = slice_y; in decode_lowdelay()
[all …]
Dffv1.h135 int slice_y; member
Dffv1.c141 fs->slice_y = sys; in ff_ffv1_init_slice_contexts()
Dffv1enc.c378 (fs->slice_y + 1) * f->num_v_slices / f->height, 0); in write_header()
935 put_symbol(c, state, (fs->slice_y +1)*f->num_v_slices / f->height , 0); in encode_slice_header()
1049 int y = fs->slice_y; in encode_slice()
/third_party/ffmpeg/libavfilter/
Dvf_scale.c125 int slice_y; ///< top of current output slice member