Searched defs:video (Results 1 - 25 of 43) 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.cpp18 #include "mp4dec_lib.h" /* video decoder function prototypes */
31 void ConcealTexture_I(VideoDecData *video, int32 startFirstPartition, int mb_start, int mb_stop, int slice_counter) argument
34 BitstreamDecVideo *stream = video->bitstream;
36 int intra_dc_vlc_thr = video->currVop->intraDCVlcThr;
40 video->usePrevQP = 0;
43 video->mbnum = mbnum;
44 video->mbnum_row = PV_GET_ROW(mbnum, video->nMBPerRow);
45 video->mbnum_col = mbnum - video
81 ConcealTexture_P(VideoDecData *video, int mb_start, int mb_stop, int slice_counter) argument
115 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 Dvop.cpp80 PV_STATUS DecodeVOLHeader(VideoDecData *video, int layer) argument
96 currVol = video->vol[layer];
252 video->shortVideoHeader = TRUE;
275 video->shortVideoHeader = 0;
406 video->displayWidth = video->width = (int) BitstreamReadBits16(stream, 13);
409 video->width = (video->width + 15) & -16;
410 // video->displayWidth += (video
802 DecodeVOPHeader(VideoDecData *video, Vop *currVop, Bool use_ext_timestamp) argument
1012 DecodeShortHeader(VideoDecData *video, Vop *currVop) argument
1523 PV_DecodeVop(VideoDecData *video) 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.cpp23 video = pointer to structure of type VideoDecData
35 video->currVop->yChan contents are the newly calculated luminance
37 video->currVop->uChan contents are the newly calculated chrominance
39 video->currVop->vChan contents are the newly calculated chrominance
41 video->pstprcTypCur contents are the updated semaphore propagation
117 video->mblock->pred_block, no adding with residue */
120 VideoDecData *video,
129 Vop *prev = video->prevVop;
132 int mbnum = video->mbnum;
135 int MB_in_width = video
119 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...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dheader.cpp27 AVCCommonObj *video = encvid->common; local
28 AVCSeqParamSet *seqParam = video->currSeqParams;
229 AVCCommonObj *video = encvid->common; local
231 AVCPicParamSet *picParam = video->currPicParams;
318 AVCCommonObj *video = encvid->common; local
319 AVCSliceHeader *sliceHdr = video->sliceHdr;
320 AVCPicParamSet *currPPS = video->currPicParams;
321 AVCSeqParamSet *currSPS = video->currSeqParams;
330 slice_type = video->slice_type;
332 if (video
506 ref_pic_list_reordering(AVCCommonObj *video, AVCEncBitstream *stream, AVCSliceHeader *sliceHdr, int slice_type) argument
587 dec_ref_pic_marking(AVCCommonObj *video, AVCEncBitstream *stream, AVCSliceHeader *sliceHdr) argument
650 AVCCommonObj *video = encvid->common; local
881 PostPOC(AVCCommonObj *video) argument
[all...]
H A Dinit.cpp29 AVCCommonObj *video = encvid->common; local
30 AVCSeqParamSet *seqParam = video->currSeqParams;
31 AVCPicParamSet *picParam = video->currPicParams;
32 AVCSliceHeader *sliceHdr = video->sliceHdr;
63 video->MaxPicOrderCntLsb = 1 << (extS->log2_max_pic_order_cnt_lsb_minus4 + 4);
64 video->PicWidthInMbs = extS->pic_width_in_mbs_minus1 + 1;
65 video->PicHeightInMapUnits = extS->pic_height_in_map_units_minus1 + 1 ;
66 video->FrameHeightInMbs = (2 - extS->frame_mbs_only_flag) * video->PicHeightInMapUnits ;
70 video
644 AVCCommonObj *video = encvid->common; local
707 AVCCommonObj *video = encvid->common; local
804 AVCCommonObj *video = encvid->common; local
[all...]
H A Davcenc_api.cpp61 AVCCommonObj *video; local
91 video = encvid->common;
102 video->currSeqParams = (AVCSeqParamSet*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCSeqParamSet), DEFAULT_ATTR);
103 if (video->currSeqParams == NULL)
109 video->currPicParams = (AVCPicParamSet*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCPicParamSet), DEFAULT_ATTR);
110 if (video->currPicParams == NULL)
116 video->sliceHdr = (AVCSliceHeader*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCSliceHeader), DEFAULT_ATTR);
117 if (video->sliceHdr == NULL)
123 video->decPicBuf = (AVCDecPicBuffer*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCDecPicBuffer), DEFAULT_ATTR);
124 if (video
279 AVCCommonObj *video = encvid->common; local
371 AVCCommonObj *video = encvid->common; local
553 AVCCommonObj *video = encvid->common; local
594 AVCCommonObj *video; local
[all...]
H A Dresidual.cpp23 AVCCommonObj *video = encvid->common; local
26 int x_position = (video->mb_x << 4);
27 int y_position = (video->mb_y << 4);
44 pDst = video->currPic->Sl + offset1;
45 offset = video->PicWidthInSamplesL - 16;
77 pDst = video->currPic->Scb + ((offset1 + x_position) >> 2);
111 pDst = video->currPic->Scr + ((offset1 + x_position) >> 2);
148 AVCCommonObj *video = encvid->common; local
241 nC = predict_nnz(video, bindx & 3, bindx >> 2);
245 nC = predict_nnz_chroma(video, bind
[all...]
/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Dfmo.cpp23 OSCL_EXPORT_REF AVCStatus FMOInit(AVCCommonObj *video) argument
25 AVCPicParamSet *currPPS = video->currPicParams;
26 int *MbToSliceGroupMap = video->MbToSliceGroupMap;
27 int PicSizeInMapUnits = video->PicSizeInMapUnits;
28 int PicWidthInMbs = video->PicWidthInMbs;
32 memset(video->MbToSliceGroupMap, 0, video->PicSizeInMapUnits*sizeof(uint));
48 FmoGenerateType3MapUnitMap(video, currPPS, MbToSliceGroupMap, PicWidthInMbs);
51 FmoGenerateType4MapUnitMap(MbToSliceGroupMap, video->MapUnitsInSliceGroup0, currPPS->slice_group_change_direction_flag, PicSizeInMapUnits);
54 FmoGenerateType5MapUnitMap(MbToSliceGroupMap, video, currPP
128 FmoGenerateType3MapUnitMap(AVCCommonObj *video, AVCPicParamSet* pps, int *mapUnitToSliceGroupMap, int PicWidthInMbs) argument
214 FmoGenerateType5MapUnitMap(int *mapUnitToSliceGroupMap, AVCCommonObj *video, int slice_group_change_direction_flag, uint PicSizeInMapUnits) argument
[all...]
H A Ddpb.cpp22 AVCStatus InitDPB(AVCHandle *avcHandle, AVCCommonObj *video, int FrameHeightInMbs, int PicWidthInMbs, bool padding) argument
24 AVCDecPicBuffer *dpb = video->decPicBuf;
31 level = video->currSeqParams->level_idc;
41 video->padded_size = (int)((((FrameHeightInMbs + 2) * (PicWidthInMbs + 2)) << 7) * 3) - framesize;
45 video->padded_size = 0;
63 if (video->currSeqParams->num_ref_frames + 1 > (uint32)dpb->num_fs)
65 dpb->num_fs = video->currSeqParams->num_ref_frames + 1;
68 dpb->dpb_size = dpb->num_fs * (framesize + video->padded_size);
99 video->RefPicList0[num_fs] = &(dpb->fs[num_fs]->frame);
101 dpb->used_size += (framesize + video
108 AVCConfigureSequence(AVCHandle *avcHandle, AVCCommonObj *video, bool padding) argument
205 CleanUpDPB(AVCHandle *avcHandle, AVCCommonObj *video) argument
232 DPBInitBuffer(AVCHandle *avcHandle, AVCCommonObj *video) argument
266 DPBInitPic(AVCCommonObj *video, int CurrPicNum) argument
316 DPBReleaseCurrentFrame(AVCHandle *avcHandle, AVCCommonObj *video) argument
341 StorePictureInDPB(AVCHandle *avcHandle, AVCCommonObj *video) argument
458 sliding_window_process(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb) argument
523 adaptive_memory_marking(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, AVCSliceHeader *sliceHdr) argument
567 MemMgrCtrlOp1(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, int difference_of_pic_nums_minus1) argument
606 MemMgrCtrlOp3(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint difference_of_pic_nums_minus1, uint long_term_frame_idx) argument
640 MemMgrCtrlOp4(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint max_long_term_frame_idx_plus1) argument
661 MemMgrCtrlOp5(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb) argument
678 MemMgrCtrlOp6(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint long_term_frame_idx) argument
[all...]
H A Dmb_access.cpp22 OSCL_EXPORT_REF void InitNeighborAvailability(AVCCommonObj *video, int mbNum) argument
24 int PicWidthInMbs = video->PicWidthInMbs;
27 video->mbAddrA = mbNum - 1;
28 video->mbAddrB = mbNum - PicWidthInMbs;
29 video->mbAddrC = mbNum - PicWidthInMbs + 1;
30 video->mbAddrD = mbNum - PicWidthInMbs - 1;
32 video->mbAvailA = video->mbAvailB = video->mbAvailC = video
68 predict_nnz(AVCCommonObj *video, int i, int j) argument
128 predict_nnz_chroma(AVCCommonObj *video, int i, int j) argument
186 GetMotionVectorPredictor(AVCCommonObj *video, int encFlag) argument
[all...]
H A Dreflist.cpp21 OSCL_EXPORT_REF void RefListInit(AVCCommonObj *video) argument
23 AVCSliceHeader *sliceHdr = video->sliceHdr;
24 AVCDecPicBuffer *dpb = video->decPicBuf;
25 int slice_type = video->slice_type;
34 video->refList0Size = 0;
35 video->refList1Size = 0;
47 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum;
71 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum;
78 video->RefPicList0[list0idx++] = &(dpb->fs[i]->frame);
85 video
139 ReOrderList(AVCCommonObj *video) argument
161 ReorderRefPicList(AVCCommonObj *video, int isL1) argument
254 ReorderShortTerm(AVCCommonObj *video, int picNumLX, int *refIdxLX, int isL1) argument
307 ReorderLongTerm(AVCCommonObj *video, int LongTermPicNum, int *refIdxLX, int isL1) argument
354 GetShortTermPic(AVCCommonObj *video, int picNum) argument
375 GetLongTermPic(AVCCommonObj *video, int LongtermPicNum) argument
[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...]

Completed in 231 milliseconds

12