Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > VSs > VSs__H264__App
comparison libavcodec/h264_misc.h @ 4:96e628866d41
naming some tasks to help debugging
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Wed, 19 Dec 2012 15:40:26 +0100 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:1fc38a33124f |
|---|---|
| 1 #ifndef H264_MISC_H | |
| 2 #define H264_MISC_H | |
| 3 | |
| 4 #include "avcodec.h" | |
| 5 #include "h264_types.h" | |
| 6 | |
| 7 void start_timer(H264Context *h, int stage); | |
| 8 void stop_timer(H264Context *h, int stage); | |
| 9 | |
| 10 void init_sb_entry(H264Context *h, SliceBufferEntry *sbe); | |
| 11 void free_sb_entry(SliceBufferEntry *sb); | |
| 12 SliceBufferEntry *get_sb_entry(H264Context *h); | |
| 13 void release_sb_entry(H264Context *h, SliceBufferEntry *sb); | |
| 14 | |
| 15 DecodedPicture *get_dpb_entry(H264Context *h, H264Slice *s); | |
| 16 void release_dpb_entry(H264Context *h, DecodedPicture *pic, int mode); | |
| 17 | |
| 18 void draw_edges(MBRecContext *d, H264Slice *s, int line); | |
| 19 | |
| 20 int ff_init_slice(NalContext *n, H264Slice *s); | |
| 21 void free_picture(PictureInfo *pic); | |
| 22 void free_dp(DecodedPicture *pic); | |
| 23 | |
| 24 void av_start_timer(); | |
| 25 int copyEDtoH264Slice(H264Slice *ms, H264Slice *es); | |
| 26 void print_report(int frame_number, uint64_t video_size, int is_last_report, int verbose); | |
| 27 | |
| 28 int ff_alloc_picture_info(NalContext *n, H264Slice *s, PictureInfo *pic); | |
| 29 DecodedPicture *output_frame(H264Context *h, OutputContext *oc, DecodedPicture *pic, int fd, int frame_width, int frame_height); | |
| 30 OutputContext *get_output_context(H264Context *h); | |
| 31 void free_output_context(OutputContext *oc); | |
| 32 | |
| 33 void freeSuperMBContext(SuperMBContext *smbc); | |
| 34 SuperMBContext *getSuperMBContext(H264Context *h, int smb_width, int smb_height); | |
| 35 void release_smbc(H264Context *h, SuperMBContext *smbc); | |
| 36 SuperMBContext * acquire_smbc(H264Context *h ); | |
| 37 | |
| 38 #if HAVE_LIBSDL2 | |
| 39 void signal_sdl_exit(H264Context *h); | |
| 40 void *sdl_thread(void *arg); | |
| 41 SDLContext *get_SDL_context(H264Context *h); | |
| 42 void free_SDL_context(SDLContext *sdlc); | |
| 43 #endif | |
| 44 | |
| 45 /** | |
| 46 * gets the chroma qp. | |
| 47 */ | |
| 48 static inline int get_chroma_qp(H264Slice *s, int t, int qscale){ | |
| 49 return s->pps.chroma_qp_table[t][qscale]; | |
| 50 } | |
| 51 | |
| 52 #endif |
