/third_party/ffmpeg/libavcodec/ |
D | magicyuv.c | 57 int slice_height; member 128 …int height = AV_CEIL_RSHIFT(FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height), s->… in magy_decode_slice10() 130 int sheight = AV_CEIL_RSHIFT(s->slice_height, s->vshift[i]); in magy_decode_slice10() 226 int height = FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height); in magy_decode_slice10() 228 uint16_t *r = (uint16_t *)p->data[0] + j * s->slice_height * p->linesize[0] / 2; in magy_decode_slice10() 229 uint16_t *g = (uint16_t *)p->data[1] + j * s->slice_height * p->linesize[1] / 2; in magy_decode_slice10() 230 uint16_t *b = (uint16_t *)p->data[2] + j * s->slice_height * p->linesize[2] / 2; in magy_decode_slice10() 258 …int height = AV_CEIL_RSHIFT(FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height), s->… in magy_decode_slice() 260 int sheight = AV_CEIL_RSHIFT(s->slice_height, s->vshift[i]); in magy_decode_slice() 359 int height = FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height); in magy_decode_slice() [all …]
|
D | utvideodec.c | 363 int slice_start, slice_height; in restore_median_planar() local 368 slice_height = ((((slice + 1) * height) / slices) & cmask) - in restore_median_planar() 371 if (!slice_height) in restore_median_planar() 379 if (slice_height <= 1) in restore_median_planar() 397 for (j = 2; j < slice_height; j++) { in restore_median_planar() 415 int slice_start, slice_height; in restore_median_planar_il() local 421 slice_height = ((((slice + 1) * height) / slices) & cmask) - in restore_median_planar_il() 423 slice_height >>= 1; in restore_median_planar_il() 424 if (!slice_height) in restore_median_planar_il() 434 if (slice_height <= 1) in restore_median_planar_il() [all …]
|
D | mediacodec_sw_buffer.c | 100 src += s->slice_height * s->stride; in ff_mediacodec_sw_buffer_copy_yuv420_planar() 103 src += ((s->slice_height + 1) / 2) * stride; in ff_mediacodec_sw_buffer_copy_yuv420_planar() 153 src += s->slice_height * s->stride; in ff_mediacodec_sw_buffer_copy_yuv420_semi_planar() 200 src += (s->slice_height - s->crop_top / 2) * s->stride; in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar()
|
D | ffv1dec.c | 176 fs->slice_height = (get_symbol(c, state, 0) + 1) * f->height + fs->slice_y; in decode_slice_header() 181 fs->slice_height = fs->slice_height/f->num_v_slices - fs->slice_y; in decode_slice_header() 182 if ((unsigned)fs->slice_width > f->width || (unsigned)fs->slice_height > f->height) 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() 305 height = fs->slice_height; in decode_slice() 770 fs->slice_height = (get_symbol(c, state, 0) + 1) * f->height + fs->slice_y; in read_header() 775 fs->slice_height = fs->slice_height / f->num_v_slices - fs->slice_y; in read_header() 777 (unsigned)fs->slice_height > f->height) in read_header() 780 || (unsigned)fs->slice_y + (uint64_t)fs->slice_height > f->height) in read_header() [all …]
|
D | mediacodecdec_common.c | 400 avctx->width, s->stride, avctx->height, s->slice_height, in mediacodec_wrap_sw_buffer() 477 AMEDIAFORMAT_GET_INT32(s->slice_height, "slice-height", 0); in mediacodec_dec_parse_format() 479 if (strstr(s->codec_name, "OMX.Nvidia.") && s->slice_height == 0) { in mediacodec_dec_parse_format() 480 s->slice_height = FFALIGN(s->height, 16); in mediacodec_dec_parse_format() 482 s->slice_height = avctx->height; in mediacodec_dec_parse_format() 484 } else if (s->slice_height == 0) { in mediacodec_dec_parse_format() 485 s->slice_height = s->height; in mediacodec_dec_parse_format()
|
D | msmpeg4enc.c | 240 s->slice_height= s->mb_height/1; in ff_msmpeg4_encode_picture_header() 241 put_bits(&s->pb, 5, 0x16 + s->mb_height/s->slice_height); in ff_msmpeg4_encode_picture_header() 325 if (s->slice_height && (s->mb_y % s->slice_height) == 0) { in ff_msmpeg4_handle_slices()
|
D | mediacodecdec_common.h | 58 int slice_height; member
|
D | vc2enc.c | 173 int slice_height; member 1075 (s->slice_height & (s->slice_height - 1))) { in vc2_encode_init() 1081 (s->slice_height > avctx->height)) { in vc2_encode_init() 1156 s->slice_width, s->slice_height)) in vc2_encode_init() 1162 s->num_y = s->plane[0].dwt_height/s->slice_height; in vc2_encode_init() 1197 …{"slice_height", "Slice height", offsetof(VC2EncContext, slice_height), AV_OPT_TYPE_INT, {.i64 = …
|
D | huffyuvdec.c | 1200 int slice_height; in decode_frame() local 1231 slice_height = AV_RL32(avpkt->data + buf_size - 8); in decode_frame() 1235 slice_height <= 0 || nb_slices * (uint64_t)slice_height > height) in decode_frame() 1238 slice_height = height; in decode_frame() 1253 y_offset = height - (slice + 1) * slice_height; in decode_frame() 1262 ret = decode_slice(avctx, p, slice_height, slice_size, y_offset, table_size); in decode_frame()
|
D | msmpeg4dec.c | 399 s->slice_height= s->mb_height; //to avoid 1/0 if the first frame is not a keyframe in ff_msmpeg4_decode_init() 446 s->slice_height = code; in ff_msmpeg4_decode_picture_header() 454 s->slice_height = s->mb_height / (code - 0x16); in ff_msmpeg4_decode_picture_header() 494 s->slice_height); in ff_msmpeg4_decode_picture_header()
|
D | ffv1.h | 133 int slice_height; member
|
D | h263dec.c | 237 if (s->resync_mb_y + s->slice_height == s->mb_y) { in decode_slice() 648 if (s->slice_height == 0 || s->mb_x != 0 || slice_ret < 0 || in ff_h263_decode_frame() 649 (s->mb_y % s->slice_height) != 0 || get_bits_left(&s->gb) < 0) in ff_h263_decode_frame()
|
D | wmv2enc.c | 50 s->slice_height = s->mb_height / code; in encode_ext_header()
|
D | ffv1.c | 139 fs->slice_height = sye - sys; in ff_ffv1_init_slice_contexts()
|
D | ffv1enc.c | 383 (fs->slice_height + 1) * f->num_v_slices / f->height - 1, in write_header() 937 put_symbol(c, state, (fs->slice_height+1)*f->num_v_slices / f->height-1, 0); in encode_slice_header() 1047 int height = fs->slice_height; in encode_slice()
|
D | wmv2dec.c | 123 s->slice_height = s->mb_height / code; in decode_ext_header()
|
D | magicyuvenc.c | 59 int slice_height; member
|
D | mpegvideo.h | 437 int slice_height; ///< in macroblocks member
|
D | vp3.c | 2093 int slice_height = sb_y + 1 + (!plane && s->chroma_y_shift); in render_slice() local 2110 for (; sb_y < slice_height; sb_y++) { in render_slice()
|
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/ |
D | gstamc.c | 676 gint width, gint height, gint stride, gint slice_height, gint crop_left, in gst_amc_color_format_info_set() argument 696 slice_height = height; in gst_amc_color_format_info_set() 699 if (slice_height == 0) { in gst_amc_color_format_info_set() 702 slice_height = GST_ROUND_UP_16 (height); in gst_amc_color_format_info_set() 714 if (stride == 0 || slice_height == 0) { in gst_amc_color_format_info_set() 720 stride * slice_height + 2 * ((stride + 1) / 2) * ((slice_height + in gst_amc_color_format_info_set() 730 if (slice_height <= 0) in gst_amc_color_format_info_set() 731 slice_height = height; in gst_amc_color_format_info_set() 734 stride * (slice_height - crop_top / 2) + in gst_amc_color_format_info_set() 735 (GST_ROUND_UP_2 (stride) * ((slice_height + 1) / 2)); in gst_amc_color_format_info_set() [all …]
|
D | gstamc.h | 61 gint width, height, stride, slice_height; member 69 gint color_format, gint width, gint height, gint stride, gint slice_height,
|
D | gstamcvideoenc.c | 168 gint stride, slice_height; in create_amc_format() local 265 slice_height = info->height; in create_amc_format() 266 gst_amc_format_set_int (format, "slice-height", slice_height, &err); in create_amc_format() 314 stride, slice_height, 0, 0, 0, 0)) in create_amc_format() 323 encoder->color_format_info.slice_height, in create_amc_format()
|
D | gstamcvideodec.c | 744 gint stride, slice_height; in gst_amc_video_dec_set_src_caps() local 831 !gst_amc_format_get_int (format, "slice-height", &slice_height, &err)) { in gst_amc_video_dec_set_src_caps() 843 slice_height, crop_left, crop_right, crop_top, crop_bottom)) { in gst_amc_video_dec_set_src_caps() 855 self->color_format_info.slice_height, self->color_format_info.crop_left, in gst_amc_video_dec_set_src_caps()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_nnedi.c | 571 const int slice_height = (slice_end - slice_start) / 2; in filter_slice() local 620 width, slice_height - last_slice, in_scale); in filter_slice() 622 y_out += (slice_height - last_slice) * 2; in filter_slice() 625 srcbuf + 32 + srcbuf_stride * (slice_height - last_slice), in filter_slice() 630 srcbuf + 32 + srcbuf_stride * (slice_height + 1 - last_slice), in filter_slice() 635 srcbuf + 32 + srcbuf_stride * (slice_height + 2 - last_slice), in filter_slice() 660 width, slice_height, depth, out_scale); in filter_slice()
|
/third_party/ffmpeg/doc/ |
D | encoders.texi | 3444 @item slice_height 3447 32 and @option{slice_height} of 8.
|