projects
/
dcpomatic.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Partial attempt at cleanup of naming straight vs DCI.
[dcpomatic.git]
/
src
/
tools
/
test.cc
1
#include <stdint.h>
2
#include <boost/shared_ptr.hpp>
3
#include "image.h"
4
#include "server.h"
5
6
using namespace boost;
7
8
int main ()
9
{
10
uint8_t* rgb = new uint8_t[256];
11
shared_ptr<Image> image (new Image (rgb, 0, 32, 32, 24));
12
Server* s = new Server ("localhost", 2);
13
image->encode_remotely (s);
14
return 0;
15
}