Home
last modified time | relevance | path

Searched refs:vshift (Results 1 – 19 of 19) sorted by relevance

/third_party/ffmpeg/libswscale/x86/
Dyuv2rgb_template.c34 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;
174 int y, h_size, vshift;
[all …]
/third_party/ffmpeg/libavcodec/
Dmagicyuv.c67 int vshift[4]; member
129 … = AV_CEIL_RSHIFT(FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height), s->vshift[i]); in magy_decode_slice10()
131 int sheight = AV_CEIL_RSHIFT(s->slice_height, s->vshift[i]); in magy_decode_slice10()
259 … = AV_CEIL_RSHIFT(FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height), s->vshift[i]); in magy_decode_slice()
261 int sheight = AV_CEIL_RSHIFT(s->slice_height, s->vshift[i]); in magy_decode_slice()
461 s->vshift[1] = in magy_decode_frame()
463 s->vshift[2] = 0; in magy_decode_frame()
488 s->vshift[1] = in magy_decode_frame()
490 s->vshift[2] = 1; in magy_decode_frame()
535 s->vshift[1] = in magy_decode_frame()
[all …]
Dhevcpred_template.c38 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()
Dhevc_filter.c206 int h = s->ps.sps->height >> s->ps.sps->vshift[c_idx]; in copy_CTB_to_hv()
230 int vshift = s->ps.sps->vshift[c_idx]; in restore_tqb_pixels() local
240 …uint8_t *src = src1 + (((y << s->ps.sps->log2_min_pu_size) - y0) >> vshift) * stride_src + ((((x <… in restore_tqb_pixels()
241 …onst uint8_t *dst = dst1 + (((y << s->ps.sps->log2_min_pu_size) - y0) >> vshift) * stride_dst + ((… in restore_tqb_pixels()
242 for (n = 0; n < (min_pu_size >> vshift); n++) { in restore_tqb_pixels()
317 int y0 = y >> s->ps.sps->vshift[c_idx]; in sao_filter_CTB()
320 int ctb_size_v = (1 << (s->ps.sps->log2_ctb_size)) >> s->ps.sps->vshift[c_idx]; in sao_filter_CTB()
322 int height = FFMIN(ctb_size_v, (s->ps.sps->height >> s->ps.sps->vshift[c_idx]) - y0); in sao_filter_CTB()
352 int h = s->ps.sps->height >> s->ps.sps->vshift[c_idx]; in sao_filter_CTB()
592 int v = 1 << s->ps.sps->vshift[chroma]; in deblocking_filter_CTB()
[all …]
Dmagicyuvenc.c65 int vshift[4]; member
169 s->vshift[1] = in magy_encode_init()
171 s->vshift[2] = 1; in magy_encode_init()
494 AV_CEIL_RSHIFT(frame->height, s->vshift[i])); in magy_encode_frame()
504 AV_CEIL_RSHIFT(frame->height, s->vshift[i]), in magy_encode_frame()
517 AV_CEIL_RSHIFT(frame->height, s->vshift[i]), in magy_encode_frame()
Dhevcdec.c530 int h = sps->height >> sps->vshift[c_idx]; in set_sps()
1186 int trafo_size_v = 1 << (log2_trafo_size_c + s->ps.sps->vshift[1]); in hls_transform_unit()
1206 int vshift = s->ps.sps->vshift[1]; in hls_transform_unit() local
1211 uint8_t *dst = &s->frame->data[1][(y0 >> vshift) * stride + in hls_transform_unit()
1235 int vshift = s->ps.sps->vshift[2]; in hls_transform_unit() local
1240 uint8_t *dst = &s->frame->data[2][(y0 >> vshift) * stride + in hls_transform_unit()
1250 int trafo_size_v = 1 << (log2_trafo_size + s->ps.sps->vshift[1]); in hls_transform_unit()
1275 int trafo_size_v = 1 << (log2_trafo_size_c + s->ps.sps->vshift[1]); in hls_transform_unit()
1287 int trafo_size_v = 1 << (log2_trafo_size + s->ps.sps->vshift[1]); in hls_transform_unit()
1451 …uint8_t *dst1 = &s->frame->data[1][(y0 >> s->ps.sps->vshift[1]) * stride1 + ((x0 >> s->ps.sps->hsh… in hls_pcm_sample()
[all …]
Dmpegutils.c57 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()
Dhevc_ps.h241 int vshift[3]; member
Dhevc_refs.c407 … frame->frame->linesize[i] * AV_CEIL_RSHIFT(s->ps.sps->height, s->ps.sps->vshift[i])); in generate_missing_ref()
410 for (y = 0; y < (s->ps.sps->height >> s->ps.sps->vshift[i]); y++) { in generate_missing_ref()
Dhevc_cabac.c1056 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()
Dmjpegdec.c2414 int hshift, vshift; in ff_mjpeg_receive_frame() local
2683 ret = av_pix_fmt_get_chroma_sub_sample(s->avctx->pix_fmt, &hshift, &vshift); in ff_mjpeg_receive_frame()
2696 h = AV_CEIL_RSHIFT(h, vshift); in ff_mjpeg_receive_frame()
2745 ret = av_pix_fmt_get_chroma_sub_sample(s->avctx->pix_fmt, &hshift, &vshift); in ff_mjpeg_receive_frame()
2758 h = AV_CEIL_RSHIFT(h, vshift); in ff_mjpeg_receive_frame()
2776 ret = av_pix_fmt_get_chroma_sub_sample(s->avctx->pix_fmt, &hshift, &vshift); in ff_mjpeg_receive_frame()
2787 h = AV_CEIL_RSHIFT(h, vshift); in ff_mjpeg_receive_frame()
Dh264dec.c105 int vshift = desc->log2_chroma_h; in ff_h264_draw_horiz_band() local
123 offset[2] = (y >> vshift) * src->linesize[1]; in ff_h264_draw_horiz_band()
Dhevc_ps.c896 sps->hshift[0] = sps->vshift[0] = 0; in map_pixel_format()
898 sps->vshift[2] = sps->vshift[1] = desc->log2_chroma_h; in map_pixel_format()
Dsnowenc.c1582 int vshift= i ? s->chroma_v_shift : 0; in encode_frame() local
1583 for(y=0; y<AV_CEIL_RSHIFT(height, vshift); y++) in encode_frame()
1588 AV_CEIL_RSHIFT(width, hshift), AV_CEIL_RSHIFT(height, vshift), in encode_frame()
1589 EDGE_WIDTH >> hshift, EDGE_WIDTH >> vshift, in encode_frame()
Dmpegvideo_enc.c1542 int vshift = desc->log2_chroma_h; in frame_end() local
1551 s->v_edge_pos >> vshift, in frame_end()
1553 EDGE_WIDTH >> vshift, in frame_end()
1558 s->v_edge_pos >> vshift, in frame_end()
1560 EDGE_WIDTH >> vshift, in frame_end()
/third_party/ffmpeg/libavcodec/mips/
Dhevcpred_msa.c1912 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/
Dswscale_altivec.c157 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()
Dswscale_vsx.c169 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 …]
/third_party/ffmpeg/libswscale/
Dswscale.c1230 const int vshift = (i == 1 || i == 2) ? c->chrDstVSubSample : 0; in ff_sws_slice_worker() local
1232 ((slice_start + parent->dst_slice_start) >> vshift); in ff_sws_slice_worker()