diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-04-14 18:25:35 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-05-03 15:45:11 +0200 |
commit | 5f1c3cbd524728317bf460259aa8f3ef5ec935c6 (patch) | |
tree | 7dadd2bd1eb29a4b8e17f0796f99db6b6d2a3649 /libavcodec | |
parent | 015c2d923902fcd562571993eaf1231ce388c7f0 (diff) | |
download | ffmpeg-5f1c3cbd524728317bf460259aa8f3ef5ec935c6.tar.gz |
vaapi: Drop pointless debug output
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vaapi.c | 2 | ||||
-rw-r--r-- | libavcodec/vaapi_h264.c | 6 | ||||
-rw-r--r-- | libavcodec/vaapi_mpeg2.c | 4 | ||||
-rw-r--r-- | libavcodec/vaapi_mpeg4.c | 4 | ||||
-rw-r--r-- | libavcodec/vaapi_vc1.c | 4 |
5 files changed, 0 insertions, 20 deletions
diff --git a/libavcodec/vaapi.c b/libavcodec/vaapi.c index d00be2fc98..094692e2a2 100644 --- a/libavcodec/vaapi.c +++ b/libavcodec/vaapi.c @@ -181,8 +181,6 @@ void ff_vaapi_common_end_frame(AVCodecContext *avctx) { struct vaapi_context * const vactx = avctx->hwaccel_context; - ff_dlog(avctx, "ff_vaapi_common_end_frame()\n"); - destroy_buffers(vactx->display, &vactx->pic_param_buf_id, 1); destroy_buffers(vactx->display, &vactx->iq_matrix_buf_id, 1); destroy_buffers(vactx->display, &vactx->bitplane_buf_id, 1); diff --git a/libavcodec/vaapi_h264.c b/libavcodec/vaapi_h264.c index 5dc90adc52..0925985235 100644 --- a/libavcodec/vaapi_h264.c +++ b/libavcodec/vaapi_h264.c @@ -232,8 +232,6 @@ static int vaapi_h264_start_frame(AVCodecContext *avctx, VAPictureParameterBufferH264 *pic_param; VAIQMatrixBufferH264 *iq_matrix; - ff_dlog(avctx, "vaapi_h264_start_frame()\n"); - vactx->slice_param_size = sizeof(VASliceParameterBufferH264); /* Fill in VAPictureParameterBufferH264. */ @@ -298,7 +296,6 @@ static int vaapi_h264_end_frame(AVCodecContext *avctx) H264SliceContext *sl = &h->slice_ctx[0]; int ret; - ff_dlog(avctx, "vaapi_h264_end_frame()\n"); ret = ff_vaapi_commit_slices(vactx); if (ret < 0) goto finish; @@ -323,9 +320,6 @@ static int vaapi_h264_decode_slice(AVCodecContext *avctx, H264SliceContext *sl = &h->slice_ctx[0]; VASliceParameterBufferH264 *slice_param; - ff_dlog(avctx, "vaapi_h264_decode_slice(): buffer %p, size %d\n", - buffer, size); - /* Fill in VASliceParameterBufferH264. */ slice_param = (VASliceParameterBufferH264 *)ff_vaapi_alloc_slice(avctx->hwaccel_context, buffer, size); if (!slice_param) diff --git a/libavcodec/vaapi_mpeg2.c b/libavcodec/vaapi_mpeg2.c index cb8a782d9a..cb7774581d 100644 --- a/libavcodec/vaapi_mpeg2.c +++ b/libavcodec/vaapi_mpeg2.c @@ -46,8 +46,6 @@ static int vaapi_mpeg2_start_frame(AVCodecContext *avctx, av_unused const uint8_ VAIQMatrixBufferMPEG2 *iq_matrix; int i; - ff_dlog(avctx, "vaapi_mpeg2_start_frame()\n"); - vactx->slice_param_size = sizeof(VASliceParameterBufferMPEG2); /* Fill in VAPictureParameterBufferMPEG2 */ @@ -108,8 +106,6 @@ static int vaapi_mpeg2_decode_slice(AVCodecContext *avctx, const uint8_t *buffer GetBitContext gb; uint32_t quantiser_scale_code, intra_slice_flag, macroblock_offset; - ff_dlog(avctx, "vaapi_mpeg2_decode_slice(): buffer %p, size %d\n", buffer, size); - /* Determine macroblock_offset */ init_get_bits(&gb, buffer, 8 * size); if (get_bits_long(&gb, 32) >> 8 != 1) /* start code */ diff --git a/libavcodec/vaapi_mpeg4.c b/libavcodec/vaapi_mpeg4.c index 5498a9eb59..6743e2a478 100644 --- a/libavcodec/vaapi_mpeg4.c +++ b/libavcodec/vaapi_mpeg4.c @@ -51,8 +51,6 @@ static int vaapi_mpeg4_start_frame(AVCodecContext *avctx, av_unused const uint8_ VAIQMatrixBufferMPEG4 *iq_matrix; int i; - ff_dlog(avctx, "vaapi_mpeg4_start_frame()\n"); - vactx->slice_param_size = sizeof(VASliceParameterBufferMPEG4); /* Fill in VAPictureParameterBufferMPEG4 */ @@ -124,8 +122,6 @@ static int vaapi_mpeg4_decode_slice(AVCodecContext *avctx, const uint8_t *buffer MpegEncContext * const s = avctx->priv_data; VASliceParameterBufferMPEG4 *slice_param; - ff_dlog(avctx, "vaapi_mpeg4_decode_slice(): buffer %p, size %d\n", buffer, size); - /* video_plane_with_short_video_header() contains all GOBs * in-order, and this is what VA API (Intel backend) expects: only * a single slice param. So fake macroblock_number for Libav so diff --git a/libavcodec/vaapi_vc1.c b/libavcodec/vaapi_vc1.c index 87a75ecf14..4022549dac 100644 --- a/libavcodec/vaapi_vc1.c +++ b/libavcodec/vaapi_vc1.c @@ -151,8 +151,6 @@ static int vaapi_vc1_start_frame(AVCodecContext *avctx, av_unused const uint8_t struct vaapi_context * const vactx = avctx->hwaccel_context; VAPictureParameterBufferVC1 *pic_param; - ff_dlog(avctx, "vaapi_vc1_start_frame()\n"); - vactx->slice_param_size = sizeof(VASliceParameterBufferVC1); /* Fill in VAPictureParameterBufferVC1 */ @@ -317,8 +315,6 @@ static int vaapi_vc1_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, MpegEncContext * const s = &v->s; VASliceParameterBufferVC1 *slice_param; - ff_dlog(avctx, "vaapi_vc1_decode_slice(): buffer %p, size %d\n", buffer, size); - /* Current bit buffer is beyond any marker for VC-1, so skip it */ if (avctx->codec_id == AV_CODEC_ID_VC1 && IS_MARKER(AV_RB32(buffer))) { buffer += 4; |