Use function_video_(en|de)coder_factory from api

Remove them from test.
It is completion of the move started with
https://webrtc-review.googlesource.com/c/src/+/107705

Bug: None
Change-Id: Ib0b26db04a1ee814322851280ba1e59b4b3f7ce6
Reviewed-on: https://webrtc-review.googlesource.com/c/107891
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25392}
diff --git a/video/picture_id_tests.cc b/video/picture_id_tests.cc
index 449e076..6ce0c99 100644
--- a/video/picture_id_tests.cc
+++ b/video/picture_id_tests.cc
@@ -9,6 +9,7 @@
  */
 
 #include "api/test/simulated_network.h"
+#include "api/test/video/function_video_encoder_factory.h"
 #include "call/fake_network_pipe.h"
 #include "call/simulated_network.h"
 #include "media/engine/internalencoderfactory.h"
@@ -19,7 +20,6 @@
 #include "rtc_base/numerics/safe_conversions.h"
 #include "rtc_base/numerics/sequence_number_util.h"
 #include "test/call_test.h"
-#include "test/function_video_encoder_factory.h"
 
 namespace webrtc {
 namespace {