Lines Matching refs:planes

106     /* Option to allocate all image planes in a single allocation */
278 int planes = av_pix_fmt_count_planes(p);
283 for (int i = 0; i < planes; i++) {
1727 int planes = av_pix_fmt_count_planes(cuda_fc->sw_format);
1733 for (int i = 0; i < planes; i++) {
1762 int planes = av_pix_fmt_count_planes(hwfc->sw_format);
1770 for (int i = 0; i < planes; i++) {
1788 const int planes = av_pix_fmt_count_planes(hwfc->sw_format);
1797 for (int i = 0; i < planes; i++) {
1823 av_log(hwfc, AV_LOG_ERROR, "Cannot allocate all planes in a single allocation, "
1877 for (int i = 0, offset = 0; i < planes; i++) {
1889 ret = vk->BindImageMemory2(hwctx->act_dev, planes, bind_info);
1912 const int planes = av_pix_fmt_count_planes(hwfc->sw_format);
1922 .signalSemaphoreValueCount = planes,
1929 .signalSemaphoreCount = planes,
1933 for (int i = 0; i < planes; i++) {
1951 s_timeline_sem_info.waitSemaphoreValueCount = planes;
1954 s_info.waitSemaphoreCount = planes;
1962 s_timeline_sem_info.waitSemaphoreValueCount = planes;
1965 s_info.waitSemaphoreCount = planes;
1975 for (int i = 0; i < planes; i++) {
1995 0, 0, NULL, 0, NULL, planes, img_bar);
2029 const int planes = av_pix_fmt_count_planes(format);
2065 for (int i = 0; i < planes; i++) {
2451 const int planes = av_pix_fmt_count_planes(hwfc->sw_format);
2461 for (int i = 0; i < planes; i++) {
2467 ret = vk->FlushMappedMemoryRanges(hwctx->act_dev, planes,
2475 for (int i = 0; i < planes; i++)
2489 const int planes = av_pix_fmt_count_planes(hwfc->sw_format);
2515 mem_planes = hwfctx->flags & AV_VK_FRAME_FLAG_CONTIGUOUS_MEMORY ? 1 : planes;
2529 for (int i = 0; i < planes; i++)
2537 for (int i = 0; i < planes; i++) {
2543 ret = vk->InvalidateMappedMemoryRanges(hwctx->act_dev, planes,
2553 for (int i = 0; i < planes; i++) {
2585 const int planes = av_pix_fmt_count_planes(hwfc->sw_format);
2594 .semaphoreCount = planes,
2601 for (int i = 0; i < planes; i++) {
2667 const int planes = desc->layers[i].nb_planes;
2685 .drmFormatModifierPlaneCount = planes,
2758 for (int j = 0; j < planes; j++) {
2759 ext_img_layouts[j].offset = desc->layers[i].planes[j].offset;
2760 ext_img_layouts[j].rowPitch = desc->layers[i].planes[j].pitch;
2855 const int planes = desc->layers[i].nb_planes;
2856 for (int j = 0; j < planes; j++) {
2866 bind_info[bind_counts].pNext = planes > 1 ? &plane_info[bind_counts] : NULL;
2868 bind_info[bind_counts].memory = f->mem[desc->layers[i].planes[j].object_index];
2983 const int planes = av_pix_fmt_count_planes(hwfc->sw_format);
3012 for (int i = 0; i < planes; i++) {
3018 .NumChannels = 1 + ((planes == 2) && i),
3160 const int planes = av_pix_fmt_count_planes(hwfc->sw_format);
3189 for (int i = 0; i < planes; i++) {
3195 planes, cuda_dev->stream));
3199 for (int i = 0; i < planes; i++) {
3222 planes, cuda_dev->stream));
3226 for (int i = 0; i < planes; i++)
3304 const int planes = av_pix_fmt_count_planes(hwfc->sw_format);
3311 .semaphoreCount = planes,
3340 for (int i = 0; (i < planes) && (f->mem[i]); i++) {
3360 drm_desc->nb_layers = planes;
3377 drm_desc->layers[i].planes[0].object_index = FFMIN(i, drm_desc->nb_objects - 1);
3383 drm_desc->layers[i].planes[0].offset = layout.offset;
3384 drm_desc->layers[i].planes[0].pitch = layout.rowPitch;
3387 drm_desc->layers[i].planes[0].offset += f->offset[i];
3698 const int planes = av_pix_fmt_count_planes(pix_fmt);
3711 .waitSemaphoreValueCount = planes,
3712 .signalSemaphoreValueCount = planes,
3721 .signalSemaphoreCount = planes,
3722 .waitSemaphoreCount = planes,
3725 for (int i = 0; i < planes; i++)
3732 for (int i = 0; i < planes; i++) {
3768 for (int i = 0; i < planes; i++) {
3806 if (ref && (err = add_buf_dep_exec_ctx(hwfc, ectx, bufs, planes)))
3830 const int planes = av_pix_fmt_count_planes(swf->format);
3861 for (int i = 0; i < planes; i++) {
3920 if ((err = map_buffers(dev_ctx, bufs, tmp.data, planes, 0)))
3923 for (int i = 0; i < planes; i++) {
3935 if ((err = unmap_buffers(dev_ctx, bufs, planes, 1)))
3945 if ((err = map_buffers(dev_ctx, bufs, tmp.data, planes, 0)))
3948 for (int i = 0; i < planes; i++) {
3960 if ((err = unmap_buffers(dev_ctx, bufs, planes, 1)))
3965 for (int i = 0; i < planes; i++)
4005 const int planes = av_pix_fmt_count_planes(hwfc->sw_format);
4034 for (int i = 0; i < planes; i++) {
4040 planes, cuda_dev->stream));
4044 for (int i = 0; i < planes; i++) {
4067 planes, cuda_dev->stream));
4071 for (int i = 0; i < planes; i++)