Lines Matching refs:pdst
1417 CFHDContext *pdst = dst->priv_data;
1423 if (pdst->plane[0].idwt_size != psrc->plane[0].idwt_size ||
1424 pdst->a_format != psrc->a_format ||
1425 pdst->a_width != psrc->a_width ||
1426 pdst->a_height != psrc->a_height ||
1427 pdst->a_transform_type != psrc->a_transform_type)
1428 free_buffers(pdst);
1430 pdst->a_format = psrc->a_format;
1431 pdst->a_width = psrc->a_width;
1432 pdst->a_height = psrc->a_height;
1433 pdst->a_transform_type = psrc->a_transform_type;
1434 pdst->transform_type = psrc->transform_type;
1435 pdst->progressive = psrc->progressive;
1436 pdst->planes = psrc->planes;
1438 if (!pdst->plane[0].idwt_buf) {
1439 pdst->coded_width = pdst->a_width;
1440 pdst->coded_height = pdst->a_height;
1441 pdst->coded_format = pdst->a_format;
1442 pdst->transform_type = pdst->a_transform_type;
1448 for (int plane = 0; plane < pdst->planes; plane++) {
1449 memcpy(pdst->plane[plane].band, psrc->plane[plane].band, sizeof(pdst->plane[plane].band));
1450 memcpy(pdst->plane[plane].idwt_buf, psrc->plane[plane].idwt_buf,
1451 pdst->plane[plane].idwt_size * sizeof(int16_t));