Lines Matching refs:comps
283 int comps; in encode_picture_ls() local
294 comps = 1; in encode_picture_ls()
296 comps = 3; in encode_picture_ls()
298 if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width *avctx->height * comps * 4 + in encode_picture_ls()
313 bytestream2_put_be16u(&pb, 8 + comps * 3); // header size depends on components in encode_picture_ls()
317 bytestream2_put_byteu(&pb, comps); // components in encode_picture_ls()
318 for (i = 1; i <= comps; i++) { in encode_picture_ls()
325 bytestream2_put_be16u(&pb, 6 + comps * 2); in encode_picture_ls()
326 bytestream2_put_byteu(&pb, comps); in encode_picture_ls()
327 for (i = 1; i <= comps; i++) { in encode_picture_ls()
332 bytestream2_put_byteu(&pb, (comps > 1) ? 1 : 0); // interleaving: 0 - plane, 1 - line in encode_picture_ls()