/third_party/ffmpeg/libswscale/x86/ |
D | yuv2rgb_template.c | 34 vshift = c->srcFormat != AV_PIX_FMT_YUV422P; \ 39 const uint8_t *pu = src[1] + (y >> vshift) * srcStride[1]; \ 40 const uint8_t *pv = src[2] + (y >> vshift) * srcStride[2]; \ 75 int y, h_size, vshift; in RENAME() local 95 int y, h_size, vshift; 115 int y, h_size, vshift; 129 int y, h_size, vshift; 143 int y, h_size, vshift; 157 int y, h_size, vshift; 173 int y, h_size, vshift; [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | magicyuv.c | 66 int vshift[4]; member 128 … = AV_CEIL_RSHIFT(FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height), s->vshift[i]); in magy_decode_slice10() 130 int sheight = AV_CEIL_RSHIFT(s->slice_height, s->vshift[i]); in magy_decode_slice10() 258 … = AV_CEIL_RSHIFT(FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height), s->vshift[i]); in magy_decode_slice() 260 int sheight = AV_CEIL_RSHIFT(s->slice_height, s->vshift[i]); in magy_decode_slice() 462 s->vshift[1] = in magy_decode_frame() 464 s->vshift[2] = 0; in magy_decode_frame() 489 s->vshift[1] = in magy_decode_frame() 491 s->vshift[2] = 1; in magy_decode_frame() 536 s->vshift[1] = in magy_decode_frame() [all …]
|
D | hevcpred_template.c | 38 MVF(PU(x0 + ((x) * (1 << hshift))), PU(y0 + ((y) * (1 << vshift)))) in FUNC() 76 int vshift = s->ps.sps->vshift[c_idx]; in FUNC() local 80 int size_in_luma_v = size << vshift; in FUNC() 83 int y = y0 >> vshift; in FUNC() 114 (y0 + size_in_luma_v)) >> vshift; in FUNC() 191 int size_max_y = y0 + ((2 * size) << vshift) < s->ps.sps->height ? in FUNC() 192 2 * size : (s->ps.sps->height - y0) >> vshift; in FUNC() 199 size_max_y = y0 + (( size) << vshift) < s->ps.sps->height ? in FUNC() 200 size : (s->ps.sps->height - y0) >> vshift; in FUNC()
|
D | hevc_filter.c | 197 int h = s->ps.sps->height >> s->ps.sps->vshift[c_idx]; in copy_CTB_to_hv() 221 int vshift = s->ps.sps->vshift[c_idx]; in restore_tqb_pixels() local 231 …uint8_t *src = src1 + (((y << s->ps.sps->log2_min_pu_size) - y0) >> vshift) * stride_src + ((((x <… in restore_tqb_pixels() 232 …onst uint8_t *dst = dst1 + (((y << s->ps.sps->log2_min_pu_size) - y0) >> vshift) * stride_dst + ((… in restore_tqb_pixels() 233 for (n = 0; n < (min_pu_size >> vshift); n++) { in restore_tqb_pixels() 308 int y0 = y >> s->ps.sps->vshift[c_idx]; in sao_filter_CTB() 311 int ctb_size_v = (1 << (s->ps.sps->log2_ctb_size)) >> s->ps.sps->vshift[c_idx]; in sao_filter_CTB() 313 int height = FFMIN(ctb_size_v, (s->ps.sps->height >> s->ps.sps->vshift[c_idx]) - y0); in sao_filter_CTB() 343 int h = s->ps.sps->height >> s->ps.sps->vshift[c_idx]; in sao_filter_CTB() 583 int v = 1 << s->ps.sps->vshift[chroma]; in deblocking_filter_CTB() [all …]
|
D | hevcdec.c | 511 int h = sps->height >> sps->vshift[c_idx]; in set_sps() 1167 int trafo_size_v = 1 << (log2_trafo_size_c + s->ps.sps->vshift[1]); in hls_transform_unit() 1187 int vshift = s->ps.sps->vshift[1]; in hls_transform_unit() local 1192 uint8_t *dst = &s->frame->data[1][(y0 >> vshift) * stride + in hls_transform_unit() 1216 int vshift = s->ps.sps->vshift[2]; in hls_transform_unit() local 1221 uint8_t *dst = &s->frame->data[2][(y0 >> vshift) * stride + in hls_transform_unit() 1231 int trafo_size_v = 1 << (log2_trafo_size + s->ps.sps->vshift[1]); in hls_transform_unit() 1256 int trafo_size_v = 1 << (log2_trafo_size_c + s->ps.sps->vshift[1]); in hls_transform_unit() 1268 int trafo_size_v = 1 << (log2_trafo_size + s->ps.sps->vshift[1]); in hls_transform_unit() 1432 …uint8_t *dst1 = &s->frame->data[1][(y0 >> s->ps.sps->vshift[1]) * stride1 + ((x0 >> s->ps.sps->hsh… in hls_pcm_sample() [all …]
|
D | magicyuvenc.c | 63 int vshift[4]; member 166 s->vshift[1] = in magy_encode_init() 168 s->vshift[2] = 1; in magy_encode_init() 489 AV_CEIL_RSHIFT(frame->height, s->vshift[i])); in magy_encode_frame() 499 AV_CEIL_RSHIFT(frame->height, s->vshift[i]), in magy_encode_frame() 512 AV_CEIL_RSHIFT(frame->height, s->vshift[i]), in magy_encode_frame()
|
D | mpegutils.c | 57 int vshift = desc->log2_chroma_h; in ff_draw_horiz_band() local 91 offset[2]= (y >> vshift) * src->linesize[1]; in ff_draw_horiz_band()
|
D | hevc_ps.h | 241 int vshift[3]; member
|
D | hevc_cabac.c | 1056 int vshift = s->ps.sps->vshift[c_idx]; in ff_hevc_hls_residual_coding() local 1057 uint8_t *dst = &s->frame->data[c_idx][(y0 >> vshift) * stride + 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() 2673 h = AV_CEIL_RSHIFT(h, vshift); 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() 2735 h = AV_CEIL_RSHIFT(h, vshift); 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() 2764 h = AV_CEIL_RSHIFT(h, vshift); in ff_mjpeg_receive_frame()
|
D | h264dec.c | 109 int vshift = desc->log2_chroma_h; in ff_h264_draw_horiz_band() local 127 offset[2] = (y >> vshift) * src->linesize[1]; in ff_h264_draw_horiz_band()
|
D | hevc_ps.c | 899 sps->hshift[0] = sps->vshift[0] = 0; in map_pixel_format() 901 sps->vshift[2] = sps->vshift[1] = desc->log2_chroma_h; in map_pixel_format()
|
D | snowenc.c | 1587 int vshift= i ? s->chroma_v_shift : 0; in encode_frame() local 1588 for(y=0; y<AV_CEIL_RSHIFT(height, vshift); y++) 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 | 402 for (y = 0; y < (s->ps.sps->height >> s->ps.sps->vshift[i]); y++) { in generate_missing_ref()
|
D | mpegvideo_enc.c | 1723 int vshift = desc->log2_chroma_h; in frame_end() local 1732 s->v_edge_pos >> vshift, in frame_end() 1734 EDGE_WIDTH >> vshift, in frame_end() 1739 s->v_edge_pos >> vshift, in frame_end() 1741 EDGE_WIDTH >> vshift, in frame_end()
|
/third_party/ffmpeg/libavcodec/mips/ |
D | hevcpred_msa.c | 1912 int vshift = s->ps.sps->vshift[c_idx]; in ff_intra_pred_8_16x16_msa() local 1915 int size_in_luma_v = 16 << vshift; in ff_intra_pred_8_16x16_msa() 1918 int y = y0 >> vshift; in ff_intra_pred_8_16x16_msa() 1958 (y0 + size_in_luma_v)) >> vshift; in ff_intra_pred_8_16x16_msa() 2096 y0 + ((2 * 16) << vshift) < in ff_intra_pred_8_16x16_msa() 2097 s->ps.sps->height ? 2 * 16 : (s->ps.sps->height - y0) >> vshift; in ff_intra_pred_8_16x16_msa() 2104 size_max_y = y0 + ((16) << vshift) < s->ps.sps->height ? in ff_intra_pred_8_16x16_msa() 2105 16 : (s->ps.sps->height - y0) >> vshift; in ff_intra_pred_8_16x16_msa() 2114 vshift)) in ff_intra_pred_8_16x16_msa() 2125 vshift)) in ff_intra_pred_8_16x16_msa() [all …]
|
/third_party/ffmpeg/libswscale/ppc/ |
D | swscale_altivec.c | 157 const vec_u32 vshift = (vec_u32) vec_splat_u32(shift); in yuv2plane1_float_altivec() local 170 v = vec_sr(v, vshift); in yuv2plane1_float_altivec() 190 const vec_u32 vshift = (vec_u32) vec_splat_u32(shift); in yuv2plane1_float_bswap_altivec() local 205 v = vec_sr(v, vshift); in yuv2plane1_float_bswap_altivec()
|
D | swscale_vsx.c | 169 const vec_u16 vshift = (vec_u16) vec_splat_u16(shift); in yuv2plane1_nbps_vsx() local 179 v = vec_sr(v, vshift); in yuv2plane1_nbps_vsx() 216 const vec_u32 vshift = (vec_u32) {shift, shift, shift, shift}; in yuv2planeX_nbps_vsx() 244 vleft = vec_sra(vleft, vshift); in yuv2planeX_nbps_vsx() 245 vright = vec_sra(vright, vshift); in yuv2planeX_nbps_vsx() 289 const vec_u32 vshift = (vec_u32) vec_splat_u32(shift); in yuv2plane1_16_vsx() local 299 v = vec_sr(v, vshift); in yuv2plane1_16_vsx() 303 v2 = vec_sr(v2, vshift); in yuv2plane1_16_vsx() 350 const vec_u32 vshift = (vec_u32) {shift, shift, shift, shift}; in yuv2planeX_16_vsx() 378 vleft = vec_sra(vleft, vshift); in yuv2planeX_16_vsx() [all …]
|