Lines Matching refs:platform_idx
66 int platform_idx;
87 { "platform_idx", "set platform index value", OFFSET(platform_idx), AV_OPT_TYPE_INT, {.i64=-1}, -1, INT_MAX},
515 if (opencl_ctx->platform_idx >= 0) {
516 if (opencl_ctx->device_list.platform_num < opencl_ctx->platform_idx + 1) {
520 if (!opencl_ctx->device_list.platform_node[opencl_ctx->platform_idx]->device_num) {
522 opencl_ctx->platform_idx);
525 opencl_ctx->platform_id = opencl_ctx->device_list.platform_node[opencl_ctx->platform_idx]->platform_id;
531 opencl_ctx->platform_idx = i;
542 if (opencl_ctx->device_list.platform_node[opencl_ctx->platform_idx]->device_num < opencl_ctx->device_idx + 1) {
544 "Could not get OpenCL device idx %d in the user set platform\n", opencl_ctx->platform_idx);
551 device_node = opencl_ctx->device_list.platform_node[opencl_ctx->platform_idx]->device_node[opencl_ctx->device_idx];
559 opencl_ctx->device_list.platform_node[opencl_ctx->platform_idx]->platform_name,