#include "dcp_video.h"
#include "config.h"
#include "exceptions.h"
-#include "server_description.h"
+#include "encode_server_description.h"
#include "dcpomatic_socket.h"
#include "image.h"
#include "log.h"
Data
DCPVideo::encode_locally (dcp::NoteHandler note)
{
- shared_ptr<dcp::OpenJPEGImage> xyz = convert_to_xyz (_frame, note);
-
Data enc = compress_j2k (
convert_to_xyz (_frame, note),
_j2k_bandwidth,
* @return Encoded data.
*/
Data
-DCPVideo::encode_remotely (ServerDescription serv, int timeout)
+DCPVideo::encode_remotely (EncodeServerDescription serv, int timeout)
{
boost::asio::io_service io_service;
boost::asio::ip::tcp::resolver resolver (io_service);