Home
last modified time | relevance | path

Searched refs:chroma_stride (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dproresenc_anatoliy.c541 int luma_stride, chroma_stride, alpha_stride = 0; in encode_slice() local
557 chroma_stride = pic->linesize[1]; in encode_slice()
564 dest_u = pic->data[1] + (mb_y << 4) * chroma_stride + (mb_x << (5 - ctx->is_422)); in encode_slice()
565 dest_v = pic->data[2] + (mb_y << 4) * chroma_stride + (mb_x << (5 - ctx->is_422)); in encode_slice()
568 dest_u = pic->data[1] + (mb_y << 4) * chroma_stride * 2 + (mb_x << (5 - ctx->is_422)); in encode_slice()
569 dest_v = pic->data[2] + (mb_y << 4) * chroma_stride * 2 + (mb_x << (5 - ctx->is_422)); in encode_slice()
572 dest_u += chroma_stride; in encode_slice()
573 dest_v += chroma_stride; in encode_slice()
582 chroma_stride, avctx->width >> ctx->is_422, avctx->height, in encode_slice()
585 chroma_stride, avctx->width >> ctx->is_422, avctx->height, in encode_slice()
[all …]
Dproresdec2.c625 int luma_stride, chroma_stride; in decode_slice_thread() local
664 chroma_stride = pic->linesize[1]; in decode_slice_thread()
667 chroma_stride = pic->linesize[1] << 1; in decode_slice_thread()
681 dest_u = pic->data[1] + (slice->mb_y << 4) * chroma_stride + (slice->mb_x << mb_x_shift); in decode_slice_thread()
682 dest_v = pic->data[2] + (slice->mb_y << 4) * chroma_stride + (slice->mb_x << mb_x_shift); in decode_slice_thread()
697 ret = decode_slice_chroma(avctx, slice, (uint16_t*)dest_u, chroma_stride, in decode_slice_thread()
703 ret = decode_slice_chroma(avctx, slice, (uint16_t*)dest_v, chroma_stride, in decode_slice_thread()
719 *(uint16_t*)(dest_u + (i * chroma_stride) + (j << 1)) = val_no_chroma; in decode_slice_thread()
720 *(uint16_t*)(dest_v + (i * chroma_stride) + (j << 1)) = val_no_chroma; in decode_slice_thread()
/third_party/libdrm/tests/util/
Dformat.c38 #define MAKE_YUV_INFO(order, xsub, ysub, chroma_stride) \ argument
39 .yuv = { (order), (xsub), (ysub), (chroma_stride) }
Dformat.h52 unsigned int chroma_stride; member
Dpattern.c192 unsigned int cs = yuv->chroma_stride; in fill_smpte_yuv_planar()
848 unsigned int cs = yuv->chroma_stride; in fill_tiles_yuv_planar()