Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dvc2enc.c647 int i, j, slice_x, slice_y, bytes_left = 0; in calc_slice_sizes() local
656 for (slice_y = 0; slice_y < s->num_y; slice_y++) { in calc_slice_sizes()
658 SliceArgs *args = &enc_args[s->num_x*slice_y + slice_x]; in calc_slice_sizes()
661 args->y = slice_y; in calc_slice_sizes()
729 const int slice_y = slice_dat->y; in encode_hq_slice() local
753 encode_subband(s, pb, slice_x, slice_y, in encode_hq_slice()
782 int slice_x, slice_y, skip = 0; in encode_slices() local
788 for (slice_y = 0; slice_y < s->num_y; slice_y++) { in encode_slices()
790 SliceArgs *args = &enc_args[s->num_x*slice_y + slice_x]; in encode_slices()
Dffv1dec.c188 fs->slice_y = sy * (int64_t)f->height / f->num_v_slices; in decode_slice_header()
190 fs->slice_height = (sy + sh) * (int64_t)f->height / f->num_v_slices - fs->slice_y; in decode_slice_header()
195 && (unsigned)fs->slice_y + (uint64_t)fs->slice_height <= f->height); in decode_slice_header()
306 fs->slice_x = fs->slice_y = fs->slice_height = fs->slice_width = 0; in decode_slice()
322 y = fs->slice_y; in decode_slice()
798 fs->slice_y = sy * (int64_t)f->height / f->num_v_slices; in read_header()
800 fs->slice_height = (sy + sh) * (int64_t)f->height / f->num_v_slices - fs->slice_y; in read_header()
805 && (unsigned)fs->slice_y + (uint64_t)fs->slice_height <= f->height); in read_header()
990 (fs->slice_y >> sv) + ((fs->slice_x >> sh) << pixshift); in decode_frame()
992 (fs->slice_y >> sv) + ((fs->slice_x >> sh) << pixshift); in decode_frame()
[all …]
Ddiracdec.c132 int slice_y; member
725 int slice_x, int slice_y, int bits_end, in decode_subband() argument
730 int top = b1->height * slice_y / s->num_y; in decode_subband()
731 int bottom = b1->height *(slice_y+1) / s->num_y; in decode_subband()
793 decode_subband(s, gb, quant, slice->slice_x, slice->slice_y, luma_end, in decode_lowdelay_slice()
806 decode_subband(s, gb, quant, slice->slice_x, slice->slice_y, chroma_end, in decode_lowdelay_slice()
879 coef_num = subband_coeffs(s, slice->slice_x, slice->slice_y, i, coeffs_num); in decode_hq_slice()
935 int slice_x, slice_y, bufsize; in decode_lowdelay() local
977 for (slice_y = 0; bufsize > 0 && slice_y < s->num_y; slice_y++) { in decode_lowdelay()
991 slices[slice_num].slice_y = slice_y; in decode_lowdelay()
[all …]
Dffv1.h130 int slice_y; member
Dffv1.c136 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()
912 put_symbol(c, state, (fs->slice_y +1)*f->num_v_slices / f->height , 0); in encode_slice_header()
1026 int y = fs->slice_y; in encode_slice()
/third_party/ffmpeg/libavfilter/
Dvf_scale.c124 int slice_y; ///< top of current output slice member