Home
last modified time | relevance | path

Searched refs:n_channel (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavfilter/dnn/
Ddnn_backend_native_layer_avgpool.c123 for (int n_channel = 0; n_channel < channel; ++n_channel) { in ff_dnn_execute_layer_avg_pool() local
124 output[n_channel] = 0.0; in ff_dnn_execute_layer_avg_pool()
135 input_pel = input[y_pos * src_linesize + x_pos * channel + n_channel]; in ff_dnn_execute_layer_avg_pool()
137 output[n_channel] += input_pel; in ff_dnn_execute_layer_avg_pool()
140 output[n_channel] /= kernel_area; in ff_dnn_execute_layer_avg_pool()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderRendering.cpp3503 for (unsigned int n_channel = 0; n_channel < 4 /* RGBA */; ++n_channel) in verify() local
3505 rendered_rgba[n_channel] = float(read_data[n_channel]) / 255.0f; in verify()
3635 for (unsigned int n_channel = 0; n_channel < 4 /* RGBA */; ++n_channel) in verify() local
3637 reference_rgba[n_channel] = start_color[n_channel] + in verify()
3638 (end_color[n_channel] - start_color[n_channel]) * float(n_point) / 7.0f; in verify()
3639 rendered_rgba[n_channel] = (float)(read_data[n_channel]) / 255.0f; in verify()
DesextcGeometryShaderPrimitiveCounter.cpp1346 for (unsigned int n_channel = 0; n_channel < 4 /* RGBA */; ++n_channel) in iterate() local
1348 rendered_rgba[n_channel] = float(data[n_channel]) / 255.0f; in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp7739 int n_channel = 0; in comparePixelData() local
7764 n += 3 /* downloaded + reference + source pixel combinations */, ++n_channel) in comparePixelData()
7772 int n_dst_bits = result_rgba_bits[n_channel]; in comparePixelData()
7774 int n_source_bits = source_rgba_bits[n_channel]; in comparePixelData()
7810 … max_epsilon[n_channel] = deCeilFloatToInt32(((1 << max_n_bits) - 1.0f) / ((1 << min_n_bits) - 1)); in comparePixelData()
7814 max_epsilon[n_channel] = 0; in comparePixelData()
7825 if (abs(delta) > max_epsilon[n_channel]) in comparePixelData()
7842 if (abs(delta) > max_epsilon[n_channel]) in comparePixelData()
7859 if (abs(delta) > max_epsilon[n_channel]) in comparePixelData()
7875 if (abs(delta) > max_epsilon[n_channel]) in comparePixelData()
[all …]