X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Flibvpx%2Fsource%2Flibvpx%2Fvpx%2Fvpx_frame_buffer.h;h=41038b10df6726fae01341cb14e5c44f44e7697a;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=e69df4bc8221abc0529d79ab9f71e2edda7ea34e;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/libvpx/source/libvpx/vpx/vpx_frame_buffer.h b/src/third_party/libvpx/source/libvpx/vpx/vpx_frame_buffer.h index e69df4b..41038b1 100644 --- a/src/third_party/libvpx/source/libvpx/vpx/vpx_frame_buffer.h +++ b/src/third_party/libvpx/source/libvpx/vpx/vpx_frame_buffer.h @@ -43,15 +43,15 @@ typedef struct vpx_codec_frame_buffer { * * This callback is invoked by the decoder to retrieve data for the frame * buffer in order for the decode call to complete. The callback must - * allocate at least min_size in bytes and assign it to fb->data. Then the - * callback must set fb->size to the allocated size. The application does not - * need to align the allocated data. The callback is triggered when the - * decoder needs a frame buffer to decode a compressed image into. This - * function may be called more than once for every call to vpx_codec_decode. - * The application may set fb->priv to some data which will be passed - * back in the ximage and the release function call. |fb| is guaranteed to - * not be NULL. On success the callback must return 0. Any failure the - * callback must return a value less than 0. + * allocate at least min_size in bytes and assign it to fb->data. The callback + * must zero out all the data allocated. Then the callback must set fb->size + * to the allocated size. The application does not need to align the allocated + * data. The callback is triggered when the decoder needs a frame buffer to + * decode a compressed image into. This function may be called more than once + * for every call to vpx_codec_decode. The application may set fb->priv to + * some data which will be passed back in the ximage and the release function + * call. |fb| is guaranteed to not be NULL. On success the callback must + * return 0. Any failure the callback must return a value less than 0. * * \param[in] priv Callback's private data * \param[in] new_size Size in bytes needed by the buffer