Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > VSs > VSs__H264__App
changeset 8:6c1433f5a562
remove need for end_thread()
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Fri, 17 May 2013 17:50:05 +0200 |
| parents | c8259123d224 |
| children | ea1ba68cf0ed |
| files | libavcodec/h264_ompss.c |
| diffstat | 1 files changed, 11 insertions(+), 11 deletions(-) [+] |
line diff
1.1 --- a/libavcodec/h264_ompss.c Wed May 15 15:26:14 2013 +0200 1.2 +++ b/libavcodec/h264_ompss.c Fri May 17 17:50:05 2013 +0200 1.3 @@ -58,7 +58,7 @@ 1.4 1.5 decode_nal_units(nc, s, &sbe->gb); 1.6 1.7 - VSs__end_task(); 1.8 + return; 1.9 } 1.10 1.11 VSsTaskType parse_taskType = { 1.12 @@ -94,7 +94,7 @@ 1.13 1.14 if( !s->pps.cabac ){ 1.15 av_log(AV_LOG_ERROR, "Only cabac encoded streams are supported\n"); 1.16 - VSs__end_task(); 1.17 + return; 1.18 } 1.19 1.20 init_dequant_tables(s, ec); 1.21 @@ -124,11 +124,11 @@ 1.22 (void) eos; 1.23 if( ret < 0 || c->bytestream > c->bytestream_end + 2) { 1.24 av_log(AV_LOG_ERROR, "error while decoding MB %d %d, bytestream (%td)\n", m->mb_x, m->mb_y, c->bytestream_end - c->bytestream); 1.25 - VSs__end_task(); 1.26 + return; 1.27 } 1.28 } 1.29 } 1.30 - VSs__end_task(); 1.31 + return; 1.32 } 1.33 1.34 VSsTaskType decode_slice_entropy_taskType = { 1.35 @@ -178,7 +178,7 @@ 1.36 H264Slice *s = &sbe->slice; 1.37 H264Mb *mbs = sbe->mbs; 1.38 decode_super_mb_block(d, s, smbc, mbs, m->smb_x, m->smb_y); 1.39 - VSs__end_task(); 1.40 + return; 1.41 } 1.42 1.43 VSsTaskType decode_super_mb_taskType = { 1.44 @@ -214,7 +214,7 @@ 1.45 for (int i=line*smbc->smb_height; i< (line+1)*smbc->smb_height && i< d->mb_height; i++) 1.46 draw_edges(d, s, i); 1.47 VMS_App__free(args->line); 1.48 - VSs__end_task(); 1.49 + return; 1.50 } 1.51 VSsTaskType draw_edges_taskType = { 1.52 .fn = &draw_edges_task, 1.53 @@ -315,7 +315,7 @@ 1.54 } 1.55 } 1.56 s->release_cnt=0; 1.57 - VSs__end_task(); 1.58 + return; 1.59 } 1.60 1.61 VSsTaskType decode_slice_mb_taskType = { 1.62 @@ -357,7 +357,7 @@ 1.63 H264Mb *mbs = sbe->mbs; 1.64 1.65 decode_super_mb_block(d, s, smbc, mbs, m->smb_x, m->smb_y); 1.66 - VSs__end_task(); 1.67 + return; 1.68 } 1.69 1.70 VSsTaskType decode_3dwave_super_mb_taskType = { 1.71 @@ -407,7 +407,7 @@ 1.72 get_dpb_entry(h, s); 1.73 VSs__end_critical(0); 1.74 1.75 - VSs__end_task(); 1.76 + return; 1.77 } 1.78 1.79 VSsTaskType init_ref_list_and_get_dpb_taskType = { 1.80 @@ -537,7 +537,7 @@ 1.81 1.82 release_smbc(h, smbc); 1.83 1.84 - VSs__end_task(); 1.85 + return; 1.86 } 1.87 1.88 VSsTaskType release_ref_list_taskType = { 1.89 @@ -579,7 +579,7 @@ 1.90 } 1.91 //print_report(oc->frame_number, oc->video_size, 0, h->verbose); 1.92 1.93 - VSs__end_task(); 1.94 + return; 1.95 } 1.96 1.97 VSsTaskType output_taskType = {
