Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (64)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (7628)

  • Revision b66f7016c1 : Take out repeated block width/height lookup functions The functions b_width_log

    7 octobre 2014, par Jingning Han

    Changed Paths :
     Modify /vp9/common/vp9_blockd.h


     Modify /vp9/common/vp9_onyxc_int.h


     Modify /vp9/decoder/vp9_decodeframe.c


     Modify /vp9/encoder/vp9_bitstream.c


     Modify /vp9/encoder/vp9_encodeframe.c


     Modify /vp9/encoder/vp9_encodemb.c


     Modify /vp9/encoder/vp9_pickmode.c


     Modify /vp9/encoder/vp9_rdopt.c



    Take out repeated block width/height lookup functions

    The functions b_width_log2 and b_height_log2 only do direct
    table fetch. This commit unifies such use cases by using the
    table directly and removes these functions.

    Change-Id : I3103fc6ba959c1182886a2799d21b8b77c8a7b6b

  • Copy frame specific properties (eg. width and height)

    5 août 2014, par gkuczera

    It’s not that something is not working, I just can’t figure out how to copy frame props (eg. height and width) after usage of sws_scale function - this function doesn’t copy them into the destination frame).

    Why I need this ? My frame after scaling is becoming the input for the filter, and it’s source props have to be specified to specific numbers, not like it accepts everything (so a frame with width and height equal to zero - which I get after scaling - is not an option).

    I tried to use

    av_frame_copy_props

    but even in this function’s description, they mentioned that it will not do this.

    Here is the code :

    AVFrame* tOwnersFrame = pOwner->getFrame();
    AVFrame* tResizedFrame = avcodec_alloc_frame();
    int tResizedFrameWidth = pMaxFrameWidth;
    int tResizedFrameHeight = pMaxFrameHeight;

    if (!tResizedFrame)
    {
       cout << "Couldn't allocate the frame!" << endl;
       return;
    }

    uint8_t* tBuffer;
    int tBytesNeeded;

    tBytesNeeded = avpicture_get_size(PIX_FMT_RGB24, tResizedFrameWidth, tResizedFrameHeight);
    tBuffer = (uint8_t*)av_malloc(tBytesNeeded * sizeof(uint8_t));
    avpicture_fill((AVPicture*)tResizedFrame, tBuffer, PIX_FMT_RGB24, tResizedFrameWidth, tResizedFrameHeight);

    mSwsContext = sws_getCachedContext(mSwsContext, pOwner->getFrameWidth(), pOwner->getFrameHeight(), AV_PIX_FMT_BGR24, tResizedFrameWidth, tResizedFrameHeight, PIX_FMT_RGB24, SWS_BILINEAR, NULL, NULL, NULL);
    sws_scale(mSwsContext, (const uint8_t* const *)tOwnersFrame->data, tOwnersFrame->linesize, 0, pOwner->getFrameHeight(), tResizedFrame->data, tResizedFrame->linesize);
    cout << "FramesMerger::resizeFrameMax - arg frame size: " << pOwner->getFrame()->width << ", " << pOwner->getFrame()->height << endl;
    cout << "FramesMerger::resizeFrameMax - resized frame size: " << tResizedFrame->width << ", " << tResizedFrame->height << endl;
  • Revision e956c00762 : Set and use uv_crop_[width|height] Ensure consistent border extension by roundi

    16 juillet 2014, par Johann

    Changed Paths :
     Modify /vpx_scale/generic/yv12config.c


     Modify /vpx_scale/generic/yv12extend.c



    Set and use uv_crop_width

    Ensure consistent border extension by rounding uv_crop_* at image
    creation time. Where it was rounded problems could arise with the right
    and bottom extensions.
    When padding = 32, y_width = 64, and y_crop_width = 63 :
    (padding + width - crop_width + 1) / 2
    32 + 64 - 63 + 1 should equal 32 *but*
    32 + 1 + 1 equals 34 giving a right buffer of 17 instead of 16.
    By calculating uv_crop_* earlier we round up at the appropriate time and
    for the same values :
    (y_crop_width + 1) / 2
    63 + 1 / 2
    64
    (padding / 2) + uv_width - uv_crop_width
    16 + 16 - 16
    16

    Change-Id : If866cd1b63444771440edb1432280ac83875969b