/third_party/ffmpeg/libavcodec/ |
D | magicyuv.c | 65 int hshift[4]; member 129 int width = AV_CEIL_RSHIFT(avctx->coded_width, s->hshift[i]); in magy_decode_slice10() 259 int width = AV_CEIL_RSHIFT(avctx->coded_width, s->hshift[i]); in magy_decode_slice() 461 s->hshift[1] = in magy_decode_frame() 463 s->hshift[2] = in magy_decode_frame() 483 s->hshift[1] = in magy_decode_frame() 484 s->hshift[2] = 1; in magy_decode_frame() 488 s->hshift[1] = in magy_decode_frame() 490 s->hshift[2] = in magy_decode_frame() 501 s->hshift[1] = in magy_decode_frame() [all …]
|
D | hevcpred_template.c | 38 MVF(PU(x0 + ((x) * (1 << hshift))), PU(y0 + ((y) * (1 << vshift)))) in FUNC() 75 int hshift = s->ps.sps->hshift[c_idx]; in FUNC() local 78 int size_in_luma_h = size << hshift; in FUNC() 82 int x = x0 >> hshift; in FUNC() 116 (x0 + size_in_luma_h)) >> hshift; in FUNC() 189 int size_max_x = x0 + ((2 * size) << hshift) < s->ps.sps->width ? in FUNC() 190 2 * size : (s->ps.sps->width - x0) >> hshift; in FUNC() 195 size_max_x = x0 + ((size) << hshift) < s->ps.sps->width ? in FUNC() 196 size : (s->ps.sps->width - x0) >> hshift; in FUNC()
|
D | magicyuvenc.c | 62 int hshift[4]; member 165 s->hshift[1] = in magy_encode_init() 167 s->hshift[2] = in magy_encode_init() 173 s->hshift[1] = in magy_encode_init() 174 s->hshift[2] = 1; in magy_encode_init() 488 AV_CEIL_RSHIFT(frame->width, s->hshift[i]), in magy_encode_frame() 498 AV_CEIL_RSHIFT(frame->width, s->hshift[i]), in magy_encode_frame() 511 AV_CEIL_RSHIFT(frame->width, s->hshift[i]), in magy_encode_frame()
|
D | hevc_filter.c | 196 int w = s->ps.sps->width >> s->ps.sps->hshift[c_idx]; in copy_CTB_to_hv() 220 int hshift = s->ps.sps->hshift[c_idx]; in restore_tqb_pixels() local 226 int len = (min_pu_size >> hshift) << s->ps.sps->pixel_shift; in restore_tqb_pixels() 231 …>> vshift) * stride_src + ((((x << s->ps.sps->log2_min_pu_size) - x0) >> hshift) << s->ps.sps->pix… in restore_tqb_pixels() 232 …>> vshift) * stride_dst + ((((x << s->ps.sps->log2_min_pu_size) - x0) >> hshift) << s->ps.sps->pix… in restore_tqb_pixels() 307 int x0 = x >> s->ps.sps->hshift[c_idx]; in sao_filter_CTB() 310 int ctb_size_h = (1 << (s->ps.sps->log2_ctb_size)) >> s->ps.sps->hshift[c_idx]; in sao_filter_CTB() 312 int width = FFMIN(ctb_size_h, (s->ps.sps->width >> s->ps.sps->hshift[c_idx]) - x0); in sao_filter_CTB() 342 int w = s->ps.sps->width >> s->ps.sps->hshift[c_idx]; in sao_filter_CTB() 582 int h = 1 << s->ps.sps->hshift[chroma]; in deblocking_filter_CTB() [all …]
|
D | hevcdec.c | 510 int w = sps->width >> sps->hshift[c_idx]; in set_sps() 1085 const int log2_trafo_size_c = log2_trafo_size - s->ps.sps->hshift[1]; in hls_transform_unit() 1166 int trafo_size_h = 1 << (log2_trafo_size_c + s->ps.sps->hshift[1]); in hls_transform_unit() 1186 int hshift = s->ps.sps->hshift[1]; in hls_transform_unit() local 1193 … ((x0 >> hshift) << s->ps.sps->pixel_shift)]; in hls_transform_unit() 1215 int hshift = s->ps.sps->hshift[2]; in hls_transform_unit() local 1222 … ((x0 >> hshift) << s->ps.sps->pixel_shift)]; in hls_transform_unit() 1255 int trafo_size_h = 1 << (log2_trafo_size_c + s->ps.sps->hshift[1]); in hls_transform_unit() 1432 …ame->data[1][(y0 >> s->ps.sps->vshift[1]) * stride1 + ((x0 >> s->ps.sps->hshift[1]) << s->ps.sps->… in hls_pcm_sample() 1433 …ame->data[2][(y0 >> s->ps.sps->vshift[2]) * stride2 + ((x0 >> s->ps.sps->hshift[2]) << s->ps.sps->… in hls_pcm_sample() [all …]
|
D | wmv2.h | 53 int hshift; member
|
D | wmv2dec.c | 288 w->hshift = get_bits1(&s->gb); in wmv2_decode_motion() 290 w->hshift = 0; in wmv2_decode_motion() 398 w->hshift = 0; in ff_wmv2_decode_mb()
|
D | hevc_ps.h | 240 int hshift[3]; member
|
D | wmv2.c | 112 dxy = 2 * dxy + w->hshift; in ff_mspel_motion()
|
D | hevc_cabac.c | 1055 int hshift = s->ps.sps->hshift[c_idx]; in ff_hevc_hls_residual_coding() local 1058 ((x0 >> hshift) << s->ps.sps->pixel_shift)]; in ff_hevc_hls_residual_coding()
|
D | mjpegdec.c | 2396 int hshift, vshift; in ff_mjpeg_receive_frame() local 2660 ret = av_pix_fmt_get_chroma_sub_sample(s->avctx->pix_fmt, &hshift, &vshift); in ff_mjpeg_receive_frame() 2672 w = AV_CEIL_RSHIFT(w, hshift); in ff_mjpeg_receive_frame() 2722 ret = av_pix_fmt_get_chroma_sub_sample(s->avctx->pix_fmt, &hshift, &vshift); in ff_mjpeg_receive_frame() 2734 w = AV_CEIL_RSHIFT(w, hshift); in ff_mjpeg_receive_frame() 2753 ret = av_pix_fmt_get_chroma_sub_sample(s->avctx->pix_fmt, &hshift, &vshift); in ff_mjpeg_receive_frame() 2763 w = AV_CEIL_RSHIFT(w, hshift); in ff_mjpeg_receive_frame()
|
D | hevc_ps.c | 899 sps->hshift[0] = sps->vshift[0] = 0; in map_pixel_format() 900 sps->hshift[2] = sps->hshift[1] = desc->log2_chroma_w; in map_pixel_format()
|
D | snowenc.c | 1586 int hshift= i ? s->chroma_h_shift : 0; in encode_frame() local 1591 AV_CEIL_RSHIFT(width, hshift)); in encode_frame() 1593 AV_CEIL_RSHIFT(width, hshift), AV_CEIL_RSHIFT(height, vshift), in encode_frame() 1594 EDGE_WIDTH >> hshift, EDGE_WIDTH >> vshift, in encode_frame()
|
D | hevc_refs.c | 405 av_memcpy_backptr(dst + 2, 2, 2*(s->ps.sps->width >> s->ps.sps->hshift[i]) - 2); in generate_missing_ref()
|
D | mpegvideo_enc.c | 1722 int hshift = desc->log2_chroma_w; in frame_end() local 1731 s->h_edge_pos >> hshift, in frame_end() 1733 EDGE_WIDTH >> hshift, in frame_end() 1738 s->h_edge_pos >> hshift, in frame_end() 1740 EDGE_WIDTH >> hshift, in frame_end()
|
/third_party/ffmpeg/libavcodec/mips/ |
D | hevcpred_msa.c | 1911 int hshift = s->ps.sps->hshift[c_idx]; in ff_intra_pred_8_16x16_msa() local 1913 int size_in_luma_h = 16 << hshift; in ff_intra_pred_8_16x16_msa() 1917 int x = x0 >> hshift; in ff_intra_pred_8_16x16_msa() 1962 (x0 + size_in_luma_h)) >> hshift; in ff_intra_pred_8_16x16_msa() 2093 x0 + ((2 * 16) << hshift) < in ff_intra_pred_8_16x16_msa() 2094 s->ps.sps->width ? 2 * 16 : (s->ps.sps->width - x0) >> hshift; in ff_intra_pred_8_16x16_msa() 2100 size_max_x = x0 + ((16) << hshift) < s->ps.sps->width ? in ff_intra_pred_8_16x16_msa() 2101 16 : (s->ps.sps->width - x0) >> hshift; in ff_intra_pred_8_16x16_msa() 2111 ((-1) << hshift)) >> s->ps.sps-> in ff_intra_pred_8_16x16_msa() 2122 ((-1) << hshift)) >> s->ps.sps-> in ff_intra_pred_8_16x16_msa() [all …]
|