Home
last modified time | relevance | path

Searched refs:thread_count (Results 1 – 8 of 8) sorted by relevance

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenccli_platform_dependents.cpp127 int thread_count; member
148 ltd->func(ltd->thread_count, ltd->thread_id, ltd->payload); in launch_threads_helper()
154 int thread_count, in launch_threads() argument
159 if (thread_count <= 1) in launch_threads()
166 launch_desc *thread_descs = new launch_desc[thread_count]; in launch_threads()
167 for (int i = 0; i < thread_count; i++) in launch_threads()
169 thread_descs[i].thread_count = thread_count; in launch_threads()
179 for (int i = 0; i < thread_count; i++) in launch_threads()
Dastcenccli_internal.h69 unsigned int thread_count; member
372 int thread_count,
Dastcenccli_toplevel.cpp194 int thread_count, in compression_workload_runner() argument
198 (void)thread_count; in compression_workload_runner()
221 int thread_count, in decompression_workload_runner() argument
225 (void)thread_count; in decompression_workload_runner()
1053 cli_config.thread_count = atoi(argv[argidx - 1]); in edit_astcenc_config()
1150 if (cli_config.thread_count <= 0) in edit_astcenc_config()
1152 cli_config.thread_count = get_cpu_count(); in edit_astcenc_config()
1157 cli_config.thread_count = 1; in edit_astcenc_config()
1232 printf(" Compressor thread count: %d\n", cli_config.thread_count); in print_astcenc_config()
1997 codec_status = astcenc_context_alloc(&config, cli_config.thread_count, &codec_context); in main()
[all …]
Dastcenc_entry.cpp714 unsigned int thread_count, in astcenc_context_alloc() argument
732 if (thread_count == 0) in astcenc_context_alloc()
739 if (thread_count != 1) in astcenc_context_alloc()
747 ctx->thread_count = thread_count; in astcenc_context_alloc()
784 size_t worksize = sizeof(compression_working_buffers) * thread_count; in astcenc_context_alloc()
1093 if (thread_index >= ctx->thread_count) in astcenc_compress_image()
1114 if (ctx->thread_count == 1) in astcenc_compress_image()
1194 if (thread_index >= ctx->thread_count) in astcenc_decompress_image()
1227 if (ctx->thread_count == 1) in astcenc_decompress_image()
Dastcenc.h716 unsigned int thread_count,
Dastcenc_internal.h1207 unsigned int thread_count; member
/hardware/google/aemu/host-common/
DMediaFfmpegVideoHelper.cpp87 mCodecCtx->thread_count = std::min(mThreadCount, 4); in init()
DMediaH264DecoderFfmpeg.cpp115 mCodecCtx->thread_count = 4; in initH264ContextInternal()