Searched refs:rawimg (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | libaomenc.c | 65 struct aom_image rawimg; member 893 aom_img_wrap(&ctx->rawimg, img_fmt, avctx->width, avctx->height, 1, in aom_init() 897 ctx->rawimg.bit_depth = enccfg.g_bit_depth; in aom_init() 1123 struct aom_image *rawimg = NULL; in aom_encode() local 1129 rawimg = &ctx->rawimg; in aom_encode() 1130 rawimg->planes[AOM_PLANE_Y] = frame->data[0]; in aom_encode() 1131 rawimg->planes[AOM_PLANE_U] = frame->data[1]; in aom_encode() 1132 rawimg->planes[AOM_PLANE_V] = frame->data[2]; in aom_encode() 1133 rawimg->stride[AOM_PLANE_Y] = frame->linesize[0]; in aom_encode() 1134 rawimg->stride[AOM_PLANE_U] = frame->linesize[1]; in aom_encode() [all …]
|
D | libvpxenc.c | 69 struct vpx_image rawimg; member 1121 vpx_img_wrap(&ctx->rawimg, img_fmt, avctx->width, avctx->height, 1, in vpx_init() 1125 ctx->rawimg.bit_depth = enccfg.g_bit_depth; in vpx_init() 1574 struct vpx_image *rawimg = NULL; in vpx_encode() local 1585 rawimg = &ctx->rawimg; in vpx_encode() 1586 rawimg->planes[VPX_PLANE_Y] = frame->data[0]; in vpx_encode() 1587 rawimg->planes[VPX_PLANE_U] = frame->data[1]; in vpx_encode() 1588 rawimg->planes[VPX_PLANE_V] = frame->data[2]; in vpx_encode() 1589 rawimg->stride[VPX_PLANE_Y] = frame->linesize[0]; in vpx_encode() 1590 rawimg->stride[VPX_PLANE_U] = frame->linesize[1]; in vpx_encode() [all …]
|