Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > VSs > VSs__H264__App
diff h264dec.c @ 3:0b056460c67d
changed code to use VSs
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Mon, 29 Oct 2012 16:44:27 +0100 |
| parents | 897f711a7157 |
| children | c8259123d224 |
line diff
1.1 --- a/h264dec.c Tue Sep 25 15:55:33 2012 +0200 1.2 +++ b/h264dec.c Mon Oct 29 16:44:27 2012 +0100 1.3 @@ -20,6 +20,7 @@ 1.4 1.5 #include <assert.h> 1.6 1.7 +#include "VSs_impl/VSs.h" 1.8 1.9 static const char program_name[] = "h264dec"; 1.10 static const int program_birth_year = 2010; 1.11 @@ -259,8 +260,7 @@ 1.12 1.13 H264Context *h = get_h264dec_context(file_name, ifile, ofile, frame_width, frame_height, &cli_opts); 1.14 #if OMPSS 1.15 - if (h264_decode_ompss( h ) < 0) 1.16 - av_exit(-1); 1.17 + VSs__create_seed_slave_and_do_work( &h264_decode_ompss , (void*)h ); 1.18 #else 1.19 if (parallel){ 1.20 if (ARCH_CELL && !no_arch){
