Searched defs:video (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpacket_util.cpp28 PV_STATUS PV_ReadVideoPacketHeader(VideoDecData *video, int *next_MB) argument
31 Vol *currVol = video->vol[video->currLayer];
32 Vop *currVop = video->currVop;
33 BitstreamDecVideo *stream = video->bitstream;
36 int nbits = video->nBitsForMBID;
40 int nTotalMB = video->nTotalMB;
56 // if (*next_MB <= video->mbnum) /* needs more investigation */
57 // *next_MB = video->mbnum+1;
61 *next_MB = video
144 PV_GobHeader(VideoDecData *video) argument
194 PV_H263SliceHeader(VideoDecData *video, int *next_MB) argument
[all...]
H A Dconceal.cpp23 #include "mp4dec_lib.h" /* video decoder function prototypes */
36 void ConcealTexture_I(VideoDecData *video, int32 startFirstPartition, int mb_start, int mb_stop, int slice_counter) argument
39 BitstreamDecVideo *stream = video->bitstream;
41 int intra_dc_vlc_thr = video->currVop->intraDCVlcThr;
45 video->usePrevQP = 0;
48 video->mbnum = mbnum;
49 video->mbnum_row = PV_GET_ROW(mbnum, video->nMBPerRow);
50 video->mbnum_col = mbnum - video
86 ConcealTexture_P(VideoDecData *video, int mb_start, int mb_stop, int slice_counter) argument
120 ConcealPacket(VideoDecData *video, int mb_start, int mb_stop, int slice_counter) argument
[all...]
H A Dpost_filter.cpp32 VideoDecData *video,
42 int nTotalMB = video->nTotalMB;
46 uint8 *decodedFrame = video->videoDecControls->outputFrame;
50 width = video->width;
51 height = video->height;
62 if (PVGetDecBitrate(video->videoDecControls) > (100*video->frameRate*(size >> 12))) // MC_sofDeblock
68 QP_store = video->QPMB;
71 pp_mod = video->pstprcTypCur;
163 pp_mod = video
31 PostFilter( VideoDecData *video, int filter_type, uint8 *output) argument
[all...]
H A Dblock_idct.cpp222 void MBlockIDCT(VideoDecData *video) argument
224 Vop *currVop = video->currVop;
225 MacroBlock *mblock = video->mblock;
229 int x_pos = video->mbnum_col;
230 int y_pos = video->mbnum_row;
233 width = video->width;
H A Dcombined_decode.cpp18 #include "mp4dec_lib.h" /* video decoder function prototypes */
42 PV_STATUS DecodeFrameCombinedMode(VideoDecData *video) argument
46 Vop *currVop = video->currVop;
47 BitstreamDecVideo *stream = video->bitstream;
48 int shortVideoHeader = video->shortVideoHeader;
49 int16 QP, *QPMB = video->QPMB;
50 uint8 *Mode = video->headerInfo.Mode;
51 int nTotalMB = video->nTotalMB;
52 int nMBPerRow = video->nMBPerRow;
72 oscl_memset(video
345 GetMBheader(VideoDecData *video, int16 *QP) argument
526 GetMBData(VideoDecData *video) argument
[all...]
H A Ddatapart_decode.cpp39 PV_STATUS DecodeFrameDataPartMode(VideoDecData *video) argument
42 Vop *currVop = video->currVop;
43 BitstreamDecVideo *stream = video->bitstream;
45 int nMBPerRow = video->nMBPerRow;
49 int nTotalMB = video->nTotalMB;
61 oscl_memset(video->motX, 0, sizeof(MOT)*4*nTotalMB);
62 oscl_memset(video->motY, 0, sizeof(MOT)*4*nTotalMB);
73 // oscl_memset(video->sliceNo, 0, sizeof(uint8)*nTotalMB);
79 video->mbnum = mbnum;
80 video
138 DecodeDataPart_I_VideoPacket(VideoDecData *video, int slice_counter) argument
303 DecodeDataPart_P_VideoPacket(VideoDecData *video, int slice_counter) argument
516 GetMBheaderDataPart_DQUANT_DC(VideoDecData *video, int16 *QP) argument
574 GetMBheaderDataPart_P(VideoDecData *video) argument
618 GetMBData_DataPart(VideoDecData *video) argument
[all...]
H A Ddcac_prediction.cpp29 VideoDecData *video,
39 int mbnum = video->mbnum;
40 int nMBPerRow = video->nMBPerRow;
41 int x_pos = video->mbnum_col;
42 int y_pos = video->mbnum_row;
45 int16 *QP_store = video->QPMB + mbnum;
46 int QP = video->QPMB[mbnum];
50 uint8 *slice_nb = video->sliceNo;
51 typeDCStore *DC_store = video->predDC + mbnum;
52 typeDCACStore *DCAC_row = video
28 doDCACPrediction( VideoDecData *video, int comp, int16 *q_block, int *direction ) argument
206 doDCACPrediction_I( VideoDecData *video, int comp, int16 *q_block ) argument
[all...]
H A Dmb_motion_comp.cpp27 video = pointer to structure of type VideoDecData
39 video->currVop->yChan contents are the newly calculated luminance
41 video->currVop->uChan contents are the newly calculated chrominance
43 video->currVop->vChan contents are the newly calculated chrominance
45 video->pstprcTypCur contents are the updated semaphore propagation
121 video->mblock->pred_block, no adding with residue */
124 VideoDecData *video,
133 Vop *prev = video->prevVop;
136 int mbnum = video->mbnum;
139 int MB_in_width = video
123 MBMotionComp( VideoDecData *video, int CBP ) argument
[all...]
H A Dvlc_dequant.cpp53 VideoDecData *video = (VideoDecData*) vid; local
54 Vol *currVol = video->vol[video->currLayer];
55 BitstreamDecVideo *stream = video->bitstream;
56 int16 *datablock = video->mblock->block[comp]; /* 10/20/2000, assume it has been reset of all-zero !!!*/
57 int mbnum = video->mbnum;
58 uint CBP = video->headerInfo.CBP[mbnum];
59 int QP = video->QPMB[mbnum];
60 typeDCStore *DC = video->predDC + mbnum;
61 int x_pos = video
386 VideoDecData *video = (VideoDecData*) vid; local
502 VlcDequantH263IntraBlock(VideoDecData *video, int comp, int switched, uint8 *bitmapcol, uint8 *bitmaprow) argument
805 VlcDequantH263IntraBlock_SH(VideoDecData *video, int comp, uint8 *bitmapcol, uint8 *bitmaprow) argument
1066 VlcDequantH263InterBlock(VideoDecData *video, int comp, uint8 *bitmapcol, uint8 *bitmaprow) argument
[all...]
H A Dvop.cpp82 PV_STATUS DecodeVOLHeader(VideoDecData *video, int layer) argument
98 currVol = video->vol[layer];
258 video->shortVideoHeader = TRUE;
281 video->shortVideoHeader = 0;
412 video->displayWidth = video->width = (int) BitstreamReadBits16(stream, 13);
415 video->width = (video->width + 15) & -16;
416 // video->displayWidth += (video
808 DecodeVOPHeader(VideoDecData *video, Vop *currVop, Bool use_ext_timestamp) argument
1018 DecodeShortHeader(VideoDecData *video, Vop *currVop) argument
1535 PV_DecodeVop(VideoDecData *video) argument
[all...]
H A Dvlc_decode.cpp132 PV_STATUS PV_GetMBvectors(VideoDecData *video, uint mode) argument
135 BitstreamDecVideo *stream = video->bitstream;
136 int f_code_f = video->currVop->fcodeForward;
140 MOT *mot_x = video->motX;
141 MOT *mot_y = video->motY;
144 int x_pos = video->mbnum_col;
145 int y_pos = video->mbnum_row;
146 int doubleWidth = video->nMBPerRow << 1;
162 mv_prediction(video, k, &mvx, &mvy);
189 mv_prediction(video,
353 mv_prediction( VideoDecData *video, int block, MOT *mvx, MOT *mvy ) argument
[all...]
H A Dpvdec_api.cpp69 /* Purpose : Initialization of the MPEG-4 video decoder library. */
80 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local
96 video = IMEM_VideoDecData;
98 video = (VideoDecData *) oscl_malloc(sizeof(VideoDecData));
100 if (video != NULL)
102 oscl_memset(video, 0, sizeof(VideoDecData));
103 video->memoryUsage = sizeof(VideoDecData);
104 video->numberOfLayers = nLayers;
106 video->vol = (Vol **) IMEM_VOL;
113 video
308 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local
582 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local
610 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local
774 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local
780 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local
796 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local
812 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local
828 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local
852 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local
882 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local
896 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local
913 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local
1086 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local
1297 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local
1516 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local
1588 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local
1605 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local
1659 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local
1700 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddatapart_encode.cpp36 PV_STATUS EncodeFrameDataPartMode(VideoEncData *video) argument
39 Vol *currVol = video->vol[video->currLayer];
40 Vop *currVop = video->currVop;
41 VideoEncParams *encParams = video->encParams;
47 UChar *QPMB = video->QPMB;
51 BitstreamEncVideo *bs1 = video->bitstream1;
52 BitstreamEncVideo *bs2 = video->bitstream2;
53 BitstreamEncVideo *bs3 = video->bitstream3;
61 video
211 EncodeSliceDataPartMode(VideoEncData *video) argument
[all...]
H A Dvop.cpp28 PV_STATUS EncodeVop_BXRC(VideoEncData *video);
29 PV_STATUS EncodeVop_NoME(VideoEncData *video);
39 PV_STATUS EncodeVop(VideoEncData *video) argument
43 Int currLayer = video->currLayer;
44 Vol *currVol = video->vol[currLayer];
45 Vop *currVop = video->currVop;
46 // BitstreamEncVideo *stream=video->bitstream1;
47 UChar *Mode = video->headerInfo.Mode;
48 rateControl **rc = video->rc;
75 MotionEstimation(video); /* d
124 EncodeVop_NoME(VideoEncData *video) argument
192 EncodeSlice(VideoEncData *video) argument
309 EncodeVopNotCoded(VideoEncData *video, UChar *bstream, Int *size, ULong modTime) argument
504 EncodeVideoPacketHeader(VideoEncData *video, int MB_number, int quant_scale, Int insert) argument
[all...]
H A Dbitstream_io.cpp45 /* Purpose : Create a bitstream to hold one encoded video packet or frame */
320 /* Purpose : bit stuffing for next start code in short video header */
776 Void BitstreamSetOverrunBuffer(BitstreamEncVideo* stream, UChar* overrunBuffer, Int oBSize, VideoEncData *video) argument
780 stream->video = video;
789 VideoEncData *video = stream->video; local
801 if (video->overrunBuffer)
803 M4VENC_FREE(video->overrunBuffer);
805 video
[all...]
H A Dcombined_encode.cpp25 PV_STATUS EncodeGOBHeader(VideoEncData *video, Int GOB_number, Int quant_scale, Int bs1stream);
37 PV_STATUS EncodeFrameCombinedMode(VideoEncData *video) argument
40 Vol *currVol = video->vol[video->currLayer];
41 Vop *currVop = video->currVop;
42 VideoEncParams *encParams = video->encParams;
48 UChar *QPMB = video->QPMB;
53 BitstreamEncVideo *bs1 = video->bitstream1;
64 video->QP_prev = currVop->quantizer;
105 video
262 EncodeSliceCombinedMode(VideoEncData *video) argument
681 EncodeGOBHeader(VideoEncData *video, Int GOB_number, Int quant_scale, Int bs1stream) argument
[all...]
H A Dfastcodemb.cpp30 /* video Video encoder data structure */
36 /* video->outputMB Quantized DCT coefficients. */
50 PV_STATUS CodeMB_H263(VideoEncData *video, approxDCT *function, Int QP, Int ncoefblck[]) argument
52 Int sad, k, CBP, mbnum = video->mbnum;
54 UChar Mode = video->headerInfo.Mode[mbnum];
55 UChar *bitmapcol, *bitmaprow = video->bitmaprow;
57 UChar shortHeader = video->vol[video->currLayer]->shortVideoHeader;
73 Vop *currVop = video->currVop;
74 VideoEncFrameIO *inputFrame = video
279 CodeMB_MPEG(VideoEncData *video, approxDCT *function, Int QP, Int ncoefblck[]) argument
[all...]
H A Dfindhalfpel.cpp65 void FindHalfPelMB(VideoEncData *video, UChar *cur, MOT *mot, UChar *ncand, argument
76 Int h263_mode = video->encParams->H263_Enabled; /* 3/29/01 */
78 Int range = video->encParams->SearchRange;
79 Int lx = video->currVop->pitch;
80 Int width = video->currVop->width; /* padding */
81 Int height = video->vol[video->currLayer]->height;
83 video->functionPointer->SAD_MB_HalfPel;
84 void *extra_info = video->sad_extra_info;
89 cur = video
184 FindHalfPelBlk(VideoEncData *video, UChar *cur, MOT *mot, Int sad16, UChar *ncand8[], UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem) argument
[all...]
H A Drate_control.cpp26 void calculateQuantizer_Multipass(void *video);
27 void updateRateControl(rateControl *rc, VideoEncData *video);
28 void updateRC_PostProc(rateControl *rc, VideoEncData *video);
33 PV_STATUS RC_Initialize(void *video);
35 PV_STATUS RC_VopQPSetting(VideoEncData *video,rateControl *rc[]);
36 PV_STATUS RC_VopUpdateStat(VideoEncData *video,rateControl *rc[]);
37 PV_STATUS RC_UpdateBuffer(VideoEncData *video, Int currLayer, Int num_skip);
38 Int RC_GetSkipNextFrame(VideoEncData *video,Int currLayer);
39 void RC_ResetSkipNextFrame(void *video,Int currLayer);
52 VideoEncData *video local
183 RC_VopQPSetting(VideoEncData *video, rateControl *prc[]) argument
291 RC_VopUpdateStat(VideoEncData *video, rateControl *rc) argument
360 RC_GetSkipNextFrame(VideoEncData *video, Int currLayer) argument
365 RC_ResetSkipNextFrame(VideoEncData *video, Int currLayer) argument
383 RC_UpdateBuffer(VideoEncData *video, Int currLayer, Int num_skip) argument
418 VideoEncData *video = (VideoEncData *) input; local
531 VideoEncData *video = (VideoEncData *) input; local
701 VideoEncData *video = (VideoEncData *) input; local
808 updateRateControl(rateControl *rc, VideoEncData *video) argument
857 updateRC_PostProc(rateControl *rc, VideoEncData *video) argument
[all...]
H A Dmotion_comp.cpp90 /* Purpose : Get the motion compensate block into video->predictionMB */
91 /* and generate video->predictionErrorMB */
98 void getMotionCompensatedMB(VideoEncData *video, Int ind_x, Int ind_y, Int offset) argument
100 Vop *prevVop = video->forwardRefVop; //reference frame
101 Vop *currVop = video->currVop;
102 Int mbnum = video->mbnum; //mb index
103 MOT *mot = video->mot[mbnum];
108 Int mode = video->headerInfo.Mode[mbnum]; /* get mode */
116 round1 = (Int)(1 - video->currVop->roundingType);
126 c_rec = video
[all...]
H A Dmotion_est.cpp75 void MBMotionSearch(VideoEncData *video, UChar *cur, UChar *best_cand[],
78 Int fullsearch(VideoEncData *video, Vol *currVol, UChar *ref, UChar *cur,
80 Int fullsearchBlk(VideoEncData *video, Vol *currVol, UChar *cent, UChar *cur,
83 VideoEncData *video, Int type_pred);
91 void PrepareCurMB(VideoEncData *video, UChar *cur);
105 void HTFMPrepareCurMB(VideoEncData *video, HTFM_Stat *htfm_stat, UChar *cur);
136 void MotionEstimation(VideoEncData *video) argument
138 UChar use_4mv = video->encParams->MV8x8_Enabled;
139 Vol *currVol = video->vol[video
534 InitHTFM(VideoEncData *video, HTFM_Stat *htfm_stat, double *newvar, Int *collect) argument
619 UpdateHTFM(VideoEncData *video, double *newvar, double *exp_lamda, HTFM_Stat *htfm_stat) argument
674 HTFMPrepareCurMB(VideoEncData *video, HTFM_Stat *htfm_stat, UChar *cur) argument
739 PrepareCurMB(VideoEncData *video, UChar *cur) argument
770 MBMotionSearch(VideoEncData *video, UChar *cur, UChar *best_cand[], Int i0, Int j0, Int type_pred, Int FS_en, Int *hp_guess) argument
1179 fullsearch(VideoEncData *video, Vol *currVol, UChar *prev, UChar *cur, Int *imin, Int *jmin, Int ilow, Int ihigh, Int jlow, Int jhigh) argument
1266 fullsearchBlk(VideoEncData *video, Vol *currVol, UChar *cent, UChar *cur, Int *imin, Int *jmin, Int ilow, Int ihigh, Int jlow, Int jhigh, Int range) argument
1352 CandidateSelection(Int *mvx, Int *mvy, Int *num_can, Int imb, Int jmb, VideoEncData *video, Int type_pred) argument
[all...]
H A Dmp4enc_api.cpp138 Int DetermineCodingLayer(VideoEncData *video, Int *nLayer, ULong modTime);
139 void DetermineVopType(VideoEncData *video, Int currLayer);
140 Int UpdateSkipNextFrame(VideoEncData *video, ULong *modTime, Int *size, PV_STATUS status);
141 Bool SetProfile_BufferSize(VideoEncData *video, float delay, Int bInitialized);
200 VideoEncData *video; local
227 video = (VideoEncData *)M4VENC_MALLOC(sizeof(VideoEncData)); /* allocate memory for encData */
229 if (video == NULL)
232 M4VENC_MEMSET(video, 0, sizeof(VideoEncData));
234 encoderControl->videoEncoderData = (void *) video; /* set up pointer in VideoEncData structure */
236 video
1114 VideoEncData *video = (VideoEncData *)encoderControl->videoEncoderData; local
1356 VideoEncData *video = (VideoEncData *)encCtrl->videoEncoderData; local
1387 VideoEncData *video = (VideoEncData *)encCtrl->videoEncoderData; local
1680 VideoEncData *video = (VideoEncData *)encCtrl->videoEncoderData; local
1871 VideoEncData *video = (VideoEncData *)encCtrl->videoEncoderData; local
2077 VideoEncData* video; local
2434 VideoEncData *video = (VideoEncData *)encoderControl->videoEncoderData; local
2599 VideoEncData *video = (VideoEncData *)encoderControl->videoEncoderData; local
2620 DetermineCodingLayer(VideoEncData *video, Int *nLayer, ULong modTime) argument
2785 DetermineVopType(VideoEncData *video, Int currLayer) argument
2855 UpdateSkipNextFrame(VideoEncData *video, ULong *modTime, Int *size, PV_STATUS status) argument
2989 SetProfile_BufferSize(VideoEncData *video, float delay, Int bInitialized) argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp401 bool video = changedMask & LiveSession::STREAMTYPE_VIDEO; local
409 notify->setInt32("video", video);
H A DRTSPSource.cpp210 ALOGV("video track doesn't have enough data yet. (%.2f secs buffered)",
425 const bool video = false; local
432 source = getSource(video);
469 const bool video = false; local
472 if (sourceNearEOS(audio) || sourceNearEOS(video)) {
595 source = getSource(false /* video */);
781 bool isVideo = !strncasecmp(mime, "video/", 6);
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java197 public void addVideo(YouTubeVideo video) { argument
206 YouTubeVideo video; field in class:SafeSaxTest.HandlerFactory
220 video.videoId = body;
228 video.dateAdded = new Time(Time.TIMEZONE_UTC);
229 video.dateAdded.parse3339(body);
237 video.authorName = body;
247 if (video.thumbnailUrl == null && url.length() > 0) {
248 video.thumbnailUrl = url;
258 video.videoUrl = url;
268 video
354 YouTubeVideo video = null; field in class:SafeSaxTest.YouTubeContentHandler
[all...]

Completed in 330 milliseconds

12