FFmpeg
|
Go to the source code of this file.
Typedefs | |
typedef float(* | FunType) (float src0, float src1) |
Functions | |
static float | sub (float src0, float src1) |
static float | add (float src0, float src1) |
static float | mul (float src0, float src1) |
static float | realdiv (float src0, float src1) |
static float | minimum (float src0, float src1) |
static float | floormod (float src0, float src1) |
static void | math_binary_commutative (FunType pfun, const DnnLayerMathBinaryParams *params, const DnnOperand *input, DnnOperand *output, DnnOperand *operands, const int32_t *input_operand_indexes) |
static void | math_binary_not_commutative (FunType pfun, const DnnLayerMathBinaryParams *params, const DnnOperand *input, DnnOperand *output, DnnOperand *operands, const int32_t *input_operand_indexes) |
int | ff_dnn_load_layer_math_binary (Layer *layer, AVIOContext *model_file_context, int file_size, int operands_num) |
int | ff_dnn_execute_layer_math_binary (DnnOperand *operands, const int32_t *input_operand_indexes, int32_t output_operand_index, const void *parameters, NativeContext *ctx) |
DNN native backend implementation.
Definition in file dnn_backend_native_layer_mathbinary.c.
Definition at line 29 of file dnn_backend_native_layer_mathbinary.c.
Definition at line 31 of file dnn_backend_native_layer_mathbinary.c.
Referenced by add_event(), amrwb_decode_frame(), aqt_read_header(), ass_decode_frame(), ass_encode_frame(), ass_read_header(), avcodec_decode_subtitle2(), avcodec_encode_subtitle(), avsubtitle_free(), check_itxfm(), copy_subcoefs(), dct_unquantize_h263_axp(), dec_gain(), decode(), decode_frame(), decode_pixel_in_context(), decode_plane(), decoder_decode_frame(), display_end_segment(), do_subtitle_out(), dvbsub_decode(), dvbsub_display_end_segment(), dvbsub_parse_page_segment(), dvdsub_decode(), dvdsub_encode(), encode_frame(), encode_residual_ch(), ff_ass_add_rect(), ff_ass_add_rect2(), ff_dnn_execute_layer_math_binary(), ff_subtitles_queue_insert(), ff_subtitles_queue_read_packet(), ff_tx_init_subtx(), ffmpeg_cleanup(), find_subframe_rice_params(), get_subtitle_defaults(), h263_dct_unquantize_msa(), init_frame(), jacosub_decode_frame(), jacosub_read_header(), libaribb24_decode(), libaribb24_handle_regions(), lrc_read_header(), mcc_read_header(), metasound_read_bitstream(), microdvd_decode_frame(), microdvd_read_header(), mov_text_decode_frame(), mov_text_encode_frame(), mpl2_decode_frame(), mpl2_read_header(), mpsub_read_header(), nb_decode(), pjs_read_header(), process_frame(), read_and_decode_spectrum(), read_global_param(), realtext_decode_frame(), realtext_read_header(), remove_wasted_bits(), sami_decode_frame(), sami_read_header(), save_subtitle_set(), sb_decode(), scc_read_header(), show_subtitle(), srt_decode_frame(), srt_encode_frame(), stl_read_header(), sub2video_update(), subframe_count_exact(), subsampling_bounds(), subtitle_handler(), subviewer1_read_header(), subviewer_decode_frame(), subviewer_read_header(), teletext_decode_frame(), text_decode_frame(), text_encode_frame(), ttml_encode_frame(), twinvq_read_bitstream(), v4l2_prepare_decoder(), v4l2_subscribe_eos_event(), vplayer_read_header(), vulkan_map_frame_to_mem(), webvtt_decode_frame(), webvtt_encode_frame(), webvtt_read_header(), wrap(), and write_subframes().
Definition at line 35 of file dnn_backend_native_layer_mathbinary.c.
Referenced by add_yblock(), adpcm_agm_expand_nibble(), ath(), comp(), comp_block(), dct_unquantize_h263_axp(), decode_blocks(), decode_mb(), decode_plane(), convert_from_tensorflow.TFConverter::dump_avg_pool_to_file(), convert_from_tensorflow.TFConverter::dump_complex_conv2d_to_file(), convert_from_tensorflow.TFConverter::dump_dense_to_file(), convert_from_tensorflow.TFConverter::dump_depth2space_to_file(), convert_from_tensorflow.TFConverter::dump_mathbinary_to_file(), convert_from_tensorflow.TFConverter::dump_mathunary_to_file(), convert_from_tensorflow.TFConverter::dump_maximum_to_file(), convert_from_tensorflow.TFConverter::dump_mirrorpad_to_file(), convert_from_tensorflow.TFConverter::dump_simple_conv2d_to_file(), encode_init(), ff_decklink_list_devices(), ff_dnn_execute_layer_math_binary(), ff_hevc_hls_residual_coding(), ff_snow_inner_add_yblock(), filter_slice_chroma16(), convert_from_tensorflow.TFConverter::generate_sub_block_op_scope_info(), h263_dct_unquantize_msa(), hash(), idct16_1d(), idct8_1d(), interleave_TMPL(), intra_predict_dc_4blk_8x8_msa(), intra_predict_mad_cow_dc_0lt_8x8_msa(), intra_predict_mad_cow_dc_l0t_8x8_msa(), intra_predict_vert_dc_8x8_msa(), inverse(), lift(), liftS(), postprocess_chroma(), predict_plane(), predict_slice(), predict_slice_buffered(), reallocate_outputs(), snow_horizontal_compose_lift_lead_out(), transform_4x4_luma(), and wv_get_value().
Definition at line 39 of file dnn_backend_native_layer_mathbinary.c.
Referenced by calc_add_mv(), dequant(), dequant_lsps(), draw_bar_rgb(), draw_bar_yuv(), ff_dnn_execute_layer_math_binary(), ff_mpc_dequantize_and_synth(), h263_dct_unquantize_msa(), int32_to_float_fmul_array8_c(), int32_to_float_fmul_scalar_c(), lag_read_prob_header(), lift(), liftS(), mpeg2_dct_unquantize_inter_msa(), scalarproduct_and_madd_int16_c(), scalarproduct_and_madd_int32_c(), scale_coefs(), snow_horizontal_compose_lift_lead_out(), test_vector_dmac_scalar(), test_vector_dmul_scalar(), test_vector_fmac_scalar(), test_vector_fmul_scalar(), vector_dmac_scalar_c(), vector_dmul_scalar_c(), vector_fmac_scalar_c(), and vector_fmul_scalar_c().
Definition at line 43 of file dnn_backend_native_layer_mathbinary.c.
Referenced by ff_dnn_execute_layer_math_binary().
Definition at line 47 of file dnn_backend_native_layer_mathbinary.c.
Referenced by ff_dnn_execute_layer_math_binary(), main(), and update_gain_history().
Definition at line 51 of file dnn_backend_native_layer_mathbinary.c.
Referenced by ff_dnn_execute_layer_math_binary().
|
static |
Definition at line 56 of file dnn_backend_native_layer_mathbinary.c.
Referenced by ff_dnn_execute_layer_math_binary().
|
static |
Definition at line 76 of file dnn_backend_native_layer_mathbinary.c.
Referenced by ff_dnn_execute_layer_math_binary().
int ff_dnn_load_layer_math_binary | ( | Layer * | layer, |
AVIOContext * | model_file_context, | ||
int | file_size, | ||
int | operands_num | ||
) |
Definition at line 100 of file dnn_backend_native_layer_mathbinary.c.
int ff_dnn_execute_layer_math_binary | ( | DnnOperand * | operands, |
const int32_t * | input_operand_indexes, | ||
int32_t | output_operand_index, | ||
const void * | parameters, | ||
NativeContext * | ctx | ||
) |
Definition at line 148 of file dnn_backend_native_layer_mathbinary.c.
Referenced by test_broadcast_input0(), test_broadcast_input1(), and test_no_broadcast().