X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fgstemulutils.h;h=b268888eca8445b6dcc1687c28af55ab624d294b;hb=1f3f529eb7fea22664d78235fef581b0ceaf1372;hp=b07076e0bc9fbf353be0063909c2e54f92ff8d72;hpb=5e12853b2a6ffb6f60c8be2c66a9f545fd1945d1;p=platform%2Fadaptation%2Femulator%2Fgst-plugins-emulator.git diff --git a/src/gstemulutils.h b/src/gstemulutils.h index b07076e..b268888 100644 --- a/src/gstemulutils.h +++ b/src/gstemulutils.h @@ -93,6 +93,8 @@ GstCaps *gst_emul_codectype_to_caps (int media_type, CodecContext *ctx, void gst_emul_caps_with_codecname (const char *name, int media_type, const GstCaps *caps, CodecContext *ctx); +void gst_emul_caps_with_codectype (int media_type, const GstCaps *caps, CodecContext *ctx); + GstCaps *gst_emul_video_caps_new (CodecContext *ctx, const char *name, const char *mimetype, const char *fieldname, ...); @@ -105,4 +107,10 @@ GstCaps *gst_emul_smpfmt_to_caps (int8_t sample_fmt, CodecContext *ctx, const ch GstCaps *gst_emul_codecname_to_caps (const char *name, CodecContext *ctx, gboolean encode); +int gst_emul_avpicture_size (int pix_fmt, int width, int height); + +int gst_emul_align_size (int buf_size); + +gint gst_emul_smpfmt_depth (int smp_fmt); + #endif